<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Spoorthisetty on Medium]]></title>
        <description><![CDATA[Stories by Spoorthisetty on Medium]]></description>
        <link>https://medium.com/@spoorthisetty99?source=rss-aa356c0a0ec7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1BhXF_ynV8NnLfuFJ1oZPA.png</url>
            <title>Stories by Spoorthisetty on Medium</title>
            <link>https://medium.com/@spoorthisetty99?source=rss-aa356c0a0ec7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 06:03:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@spoorthisetty99/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[I stopped budgeting by the month. Now I get an allowance for every day.]]></title>
            <link>https://medium.com/@spoorthisetty99/i-stopped-budgeting-by-the-month-now-i-get-an-allowance-for-every-day-96d657c77b18?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/96d657c77b18</guid>
            <category><![CDATA[innovative]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[banks]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 16:04:20 GMT</pubDate>
            <atom:updated>2026-11-05T16:04:20.287Z</atom:updated>
            <content:encoded><![CDATA[<p>A monthly budget tells you what went wrong after it’s too late. By the time you notice, the month is gone and all you can ask is: where did my money go?</p><p>So I built a small app around a different number: how much I can spend today.</p><p>It takes your monthly income and splits it across the days. On ₹1,00,000, that’s about ₹3,333 a day. A ₹250 coffee and a ₹600 Blinkit order come off today’s number, which moves from green to yellow to red as it drains. Whatever you don’t spend makes tomorrow’s budget a little bigger.</p><p>One number is much easier to act on than a spreadsheet. You can check it before you order dinner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*fbqwOz7c5BBxiC3-p5sUrg.png" /></figure><p><em>The Today screen. All screenshots here use made-up sample data.</em></p><h3>What it does</h3><p>The Today screen shows what’s left for the day, and everything else supports that number.</p><ul><li><strong>Fixed costs are set aside first.</strong> Rent, SIPs and EMIs come out before the daily number is calculated, so paying rent doesn’t wreck one day.</li><li><strong>Unspent money rolls over.</strong> What’s left of the month is spread across the remaining days, so a bad Tuesday lowers the rest of the week a little.</li><li><strong>Big spends and money in have their own place.</strong> A large one-off purchase or a salary credit doesn’t distort your daily number.</li><li><strong>A nightly summary closes the day.</strong> For example: “You spent ₹4,200 vs your ₹3,333 budget, ₹867 over. Tomorrow’s budget drops to ₹3,290.”</li><li><strong>Month and Insights views show the patterns.</strong> You get a calendar of good and bad days, spending by category, top merchants, spending trends, and subscriptions it detects from repeat charges.</li><li><strong>Balances and investments live alongside.</strong> It shows the total across your bank accounts, plus a simple record of stocks, FDs, mutual funds, bonds and PF.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*tzTb-ma3YiMz1M33AJ2muw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*t3u09H4hDhw6SZmyDm---Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*hN9fXT-ICf4RlN30kgDPxg.png" /></figure><h3>The rule I started with: no bank connection</h3><p>I didn’t want to link my bank accounts or hand my banking details to an app. That one rule shaped the whole design.</p><p>The good news is that your bank already tells you about every transaction. So the app reads the alert text instead:</p><ol><li>A bank SMS arrives, saying something like “Sent Rs.350 to Ravi Stores”.</li><li>You paste it into the app, or a phone automation forwards it automatically.</li><li>The parser pulls out the amount, merchant, date and direction, and guesses a category (Zepto goes to Groceries, Netflix to Subscriptions).</li><li>Today’s number updates, and if the alert names an account you’ve added, that account’s balance updates too.</li></ol><p>Real alerts turned out to be messier than I expected, and most of the work went into handling them:</p><ul><li><strong>Banks word things differently.</strong> One says “Sent Rs.”, another says “debited”, a card alert says “spent”.</li><li><strong>Moving money between your own accounts isn’t spending.</strong> The same UPI reference appearing as both a debit and a credit marks it as a transfer.</li><li><strong>Paying a credit card bill isn’t spending either.</strong> You already counted those purchases when you made them, so the bill stays out of the daily budget.</li><li><strong>The same alert can arrive twice.</strong> Each message and each balance change is counted only once.</li></ul><p>On Android, the free MacroDroid app can forward alerts in the background. On iPhone, a Shortcuts automation does the same. Either way you get a notification like “−₹350 · Ravi Stores / ₹2,983 left today” without opening anything.</p><h3>Try it yourself</h3><p>The code is public, and you can run your own copy in a few minutes.</p><ul><li><strong>GitHub:</strong> <a href="https://github.com/spoorthisetty99/daily-budget">github.com/spoorthisetty99/daily-budget</a></li><li><strong>Live app:</strong> <a href="https://spoorthi.pythonanywhere.com/">spoorthi.pythonanywhere.com</a></li></ul><p>The live app is my private instance, so you’ll see a login page rather than a demo. To try it properly, clone the repo, run python server.py, and use <strong>Settings → Load demo data</strong> to fill it with about 40 days of sample spends. The README covers free hosting and the phone automations.</p><p>If you try it, tell me how your bank words its alerts. Every new format makes the parser better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96d657c77b18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Healthcare with AI: The Papers Are Full of Foundation Models.]]></title>
            <link>https://medium.com/@spoorthisetty99/healthcare-with-ai-the-papers-are-full-of-foundation-models-a0f181345320?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0f181345320</guid>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[product]]></category>
            <category><![CDATA[ml-in-healthcare]]></category>
            <category><![CDATA[mls]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Thu, 10 Sep 2026 09:00:22 GMT</pubDate>
            <atom:updated>2026-09-10T09:00:22.600Z</atom:updated>
            <content:encoded><![CDATA[<h3>Healthcare with AI: The Papers Are Full of Foundation Models. The Products Are Full of Gradient Boosting.</h3><p>If you follow AI research, healthcare looks like one of the field’s biggest success stories. In the last few years alone, researchers have built foundation models that read chest X-rays without ever being told what disease they’re looking at, retinal models that predict cardiovascular risk from a photo of your eye, language models that pass medical licensing exams, and reinforcement-learning agents that in theory could learn how to sequence a patient’s care.</p><p>And yet, walk into the actual pipeline of a deployed clinical AI product — the thing making a risk score appear in a doctor’s EHR, or flagging a scan for review — and there’s a good chance the model underneath is a gradient-boosted tree. LightGBM, XGBoost, random forests, or plain old logistic regression. Not a transformer. Not a foundation model. Not even, in a lot of cases, a neural network.</p><p>This isn’t an accident or a sign that hospitals haven’t gotten the memo. It’s a fairly rational, well-documented gap between what research can do and what industry can afford to run, explain, and get approved. Here’s the evidence for both halves of that claim.</p><h3>What the research frontier actually looks like</h3><p>Research in medical AI has moved well past “train a CNN to classify an image.” A few representative milestones:</p><ul><li><strong>Self-supervised foundation models.</strong> CheXzero showed that a model could learn to detect pathologies in chest X-rays using only image–text pairs, without hand-labeled disease categories — pretraining on unannotated data instead of expensive expert labels (<a href="https://www.nature.com/articles/s41551-022-00936-9">Tiu et al., <em>Nature Biomedical Engineering</em>, 2022</a>). RETFound extended the same idea to retinal images, pretraining on nearly a million unlabeled scans and then transferring to multiple ocular and systemic disease detection tasks (<a href="https://doi.org/10.1038/s41586-023-06555-x">Zhou et al., <em>Nature</em>, 2023</a>).</li><li><strong>Medical LLMs.</strong> Google’s Med-PaLM demonstrated strong performance on medical licensing-style questions, encoding a meaningful amount of clinical knowledge in a general-purpose language model (<a href="https://pubmed.ncbi.nlm.nih.gov/37438534/">Singhal et al., <em>Nature</em>, 2023</a>).</li><li><strong>Federated learning across hospitals.</strong> The EXAM study trained a model across 20 institutions to predict oxygen needs in COVID-19 patients from chest X-rays and EHR data — without any single hospital’s raw patient data leaving its walls (<a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC8481125/">Dayan et al., <em>Nature Medicine</em>, 2021</a>).</li><li><strong>Causal ML and offline reinforcement learning</strong> for sequencing treatment decisions are active, well-funded research areas, alongside graph neural networks for modeling relationships between patients, labs, and conditions.</li></ul><p>This is genuinely advanced work, on par with anything happening in AI more broadly. So why doesn’t it show up in the products people actually use?</p><h3>What’s actually running in production</h3><p>Look at the numbers instead of the papers, and a very different picture appears.</p><p>The FDA’s own list of AI-enabled medical devices — the closest thing to a ground-truth inventory of what’s cleared for clinical use in the US — had reached roughly 1,451 devices by the end of 2025. About 76% of them are in radiology, and the FDA’s list documentation itself notes that most authorized devices still run “narrow machine-learned algorithms trained on medical data” rather than generative or foundation-model systems, which the agency is only now starting to tag separately (<a href="https://www.fda.gov/medical-devices/software-medical-device-samd/artificial-intelligence-enabled-medical-devices">FDA AI-Enabled Medical Devices list</a>; <a href="https://intuitionlabs.ai/articles/fda-ai-medical-device-tracker">tracker analysis, IntuitionLabs</a>).</p><p>Zoom into hospitals specifically, and a 2024 Health Affairs study of predictive-model use across US hospitals found that most deployed models were built by the hospital’s own EHR vendor (56.9%), used mainly to predict general patient trajectories — and, more tellingly, that 47.4% of hospitals reported no evaluation of model accuracy at all, and 51.4% reported no evaluation of bias (<a href="https://www.healthaffairs.org/doi/10.1377/hlthaff.2024.00842">Health Affairs, 2024</a>; <a href="https://www.nature.com/articles/s44360-025-00016-7">summary, <em>Nature Health</em></a>). Whatever these models are, most hospitals aren’t running rigorous validation on them — which alone tells you something about how much appetite there is for swapping in a harder-to-audit deep learning system.</p><p><strong>And the gap between “published” and “deployed” isn’t subtle</strong>. A 2025 scoping review of 444 deep learning papers in otolaryngology found that 99.3% never advanced past an in-silico proof-of-concept, and exactly zero reached validation in actual clinical care (<a href="https://www.nature.com/articles/s41746-025-01693-0">npj Digital Medicine, 2025</a>). That’s not one field being unusually behind — it’s a pattern researchers now describe as the “AI chasm,” and it shows up across specialties.</p><h3>So, is this actually surprising?</h3><p>It’s surprising if your only exposure to healthcare AI is the research literature — where the frontier really is moving toward foundation models, causal inference, and federated learning. It’s much less surprising once you look at what clinical deployment actually demands: structured tabular data (where trees already win), tight compute and latency budgets, and a regulatory and clinical culture that prizes explainability over marginal accuracy gains.</p><p>None of this means the frontier work is wasted. Self-supervised pretraining, foundation models, and causal ML are how the next generation of clinical tools will eventually get built — but “eventually” is doing a lot of work in that sentence. For now, the honest state of the field is two speeds running in parallel: a research community racing toward multimodal, self-supervised, causally-aware systems, and an industry that has, for good reasons, not yet found it worth leaving LightGBM behind.</p><h3>References</h3><ol><li>Tiu, E. et al. “Expert-level detection of pathologies from unannotated chest X-ray images via self-supervised learning.” <em>Nature Biomedical Engineering</em>, 2022. <a href="https://www.nature.com/articles/s41551-022-00936-9">https://www.nature.com/articles/s41551-022-00936-9</a></li><li>Zhou, Y. et al. “A foundation model for generalizable disease detection from retinal images.” <em>Nature</em>, 2023. <a href="https://doi.org/10.1038/s41586-023-06555-x">https://doi.org/10.1038/s41586-023-06555-x</a></li><li>Singhal, K. et al. “Large language models encode clinical knowledge.” <em>Nature</em>, 2023. <a href="https://pubmed.ncbi.nlm.nih.gov/37438534/">https://pubmed.ncbi.nlm.nih.gov/37438534/</a></li><li>Dayan, I. et al. “Federated learning for predicting clinical outcomes in patients with COVID-19.” <em>Nature Medicine</em>, 2021. <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC8481125/">https://pmc.ncbi.nlm.nih.gov/articles/PMC8481125/</a></li><li>US Food and Drug Administration. “Artificial Intelligence-Enabled Medical Devices.” 2026. <a href="https://www.fda.gov/medical-devices/software-medical-device-samd/artificial-intelligence-enabled-medical-devices">https://www.fda.gov/medical-devices/software-medical-device-samd/artificial-intelligence-enabled-medical-devices</a></li><li>“FDA’s AI Medical Device List: Stats, Trends &amp; Regulation.” IntuitionLabs, 2026. <a href="https://intuitionlabs.ai/articles/fda-ai-medical-device-tracker">https://intuitionlabs.ai/articles/fda-ai-medical-device-tracker</a></li><li>“Current Use and Evaluation of Artificial Intelligence and Predictive Models in US Hospitals.” <em>Health Affairs</em>, 2024. <a href="https://www.healthaffairs.org/doi/10.1377/hlthaff.2024.00842">https://www.healthaffairs.org/doi/10.1377/hlthaff.2024.00842</a></li><li>“The landscape of AI implementation in US hospitals.” <em>Nature Health</em>, 2025. <a href="https://www.nature.com/articles/s44360-025-00016-7">https://www.nature.com/articles/s44360-025-00016-7</a></li><li>“Scoping review of deep learning research illuminates artificial intelligence chasm in otolaryngology-head and neck surgery.” <em>npj Digital Medicine</em>, 2025. <a href="https://www.nature.com/articles/s41746-025-01693-0">https://www.nature.com/articles/s41746-025-01693-0</a></li><li>Shwartz-Ziv, R. &amp; Armon, A. “Tabular Data: Deep Learning is Not All You Need.” <em>Information Fusion</em>, 2021 (arXiv:2106.03253). <a href="https://arxiv.org/abs/2106.03253">https://arxiv.org/abs/2106.03253</a></li><li>Grinsztajn, L., Oyallon, E. &amp; Varoquaux, G. “Why do tree-based models still outperform deep learning on tabular data?” NeurIPS 2022 (Datasets &amp; Benchmarks). <a href="https://arxiv.org/abs/2207.08815">https://arxiv.org/abs/2207.08815</a></li><li>Christodoulou, E. et al. “A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models.” <em>Journal of Clinical Epidemiology</em>, 2019. <a href="https://pubmed.ncbi.nlm.nih.gov/30763612/">https://pubmed.ncbi.nlm.nih.gov/30763612/</a></li><li>“AI for Regulatory Affairs: Balancing Accuracy, Interpretability, and Computational Cost in Medical Device Classification.” arXiv, 2025. <a href="https://arxiv.org/html/2505.18695v1">https://arxiv.org/html/2505.18695v1</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0f181345320" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[One Cluster, Two Services: KIND + NGINX Ingress, Explained]]></title>
            <link>https://medium.com/@spoorthisetty99/one-cluster-two-services-kind-nginx-ingress-explainedwhy-kind-e04a14da7ab6?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e04a14da7ab6</guid>
            <category><![CDATA[k82]]></category>
            <category><![CDATA[nginx-ingress]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 14:35:54 GMT</pubDate>
            <atom:updated>2026-07-21T14:36:17.646Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u3DK8PMT5Ua-qQpyVd4gpg.png" /></figure><h3>Why KIND?</h3><p><strong>KIND (Kubernetes IN Docker)</strong> is a tool that provisions Kubernetes clusters using Docker containers as nodes rather than VMs or cloud providers, so you can develop and test multi-service applications — frontend, backend, ingress, and more — on your local machine as fast as possible.</p><p>Everything you’d normally deploy as a set of VMs can instead run inside Docker containers that Kubernetes treats as nodes — that’s the whole point of KIND. Run kind create cluster and you get a real control plane and a real worker node ready to schedule pods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y_R8_-x7bl-3CHqStfhIQg.png" /></figure><h3>Getting traffic to the cluster</h3><p>The tricky part about running Kubernetes inside Docker is that your application pods run inside a Docker container, on a Docker network, on your laptop — so your browser can’t reach them directly.</p><p>KIND solves this with an <strong>extra port mapping</strong> on the node container, which proxies traffic from localhost to whatever is listening on that port inside the node.</p><blockquote><em>This is the only part of KIND’s networking that needs special configuration. Usually it’s just a few lines under </em><em>extraPortMappings and </em><em>extraMounts in the cluster&#39;s YAML manifest, plus launching the node with </em><em>role: control-plane and the labels the ingress controller needs to bind to.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vbO6oUaKUygBpgTV9eBymg.png" /></figure><h3>How nginx ingress routes requests to frontend and backend</h3><p>From here it’s standard Kubernetes ingress behavior. The <strong>ingress controller</strong> reads the Ingress resource you define and routes incoming requests to specific services based on it. Since this app is simple, routing is path-based:</p><ul><li>/api/* → <strong>backend service</strong></li><li>everything else → <strong>frontend service</strong></li></ul><p>Each service then load-balances traffic across its own pods.</p><blockquote><strong><em>This is the most important idea to land in the article:</em></strong><em> the ingress controller is the </em>only<em> component with a connection to the outside world. Everything else — services, pods — stays inside the cluster. nginx-ingress acts as a </em><strong><em>“traffic cop”</em></strong><em> with one foot outside the cluster, routing requests according to the rules in the </em><em>Ingress resource.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H7wz9IJ3Ea92k3m8i8K-Rw.png" /></figure><h3>Getting your Docker images into the cluster and running them as pods</h3><p>KIND has one notable limitation: it can’t use images built locally on the same machine without an extra step. Images need to be loaded into the cluster’s node — via kind load docker-image — before the manifests that reference them are applied. Once loaded, kubectl apply creates the Deployments, Services, and Ingress that bring the app up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MlNjrTVpxJsP1fobV-ePyw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e04a14da7ab6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vectors vs. Embeddings: The Idea Behind Almost Every Modern AI System]]></title>
            <link>https://medium.com/@spoorthisetty99/vectors-vs-embeddings-the-idea-behind-almost-every-modern-ai-system-3c6465d35639?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c6465d35639</guid>
            <category><![CDATA[vector-embeddings]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[mls]]></category>
            <category><![CDATA[vector]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Thu, 02 Jul 2026 06:41:57 GMT</pubDate>
            <atom:updated>2026-07-02T06:41:57.491Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cUkbou__Wq22pNU8Y5bIsw.png" /></figure><p>If you’ve spent any time around machine learning, you’ve heard “embedding” thrown around constantly — word embeddings, image embeddings, embedding models, vector databases. It sounds abstract. It isn’t. Once you see the mechanism, it’s one of the more intuitive ideas in ML.</p><h3>1. A vector is just numbers. An embedding is numbers that mean something.</h3><p>A <strong>vector</strong> is simply an ordered list of numbers — [3, 7, 2]. On its own, it&#39;s neutral. It could represent a sales figure, an RGB color, a coin-toss sequence. Nothing about the numbers themselves carries meaning.</p><p>A <strong>vector embedding</strong> is a special case: a vector whose <em>position in space</em> is learned so that similarity in meaning becomes similarity in location. Words used in similar contexts end up near each other. Nobody assigns these coordinates by hand — a model learns them from data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F2VPOMMBwY6poZ12bLKLng.png" /></figure><p>So every embedding is a vector, but not every vector is an embedding. The difference is: <em>did something learn this position on purpose?</em></p><h3>2. How do the numbers actually get assigned?</h3><p>Here’s the short version, using a tiny example.</p><p>Say your vocabulary has six words: cat, dog, tiger, apple, orange, mango. Each starts with a <strong>random</strong> vector — say, 4 numbers per word, meaning nothing yet.</p><p>You train a model (like Word2Vec) on real sentences. Every time it sees “cat” and “dog” appear near each other, it nudges their vectors slightly closer, using backpropagation and gradient descent — the same mechanism used to train any neural network. Do this across millions of sentences, and a pattern emerges purely from co-occurrence statistics: animals cluster near animals, fruits cluster near fruits, with no one ever labeling “this is an animal.”</p><blockquote>Before training <br>cat [0.21, -0.44, …] <br>dog [-0.55, 0.31, …] <br>apple [-0.90, 0.71, …]</blockquote><blockquote>After training:<br>cat [1.02, -0.63, …]<br>dog [0.96, -0.60, …]<br>apple [-2.20, 1.92, …]</blockquote><p>→ cat ≈ dog (both animals)<br>→ cat is far from apple</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GSeDPFAMbGwTJa_-fLSMHQ.png" /></figure><p>Mechanically, the embedding is just one row of a big trainable matrix. The word gets turned into a one-hot vector, that’s multiplied against the embedding matrix (which just selects its row), and that row is what gets updated during training. It’s a lookup table that gradually becomes meaningful.</p><h3>3. Dimensions — who decides, and why does it matter?</h3><p>The number of dimensions (4 in the toy example above; 300, 768, or 3072+ in real systems) is a <strong>design choice</strong>, picked by whoever builds the model — not something the data decides automatically.</p><p>Think of each dimension as a “trait” the model can use to tell words apart. With only 2 dimensions, there’s barely enough room to separate <em>king</em> from <em>queen</em> from <em>man</em> from <em>woman</em> — they’ll crowd together. With hundreds of dimensions, the model has enough room to encode gender, royalty, tense, sentiment, topic, and dozens of other subtle features simultaneously — famously enabling arithmetic like king − man + woman ≈ queen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n0U0LkKrB9gfPF7v7JQtpg.png" /></figure><p>The tradeoff:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*hohyQI7c8pv3muYI_lbsrw.png" /><figcaption>More dimensions isn’t free — it’s a deliberate cost/benefit call, same as choosing image resolution or model size.</figcaption></figure><h3>4. Skip-gram: the training trick that makes it all work</h3><p><strong>Skip-gram</strong> is one of the two original Word2Vec training methods. The idea: take a <strong>center word</strong> and train the model to predict the words around it.</p><p>Take the sentence <em>“the quick brown fox jumps over the lazy dog”</em>, with <strong>fox</strong> as the center word and a window size of 2. The model is trained on pairs: (fox → quick), (fox → brown), (fox → jumps), (fox → over). Do this across a huge corpus, and words that keep showing up in similar contexts are forced into similar vectors — because the network reuses similar internal representations to predict similar surrounding words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eFQMNQU8u3IO_XmUOSyFHQ.png" /></figure><p>Its sibling method, <strong>CBOW (Continuous Bag of Words)</strong>, runs the same idea backward: it looks at the <em>context</em> words and tries to predict the missing <em>center</em> word.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*6zjZF2m4A_to9hP8nIj6FQ.png" /></figure><p>Beyond Word2Vec, a few other approaches are worth knowing:</p><ul><li><strong>GloVe</strong> — instead of local windows, uses global co-occurrence statistics across the entire corpus. Often stronger on broad relationships.</li><li><strong>FastText</strong> — breaks words into character n-grams, so it can generate reasonable embeddings for misspellings or words it’s never seen, and works well for morphologically rich languages.</li><li><strong>Transformer-based embeddings</strong> (BERT, GPT-family, etc.) — today’s standard. Unlike Word2Vec/GloVe, these are <em>contextual</em>: “bank” gets a different vector in “river bank” versus “bank account,” computed fresh from surrounding words each time rather than looked up from a fixed table.</li></ul><h3>5. Does this work for images too?</h3><p>Yes — same underlying trick, different raw signal.</p><p>A <strong>word embedding model</strong> learns from co-occurrence patterns in text. An <strong>image embedding model</strong> (a CNN like ResNet, or a vision transformer like ViT) learns from pixel patterns — edges, textures, shapes — layer by layer, until the final layer outputs a vector where visually and semantically similar images land close together.</p><p>Go one step further, and models like <strong>CLIP</strong> put <em>images and text into the same shared space</em> — so the vector for a photo of a dog and the vector for the word “dog” end up near each other. That’s the mechanism behind modern text-to-image search and generation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mNO_UgFXl9exl6aGQO702A.png" /></figure><p>Words, images, audio, products, even users — different raw formats, but the same core move: feed it through a trained neural network, get back a vector, and make sure “similar meaning” lands as “nearby coordinates.”</p><h3>The takeaway</h3><p>An embedding isn’t magic — it’s a lookup table that starts random and gets nudged, prediction by prediction, until distance in space starts to mean something. Once you see that mechanism, embeddings, skip-gram, and even things like CLIP stop feeling like separate concepts and start looking like the same idea, applied over and over to different kinds of data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c6465d35639" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Asked Ollama, Cohere, and Claude the Same Question About My Data. Only One Didn’t Lie.]]></title>
            <link>https://medium.com/@spoorthisetty99/i-asked-ollama-cohere-and-claude-the-same-question-about-my-data-only-one-didnt-lie-568eed939f55?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/568eed939f55</guid>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[cohere]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Thu, 21 May 2026 06:38:53 GMT</pubDate>
            <atom:updated>2026-05-21T06:38:53.658Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A cost-vs-capability tale of three RAG systems, one credit bureau dataset, and the painful realization that “free” is sometimes a polite word for “fiction.”</em></p><p>I had a perfectly reasonable Saturday project: build a RAG system over a credit bureau dataset (~276k business records, 59 columns of joy) and ask it boring analyst questions like <em>“which businesses have high credit scores and low debt?”</em></p><p>I built it three times. Once with <strong>Ollama + Llama 3.2</strong> (free, local, vibes-based). Once with <strong>Cohere’s command-r-plus</strong> (free tier, hosted). Once with the <strong>Claude API</strong> (paid, not free, my wallet noticed).</p><p>Same data. Same questions. Three completely different personalities. Let me roast them.</p><h3>The Dataset (so you know what we’re working with)</h3><p>The CSV has — 276,271 rows, 59 columns of business credit data. Here&#39;s what the first few rows look like (trimmed to the columns and rows that matter):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*o5z67cuagAg5tZYW4c8gTw.png" /></figure><p>Notice anything? Negative revenue. A 789 credit score with risk profile “Low” sitting next to a 775 credit score with risk profile “Very_High.” The columns don’t always agree with themselves. This is real-world data — it’s noisy, contradictory, and exactly the kind of mess where you find out whether your LLM is actually <em>reading</em> it or just making things up.</p><p>Spoiler: only one of them was reading it.</p><h3>Round 1: Ollama (Llama 3.2, local, $0)</h3><p>I asked: <em>“Which businesses have high risk ratings?”</em></p><p>Llama 3.2 confidently returned a beautiful markdown table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*3u5fQxvCQexQ1UaVXDHTVw.png" /></figure><p>There is exactly one problem with this answer. <strong>None of these businesses exist.</strong> My actual business IDs are BIZ00000001 and friends. &quot;Business A&quot; is what a model invents when it has no idea what&#39;s in your data but wants to seem helpful.</p><p>It also wrote a SELECT statement against a table called business_data that doesn&#39;t exist, then pretended to execute it, then analyzed the fake results. It&#39;s the LLM equivalent of a confident intern who didn&#39;t read the brief but is great at PowerPoint.</p><p><strong>Verdict:</strong> Free as in beer, free as in facts.</p><h3>Round 2: Cohere command-r-plus (free tier, hosted)</h3><p>Cohere actually read my CSV. Progress!</p><p>I asked: <em>“Find businesses with excellent credit worthiness scores and low risk.”</em></p><p>It returned: <strong>Acme Holdings 1, credit score 774, risk profile: Very_High.</strong></p><p>So… a real record. From my actual data. With a credit score that is genuinely high. And a risk profile that is the literal opposite of what I asked for. Cohere is the friend who shows up to your dinner party with groceries, but they’re all expired.</p><p>The retrieval works — it’s grounded in real rows — but the semantic layer is shallow. Ask for “excellent creditworthiness” and you get <em>anything with the word “credit” embedded nearby</em>. Ask for “highest revenue” and it returns one row. Not the top 10. <strong>One.</strong> Like a sommelier handing you a single grape.</p><p><strong>Verdict:</strong> Real data, wrong vibes. Better than hallucination, worse than analysis.</p><h3>Round 3: Claude API (paid, sigh)</h3><p>Same vibe of question, escalated: <em>“Identify businesses with largest drops in credit score between previous and current month. Top 20, generate a chart.”</em></p><p>Claude:</p><ol><li>Joined the relevant datasets</li><li>Computed deltas</li><li>Ranked them</li><li>Generated a waterfall chart <strong>as a PNG file</strong></li><li>Wrote actual risk commentary about what credit drops of 170+ points imply</li></ol><p>That’s not retrieval. That’s <em>analysis</em>. The difference is that Claude treated the CSVs as a workspace to compute in, not a haystack to grep through.</p><p>(Caveat for honesty: verify the IDs in Claude’s output match your actual data before you ship anything important — trust but verify, even when you’re paying.)</p><p><strong>Verdict:</strong> Worth the API bill if the question requires more than a LIKE &#39;%credit%&#39;.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*B65vxYtuMrQ7srDLousEEQ.png" /></figure><h3>My Take</h3><p><strong>Free is fine until correctness matters.</strong> Ollama is brilliant for offline experimentation, learning RAG architecture, and tasks where being wrong is funny instead of expensive. Cohere is a solid middle ground for semantic search — if your question is “find me records like X,” it’ll do that. But anything requiring the model to <em>reason across rows</em> — joins, deltas, rankings, charts — and you need a frontier model with tool use.</p><p>Pick Ollama when you’re <strong>learning</strong>. Pick Cohere when you’re <strong>searching</strong>. Pick Claude when you’re <strong>analyzing</strong>.</p><p>And whichever you pick: <strong>read the outputs before you trust them.</strong> All three of mine got something wrong on the first try. The expensive one just got it less wrong.</p><p><em>Mistakes are on me. Hallucinations are on Llama.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=568eed939f55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before You Pay for GPT: Try These Free LLM APIs First]]></title>
            <link>https://medium.com/@spoorthisetty99/before-you-pay-for-gpt-try-these-free-llm-apis-first-d048de1e6d47?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d048de1e6d47</guid>
            <category><![CDATA[api]]></category>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[cohere]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Mon, 04 May 2026 10:12:58 GMT</pubDate>
            <atom:updated>2026-05-04T10:12:58.237Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve started building with LLMs recently, you’ve probably realized one thing pretty quickly: API costs add up <br> That’s where “free” or developer-friendly options like Cohere, Ollama, and OpenRouter come in.</p><p>Each of them solves a slightly different problem, and honestly, choosing between them isn’t about “which is best” — it’s about <em>what you’re trying to build</em>.</p><h4>Cohere — clean, simple, and very developer-friendly</h4><blockquote><a href="https://cohere.com/"><strong>https://cohere.com/</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/229/1*iQSAvMA4Iag3wD7lq47pGA.png" /></figure><p>Think of Cohere as that tool you reach for when you just want things to <em>work</em> without overthinking.</p><ul><li>You get a <strong>generous free tier</strong></li><li>Their APIs are super straightforward</li><li>Great for <strong>NLP-heavy tasks</strong> (classification, embeddings, summarization)</li></ul><p>Where it really shines:</p><ul><li>Building <strong>semantic search</strong></li><li>Creating <strong>embeddings for ML pipelines</strong></li><li>Lightweight <strong>chatbots or assistants</strong></li></ul><p>Why people like it:<br> Cohere feels less “bloated” compared to bigger ecosystems. You don’t get overwhelmed with 50 model choices — just solid, reliable ones that do the job well.</p><p>Where it falls short:</p><ul><li>Not always the strongest for cutting-edge reasoning compared to frontier models</li><li>Less flexibility than something like OpenRouter</li></ul><p>—<em> If you’re building something structured (search, clustering, text analysis), Cohere is honestly a great starting point.</em></p><h3>Ollama — your local, privacy-first powerhouse</h3><blockquote><a href="https://ollama.com/"><strong>https://ollama.com/</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*vF_c9OowLxWVHovH7UHpIA.png" /></figure><p>Ollama is a completely different vibe.</p><p>Instead of calling an API, you run models <strong>locally on your machine</strong>.</p><ul><li>No API cost</li><li>No data leaving your system</li><li>Works offline</li></ul><p>Where it shines:</p><ul><li><strong>Privacy-sensitive projects</strong></li><li>Running models like LLaMA, Mistral locally</li><li>Prototyping without worrying about tokens or billing</li></ul><p>Why people love it:<br> You feel <em>in control</em>. No rate limits, no surprise bills, no latency from external servers.</p><p>But here’s the catch:</p><ul><li>You need <strong>decent hardware</strong> (GPU helps a lot)</li><li>Setup can be a bit annoying initially</li><li>Performance depends on your machine</li></ul><p>—<em> If you’re experimenting, building something personal, or dealing with sensitive data — Ollama is insanely useful.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*BOXPqwU8ud-LHl3vQ60Izw.png" /></figure><h3>OpenRouter — the “meta API” for LLMs</h3><blockquote><a href="https://openrouter.ai/"><strong>https://openrouter.ai/</strong></a></blockquote><p>OpenRouter is like a <strong>universal remote for LLMs</strong>.</p><p>Instead of committing to one provider, you get access to <strong>multiple models from different companies</strong> through a single API.</p><ul><li>One API → many models</li><li>Often includes <strong>free-tier or low-cost options</strong></li><li>Easy to switch models without rewriting code</li></ul><p>Where it shines:</p><ul><li><strong>Model comparison</strong> (try GPT vs Claude vs Mistral easily)</li><li>Building apps where you want <strong>fallback models</strong></li><li>Optimizing for <strong>cost vs performance</strong></li></ul><p>Why it’s powerful:<br> You’re not locked in. If one model becomes expensive or rate-limited, you just switch.</p><p>The downside:</p><ul><li>Can feel a bit overwhelming</li><li>Quality varies depending on which model you pick</li><li>Free tiers are usually limited per model</li></ul><p>— <em>If you’re building something serious and want flexibility long-term, OpenRouter is a smart choice.</em></p><h3>🤔 So… which one should you use?</h3><p>Here’s the honest breakdown:</p><ul><li><strong>Go with Cohere</strong> → if you want something simple, stable, and great for NLP tasks</li><li><strong>Go with Ollama</strong> → if you care about privacy or want zero API cost</li><li><strong>Go with OpenRouter</strong> → if you want flexibility and access to multiple models</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d048de1e6d47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RefDiffTransformer: My Deep Dive into Reference-Conditioned Diffusion Transformers]]></title>
            <link>https://medium.com/@spoorthisetty99/refdifftransformer-my-deep-dive-into-reference-conditioned-diffusion-transformers-186824860b0e?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/186824860b0e</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[underwater]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[diffusion-models]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Mon, 20 Apr 2026 17:14:10 GMT</pubDate>
            <atom:updated>2026-04-20T17:14:10.390Z</atom:updated>
            <content:encoded><![CDATA[<p>I started exploring RefDiffTransformer because I was interested in a simple but difficult problem:</p><blockquote>how can a generative model use a reference image as guidance without simply copying it?</blockquote><p>That question led me into studying reference-conditioned transformers, where the goal is not just image generation, but controlled generation. What makes this approach interesting is that the model is not relying on a reference as a superficial input. It is learning how to use that reference during feature interaction itself.</p><p>What first stood out in this study was the way images are represented. Instead of treating images as continuous pixel spaces, the architecture transforms them into<strong> patch-level embeddings</strong> and processes them as tokens. That immediately shifts the problem from image processing into relationship modeling, where the model learns how tokens from an input image interact with tokens from a reference image.</p><p>As I dug deeper into the architecture,<strong> attention</strong> became the central idea. The real conditioning does not happen through manual fusion or handcrafted rules. It happens through attention, where the model learns which information from the reference matters, how much of it should be used, and when it should influence generation.</p><p>That was a major insight from this study. Reference conditioning is not simply “adding another input.” It is learning controlled information transfer.</p><p>Another part I found especially interesting was the use of <strong>token-level distinctions </strong>between the source image and the reference image. Rather than mixing everything together, the architecture explicitly preserves their identities while still allowing interaction. That design makes the model capable of borrowing structure or style from the reference while maintaining flexibility in generation.</p><p>A major part of my study focused on how the model handles patch embeddings, transformer blocks, masking strategies, and feature refinement across layers. What became clear is that the architecture is doing much more than feature extraction.<em> It is progressively deciding how guidance from the reference should evolve as information moves through the network.</em></p><p>That iterative refinement is what makes the methodology powerful.</p><p>What I found particularly compelling is that this approach avoids rigid conditioning. Instead of forcing the model to follow the reference exactly, it allows the model to learn a balance between preserving reference information and generating new content. That balance is really the heart of controlled generation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*CfS-a3EwIZsLQvUIh3O9tQ.png" /></figure><p>Through this study, I came to see RefDiffTransformer as more than a transformer-based generative model. It is a framework for exploring how references can act as learned priors inside generative systems.</p><p>That has implications far beyond one project.</p><p>It opens directions for guided restoration, structure-preserving enhancement, multimodal conditioning, and more controllable diffusion-based generation.</p><p>What began as studying a repository became a deeper exploration of a bigger question:</p><p>How do we make generative models not just powerful, but controllable?</p><p>For me, that is what made RefDiffTransformer worth studying.</p><p>The following outputs show pixel-wise absolute difference maps between the first image and the reference image. Rather than being enhanced outputs themselves, the “Difference Image” is a diagnostic visualization that highlights where the two images disagree. For each pixel, the algorithm computes the absolute difference in intensity values, so regions with low difference indicate similarity between the two images, while regions with high difference indicate strong deviations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pr-lQ7euCSBTefyuDZ08-w.png" /></figure><p>In the first output, shown using a red-green colormap, the red regions correspond to stronger differences between the input and the reference image. These differences are especially visible around the statue, the arm boundaries, parts of the seafloor, and sections of the surrounding water. This suggests that the reference image has noticeable changes in contrast, color distribution, or local details compared to the first image. Darker regions indicate areas where the two images remain relatively similar, meaning those structures are largely preserved.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jsazFQ5kyEF_gSKJZugC6g.png" /></figure><p>In the second output, the same absolute difference operation is shown using a different colormap, where the blue and cream tones make the intensity changes more visually distinct. Here, the statue appears strongly highlighted, indicating that this region has large deviations from the reference. The upper water region also shows broader tonal differences, suggesting that the changes between the two images are not limited to simple color shifts, but may also involve differences in contrast and structural detail.</p><p>Practically, these outputs act as error maps. They show where correction may be needed, how much the degraded image differs from the reference, and which regions might require greater attention in a reference-guided enhancement framework. In that sense, they can help localize where reference information may be most useful.</p><p>At the same time, these maps have an important limitation. Absolute difference only measures how different two images are at the pixel level. It does not measure perceptual similarity, structural similarity, or image quality. A large difference does not necessarily mean poor quality, and a small difference does not necessarily mean good quality. It simply means the images differ.</p><p>Viewed this way, these outputs show where the input diverges from the reference, which can be useful for understanding deviations or even for using these differences as guidance signals in reference-conditioned models.</p><p>Github: <a href="https://github.com/spoorthisetty99/RefDiffTransformer/tree/main">https://github.com/spoorthisetty99/RefDiffTransformer/tree/main</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=186824860b0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your System Thinks You’re 5 Different People.]]></title>
            <link>https://medium.com/@spoorthisetty99/your-system-thinks-youre-5-different-people-626c4270c459?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/626c4270c459</guid>
            <category><![CDATA[data-management]]></category>
            <category><![CDATA[industry]]></category>
            <category><![CDATA[master-data-management]]></category>
            <category><![CDATA[mdm]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 06:50:42 GMT</pubDate>
            <atom:updated>2026-04-15T06:50:42.916Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDHHvlfQeiKEWwlpXQFdJw.png" /></figure><p>You have:</p><ul><li>3 login IDs</li><li>2 email addresses</li><li>1 typo in your name</li></ul><p>And suddenly…</p><p>You exist <strong>five times</strong> in the same system.</p><p>Your bank sees you as:</p><ul><li>“John Doe”</li><li>“John D.”</li><li>“J Doe”</li></ul><p>Your e-commerce account?</p><ul><li>Different email</li><li>Slightly different address</li></ul><p>Your company CRM?</p><ul><li>Another variation</li></ul><p>Now imagine this at scale.</p><p>Millions of users.<br> Hundreds of systems.<br> Constant updates.</p><h3>This is the Reality of MDM</h3><p>Master Data Management promised:</p><blockquote><em>One user → One truth.</em></blockquote><p>But what we actually have is:</p><ul><li>Duplicate records everywhere</li><li>Conflicting information</li><li>Broken joins across systems</li><li>Models trained on garbage</li></ul><h3>And Here’s the Real Problem</h3><p>Your ML models are learning from this.</p><p>So instead of intelligence…</p><p>You get:</p><ul><li>Wrong recommendations</li><li>Incorrect analytics</li><li>Failed AI systems</li></ul><h3>Traditional MDM Can’t Keep Up</h3><p>It relies on:</p><ul><li>Hardcoded rules</li><li>Exact matches</li><li>Static schemas</li></ul><p>Example:</p><pre>IF name == name AND email == email → match</pre><p>But real data isn’t that clean.</p><pre>&quot;Amazn Pvt Ltd&quot;<br>&quot;Amazon India Private Limited&quot;</pre><p>Same company.</p><p>Different formats.</p><p>Traditional systems struggle.</p><h3>What If MDM Could Understand Data?</h3><p>Instead of matching text…</p><p>What if it understood meaning?</p><p>That’s where models like BERT come in.</p><p>They don’t just compare strings.</p><p>They capture <strong>context + semantics</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bf0CFeX1zoDeZp5LjdQdWw.png" /></figure><h3>How It Actually Works</h3><h4>Step 1: Turn Records into Meaning</h4><p>Every record becomes a vector.</p><pre>Name + Email + Address → Embedding</pre><p>Now similarity isn’t string matching.</p><p>It’s <strong>distance in semantic space</strong>.</p><h4>Step 2: Learn Matching with Very Few Examples</h4><p>Using a Siamese architecture:</p><ul><li>Input: two records</li><li>Output: similarity score</li></ul><p>Even with a few examples:</p><ul><li>“duplicate”</li><li>“not duplicate”</li></ul><p>The system learns <strong>how to generalize</strong>.</p><h4>Step 3: Stop Comparing Everything</h4><p>Instead of brute force:</p><ul><li>Use vector search</li><li>Retrieve top similar candidates</li></ul><p>Fast. Scalable.</p><h4>Step 4: Build Real-World Entities</h4><p>Matching isn’t isolated.</p><p>It’s connected.</p><p>If:</p><ul><li>A ≈ B</li><li>B ≈ C</li></ul><p>Then:</p><ul><li>A ≈ C</li></ul><p>So we build clusters.</p><p>Each cluster = <strong>one real person / company</strong></p><h3>But Here’s Where It Gets Interesting</h3><p>Inside a cluster…</p><p>Nothing agrees.</p><pre>Email:<br>- JohnDoe@gmail.com  <br>- john.doe@gmail.com  <br>- john@company.com</pre><p>Which one is correct?</p><h3>MDM Never Solved This Properly</h3><p>It uses rules like:</p><ul><li>“Pick latest”</li><li>“Pick from trusted source”</li></ul><p>But these break quickly.</p><h3>So We Let the System Decide</h3><p>We introduce a <strong>Trust Score</strong>.</p><p>For every value.</p><p>Based on:</p><ul><li>Source reliability</li><li>Frequency</li><li>Consistency</li></ul><p>Now the system can say:</p><pre>This value is 0.92 trustworthy  <br>This one is 0.61</pre><h3>The Golden Record Emerges</h3><p>Not manually created.</p><p>Not rule-based.</p><p><strong>Learned.</strong></p><p>For each field:</p><blockquote><em>Pick the highest trust score.</em></blockquote><h3>And Then It Gets Better Over Time</h3><p>The system knows when it’s unsure.</p><p>It asks.</p><ul><li>Flags uncertain matches</li><li>Gets human feedback</li><li>Learns from it</li></ul><p>This creates a <strong>self-improving MDM system</strong></p><h3>Why This Matters (A Lot)</h3><p>Because everything depends on this:</p><ul><li>Analytics</li><li>Personalization</li><li>Fraud detection</li><li>AI models</li></ul><p>If your data is broken…</p><p>Everything built on top is broken.</p><h3>The Bigger Shift</h3><p>We’re moving from:</p><p><strong>“Clean data using rules”</strong></p><p>to</p><p><strong>“Learn what clean data looks like”</strong></p><h3>Final Thought</h3><p>MDM isn’t just about removing duplicates.</p><p>It’s about answering one question:</p><blockquote>Can you trust your data?</blockquote><p>And trust…</p><p>is something that needs to be <strong>learned, not hardcoded</strong>.</p><h3>What This Unlocks</h3><ul><li>Accurate user identity</li><li>Better AI models</li><li>Reliable decisions</li></ul><p>And finally:</p><blockquote><em>A system that sees you as </em><strong><em>one person</em></strong><em> — not five.</em></blockquote><p>If you’re building in this space, this is where things are going:</p><p><strong>ML-native, self-learning data systems</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=626c4270c459" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding IaaS, PaaS, and SaaS — Through a Simple Car Analogy]]></title>
            <link>https://medium.com/@spoorthisetty99/understanding-iaas-paas-and-saas-through-a-simple-car-analogy-bfd728934cdc?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfd728934cdc</guid>
            <category><![CDATA[iaas-vs-paas-vs-saas]]></category>
            <category><![CDATA[iaas-paas-saas]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[gcp]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Tue, 07 Apr 2026 11:10:06 GMT</pubDate>
            <atom:updated>2026-04-07T11:10:06.326Z</atom:updated>
            <content:encoded><![CDATA[<p>Cloud computing can feel complicated at first. Terms like <em>IaaS</em>, <em>PaaS</em>, and <em>SaaS</em> get thrown around a lot, and it’s not always clear what they actually mean in real life.</p><p>But here’s the thing: these models are just different ways of <em>using and managing technology</em>. The easiest way to understand them is by comparing them to something we all know — <strong>transportation</strong>.</p><p>Let’s take a drive 🚙</p><h3>From Owning Everything to Using What You Need</h3><p>Before cloud computing, companies used <strong>traditional IT (on-premises infrastructure)</strong>.</p><p>Think of it like <strong>owning a car</strong>.</p><p>You buy it. You maintain it. You fix it. You upgrade it.</p><p>Everything is your responsibility.</p><p>Now enter cloud computing — where instead of owning everything, you <em>use services provided by someone else</em>. You just pay for what you use, usually through a subscription or pay-as-you-go model.</p><p>This is where the three cloud models come in.</p><h3>1. IaaS (Infrastructure as a Service) — Leasing a Car</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4zcDtxwaWhMIiKvHIx1odg.png" /></figure><p>Imagine you <strong>lease a car</strong>.</p><ul><li>You don’t own it</li><li>But you can drive it however you want</li><li>You’re still responsible for how you use it</li></ul><p>That’s exactly what <strong>IaaS</strong> is.</p><h3>What you get:</h3><ul><li>Virtual machines (servers)</li><li>Storage</li><li>Networking</li></ul><h3>What you manage:</h3><ul><li>Operating system</li><li>Applications</li><li>Data</li></ul><h3>Real meaning:</h3><p>You get the <strong>basic infrastructure</strong>, but you’re still in control of everything built on top of it.</p><p>👉 It’s flexible, powerful, and gives you control — but you need technical knowledge.</p><h3>2. PaaS (Platform as a Service) — Taking a Taxi</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GErapxlr1dNIK7M4CZxTLA.png" /></figure><p>Now imagine you <strong>book a taxi</strong>.</p><ul><li>You tell the driver where to go</li><li>The driver handles the driving</li><li>You don’t worry about the engine, fuel, or maintenance</li></ul><p>That’s <strong>PaaS</strong>.</p><h3>What you get:</h3><ul><li>A ready-to-use development environment</li><li>Tools to build and deploy applications</li></ul><h3>What you manage:</h3><ul><li>Your code</li><li>Your application logic</li></ul><h3>Real meaning:</h3><p>You focus on <strong>building your app</strong>, while the platform handles everything else.</p><p>👉 Faster development, less headache.</p><h3>3. SaaS (Software as a Service) — Taking a Bus</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7dpA1qMP6vvh-1mSvGf-7A.png" /></figure><p>Now think about <strong>taking a bus</strong>.</p><ul><li>You just hop on</li><li>Follow predefined routes</li><li>No control over how the bus operates</li></ul><p>That’s <strong>SaaS</strong>.</p><h3>What you get:</h3><ul><li>Fully built software (like apps)</li></ul><h3>What you manage:</h3><ul><li>Almost nothing</li></ul><h3>Real meaning:</h3><p>You just <strong>use the software</strong> — no setup, no maintenance.</p><p>👉 Easy, fast, and convenient.</p><h3>The Key Concept: Abstraction</h3><p>As you move from <strong>IaaS → PaaS → SaaS</strong>, something important happens:</p><p>👉 You worry less about what’s happening behind the scenes.</p><p>This is called <strong>abstraction</strong>.</p><p>Just like when you drive a car — you don’t think about how the engine works. You just focus on getting to your destination.</p><p>In cloud computing:</p><ul><li><strong>IaaS</strong> → You see a lot (more control)</li><li><strong>PaaS</strong> → You see less</li><li><strong>SaaS</strong> → You see almost nothing (just use it)</li></ul><h3>⚖️ Choosing the Right Model</h3><p>There’s no “best” model — it depends on what you need.</p><ul><li>Want <strong>full control</strong>? → Go with IaaS</li><li>Want to <strong>build apps quickly</strong>? → Choose PaaS</li><li>Want to <strong>just use software</strong>? → SaaS</li></ul><p>Most organizations actually use a <strong>mix of all three</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cNr98lgyFM3leBlN3_j3KA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfd728934cdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The End of Token Generation?]]></title>
            <link>https://medium.com/@spoorthisetty99/the-end-of-token-generation-8ce4b739dafc?source=rss-aa356c0a0ec7------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ce4b739dafc</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[videos]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[token]]></category>
            <category><![CDATA[research]]></category>
            <dc:creator><![CDATA[Spoorthisetty]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 07:08:35 GMT</pubDate>
            <atom:updated>2026-02-02T09:23:00.247Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*hLDgr9iZp2k9M_RwqmFCkQ.png" /></figure><h3>The End of Token Generation? Why VL-JEPA Might Be the Most Important Shift in Vision-Language Models</h3><h3>The Kid, the Robot, and the Problem With Words</h3><p><em>(A story about why VL-JEPA changes everything)</em></p><h4>First let us understand that:</h4><p>For years, we’ve treated <strong>token generation</strong> as the heart of intelligence.</p><p>See an image → generate words.<br>Watch a video → generate captions.<br>Answer a question → generate tokens, one by one, forever.</p><p>But what if that entire framing is… wrong?</p><p>What if language models don’t need to <em>generate</em> text to truly <em>understand</em> the world?</p><p>That’s exactly what <strong>VL-JEPA</strong> proposes — and if it works at scale, it quietly rewrites how we build multimodal AI.</p><h4>Now let me explain this in a way i understood it .</h4><p>Imagine a child named <strong>Aru</strong>.</p><p>Aru is curious. He watches the world all day.</p><p>When you flip a switch, the room becomes dark.<br> When a ball hits the floor, it bounces.<br> When someone waves, they usually smile.</p><p>Now here’s the interesting part:</p><p><strong>Aru understands all this long before he knows the words.</strong></p><p>He doesn’t think:</p><blockquote><em>“The electrical circuit has been interrupted.”</em></blockquote><p>He thinks:</p><blockquote>“Light… gone.”</blockquote><p>Meaning comes first. Words come later.</p><h3>Now Meet the Old-School Robot</h3><p>Let’s say we build a robot to understand the world.</p><h3>How we’ve trained robots so far:</h3><p>We tell the robot:</p><ul><li>Look at an image or video</li></ul><p><strong>Describe it using words</strong></p><ul><li>Generate one word at a time</li><li>Don’t stop until the sentence is finished</li></ul><p>So when the robot sees:</p><blockquote><em>A person turning off a lamp</em></blockquote><p>It must generate:</p><blockquote><em>“The lamp is turned off.”</em></blockquote><p>Token by token.<br> Word by word.<br> Slow. Expensive. Painful.</p><p>Here’s the <strong>problem nobody talks about</strong>:</p><p>The robot is forced to learn:</p><ul><li>What the event <em>means</em></li></ul><p><strong>AND</strong></p><ul><li>How to spell, phrase, and style the sentence</li></ul><p>Even worse…</p><p>If the robot says:</p><ul><li>“The room goes dark”</li><li>“The light is switched off”</li><li>“Illumination ceases”</li></ul><p>Technically different <strong>Semantically identical</strong></p><p>But token-based models treat them like <em>completely different answers</em>.</p><p>That’s like teaching a child physics <strong>by grading handwriting</strong>.</p><h3>🧩 VL-JEPA Enters the Story</h3><p>VL-JEPA asks a brutally simple question:</p><blockquote><strong><em>Why are we forcing machines to talk when they just need to understand?</em></strong></blockquote><p>So VL-JEPA does something radical:</p><p>It <strong>removes words from the center of learning</strong>.</p><h3>🧠 How VL-JEPA Thinks (Child Version)</h3><p>Let’s go back to Aru.</p><p>Instead of forcing Aru to speak sentences, we do this:</p><ol><li>Show Aru a video</li><li>Ask a question</li><li>Let Aru form an <strong>idea in his head</strong></li><li>Only <em>if needed</em>, ask him to explain it in words</li></ol><p>That “idea in his head”<br> <strong>That’s an embedding</strong></p><p>VL-JEPA is trained to predict <strong>ideas</strong>, not sentences.</p><p>Technically:</p><ul><li>Images/videos → visual embeddings</li><li>Target text → text embeddings</li><li>The model learns to predict <strong>the target embedding directly</strong>, not tokens</li></ul><p>Meaning lives in <strong>continuous space</strong>, not discrete words.</p><h3>Why This Is Insanely Powerful for Video</h3><p>Now imagine Aru watching a long video.</p><p>He doesn’t shout:</p><blockquote><em>“WALKING! WALKING! STILL WALKING!”</em></blockquote><p>He stays quiet…<br> until something <em>changes</em>.</p><p>VL-JEPA does the same.</p><p>It produces a <strong>continuous stream of meaning</strong> as embeddings.</p><ul><li>No decoding</li><li>No token generation</li><li>Just understanding</li></ul><p>Only when the meaning <strong>actually shifts</strong> does it say something.</p><p>This is called <strong>selective decoding</strong>, and it cuts decoding cost by ~<strong>2.85×</strong> without losing understanding</p><p>That’s the difference between:</p><ul><li>A chatbot</li><li>A real-time perception system</li></ul><h3>One Brain, Many Skills</h3><p>Here’s another wild part.</p><p>Because VL-JEPA lives in embedding space, the <em>same brain</em> can:</p><ul><li>Classify objects</li><li>Retrieve videos from text</li><li>Answer visual questions</li><li>Generate captions (only when asked)</li></ul><p>No special heads.<br>No task-specific hacks.</p><p>It’s like Aru:</p><ul><li>Recognizing a dog</li><li>Finding a memory</li><li>Answering “how many apples?”</li><li>Speaking — <strong>using the same understanding</strong></li></ul><p>That’s not normal for VLMs.</p><h3>⚠️ The Honest Twist in the Story</h3><p>VL-JEPA is <strong>not a talking champion</strong>.</p><p>If you want:</p><ul><li>Long essays</li><li>Tool usage</li><li>Step-by-step reasoning with text</li></ul><p>Classic token-based models still win.</p><p>But VL-JEPA isn’t trying to be a poet.</p><p>It’s trying to be something more fundamental:</p><blockquote><strong><em>A system that understands the world before it speaks.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ce4b739dafc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>