<?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 Vishnu Bharadwaj on Medium]]></title>
        <description><![CDATA[Stories by Vishnu Bharadwaj on Medium]]></description>
        <link>https://medium.com/@vishbs?source=rss-3aec1f939bc8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FyhF9j1AHRjNNbgAkGNJAQ.jpeg</url>
            <title>Stories by Vishnu Bharadwaj on Medium</title>
            <link>https://medium.com/@vishbs?source=rss-3aec1f939bc8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 02:15:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishbs/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[Open or Closed? Rethinking LLMs for Healthcare and Medicine]]></title>
            <link>https://medium.com/data-science-collective/open-or-closed-rethinking-llms-for-healthcare-and-medicine-cd426988e84c?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd426988e84c</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Wed, 24 Dec 2025 20:53:16 GMT</pubDate>
            <atom:updated>2025-12-29T21:16:35.447Z</atom:updated>
            <content:encoded><![CDATA[<h3>Open vs Closed LLMs: What Healthcare and Medicine Really Needs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OJ5OsBL_xIack9e8" /><figcaption>Photo by <a href="https://unsplash.com/@claybanks?utm_source=medium&amp;utm_medium=referral">Clay Banks</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Intro</h3><p>As we are all probably aware by now, LLMs are everywhere and are increasingly being integrated into more fields and use cases. One of the most interesting and impactful fields is medicine and healthcare, and within that, one of the most compelling applications of LLMs is medical documentation and summarization.</p><p>This highly insightful <a href="https://www.nature.com/articles/s41746-024-01344-w">paper</a>, <strong>“The Path Forward for Large Language Models in Medicine Is Open,”</strong> authored by Riedemann, Labonne and Gilbert, was published in <em>Nature </em>and<em> </em>provides much-needed structured thinking supported by concrete evidence, on why the medical field should increasingly adopt open-source models that are transparent and controllable, as opposed to closed-source models that function more like black boxes. This article aims to provide a high-level summary of the paper.</p><blockquote>When selecting an LLM and its provider, a key question that must be addressed is:<br> <strong>To what extent does the “openness” of a model become a decisive factor in choosing an underlying LLM framework for clinical applications?</strong></blockquote><p>Closed-source models offer advantages such as ease of deployment, maintenance, and technical reliability. On the other hand, open-source models provide greater transparency, adaptability to evolving medical guidelines, and the ability to calibrate or fine-tune models for specific medical scenarios and preferences.</p><h3>Why Is the LLM Openness Question So Critical for Medicine?</h3><p>AI systems, especially LLMs, are highly complex, consisting of billions of parameters, and their internal mechanisms are fully understood by only a small group of experts. As a result, even subtle, unintentional changes can lead to significant shifts in model behavior.</p><p>The authors argue that to enable continuous improvement and ensure safe deployment, LLMs used in medicine must offer maximum transparency, comprehensive oversight, and strong control mechanisms. Operating LLMs in medical devices, for example, requires deep understanding of model architecture, training data, update processes, and development methodologies — all areas where closed-source models provide limited visibility.</p><p>One example cited in the paper is the sudden “laziness” observed in ChatGPT in December 2023. While widely noticed by users, the exact cause was never identified by independent researchers nor disclosed by OpenAI.</p><p>Another concern with closed-source models is that they are continuously updated without archived versions. This presents legal and safety challenges in medicine, where root-cause analysis and post-hoc investigation may be required. Open-source models allow for versioning, auditing, and retrospective safety analysis.</p><h3>How Do We Discern Open from Closed-Source LLMs?</h3><p>Defining what constitutes an open-source LLM is itself a critical and evolving question, one that has gained additional attention following the passage of the EU AI Act, which regulates open-source and closed-source models differently.</p><p>Under the Act, exemptions apply when key model details, such as weights, architecture and parameters, are made publicly available. While many implementation details remain unresolved, the legislation plays a pivotal role in shaping how open-source models are developed and deployed.</p><p>A particularly interesting contribution of the paper is its discussion of an <em>openness framework</em> for LLMs. Rather than treating openness as a binary distinction, the authors propose a spectrum-based approach. One such framework consists of <strong>14 dimensions</strong> of openness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9wluCAvPUNpPI6LYRMvqZA.png" /><figcaption>A proposed framework consisting of 14 dimensions upon which to identify an LLM’s openness</figcaption></figure><p>Using this lens, models like ChatGPT-3.5 and GPT-4o fall on the highly closed end, Mistral 7B Instruct occupies a middle ground (with publicly available weights but limited disclosure around training data and architecture), and OLMo 7B Instruct represents a highly open model.</p><h3>How Do Open-Source Models Perform Compared to Proprietary Models in Medicine?</h3><p>This is a difficult question to answer definitively due to the challenges of benchmarking LLMs. However, based on established benchmarks such as <strong>MMLU (Measuring Massive Multitask Language Understanding)</strong>, by July 2024 the open-source LLaMA 3.1 405B model had nearly closed the performance gap with proprietary models like GPT-4o.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JqkVn4CPf8a6IWoTuSCvXg.png" /><figcaption>A performance comparision of the open- and closed-source LLMs on the MMLU (5-shot) benchmark</figcaption></figure><p>Historically, closed-source models appear to gain an initial head start, but open-source models tend to catch up within months rather than years.</p><p>Reliable, automated evaluation methods for medical LLM tasks remain limited, making human evaluation the current gold standard. Importantly, for medical device integration, domain-specific knowledge alone is often less critical than core cognitive capabilities and effective interaction with surrounding system components.</p><p>Collaborative fine-tuning efforts within the medical community have demonstrated performance approaching that of closed-source models — with the added benefits of transparency, auditability, and customization.</p><h3>How Should Policy Proceed?</h3><p>Closed-source LLMs provide limited support for medical applications due to their black-box nature. At the same time, regulations such as the EU AI Act introduce barriers that may unintentionally hinder the release of truly open-source large models.</p><p>Regardless of regulatory trajectories, the authors emphasize the need for strong theoretical education and practical training around transparent AI systems — not only for healthcare professionals, but also for the broader public.</p><p>The paper concludes with a powerful analogy:<br> <strong>“The power of the printing press was the power of an open foundational technology.”</strong></p><h3>My Takeaways</h3><p>As someone who has been working closely with open-source LLMs, I strongly agree with the paper’s central message. Open-source models offer greater accessibility and customizability, often with only a modest trade-off in performance.</p><p>In recent weeks, I’ve been experimenting with small-scale LLMs (&lt;7B parameters) on my trusty Mac M1 — no GPUs, just locally hosted models. To my surprise, they performed remarkably well for the tasks they were trained on, with minimal computational overhead.</p><p>In the medical, and specifically in the RWE community, analytical work often involves highly sensitive data. Running models locally or on controlled servers significantly reduces security and privacy risks, potentially accelerating research while maintaining rigor and trust.</p><p>The future of LLMs in healthcare has to be open. That, in my view, is the best path forward.</p><p><strong><em>Note: All credit for the methodology and figures goes to the authors of ‘The path forward for large language models in medicine is open” (https://doi.org/10.1038/s41746-024-01344-w</em></strong>). <strong><em>All the screenshots and figures in the article are directly sourced from the paper.</em></strong></p><p><em>I’m a data scientist with experience across real-world evidence, healthcare analytics, and machine learning. Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-suresh-796877175/"><em>LinkedIn</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd426988e84c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science-collective/open-or-closed-rethinking-llms-for-healthcare-and-medicine-cd426988e84c">Open or Closed? Rethinking LLMs for Healthcare and Medicine</a> was originally published in <a href="https://medium.com/data-science-collective">Data Science Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rethinking Causal Inference in Healthcare Research with LLMs]]></title>
            <link>https://medium.com/data-science-collective/rethinking-causal-inference-in-healthcare-research-with-llms-248cb1611983?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/248cb1611983</guid>
            <category><![CDATA[real-world-evidence]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[causal-inference]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[healthcare]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 17:27:12 GMT</pubDate>
            <atom:updated>2025-12-18T10:09:00.210Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JCg0EFagw_XeWzGs" /><figcaption>Photo by <a href="https://unsplash.com/@blakeguidry?utm_source=medium&amp;utm_medium=referral">Blake Guidry</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Intro</h3><p>In a new age of large-scale healthcare datasets, retrospective studies have never been easier to conduct, extract insights from, and generate evidence. Many of these studies, however, implicitly make assumptions about the causal nature of medical interventions.</p><p>For example, for many years, observational studies suggested that postmenopausal hormone replacement therapy (HRT) reduced coronary heart disease (CHD) risk by roughly 40–50%. It was later found that women choosing HRT were systematically healthier at baseline: exercising more, eating healthier diets, having lower BMI, and exhibiting better blood pressure and metabolic profiles. This created strong bias that was not fully measured or adjusted for.</p><p>When the Women’s Health Initiative conducted a randomized trial that properly emulated a causal contrast, HRT actually <em>increased</em> CHD events. This directly contradicted earlier associative findings and revealed that the assumed “no unmeasured confounding” condition underlying the cohort analyses was badly violated.</p><p>This paper, <strong>“</strong><a href="https://arxiv.org/abs/2407.19118"><strong>Large Language Models as Co-Pilots for Causal Inference in Medical Studies</strong></a><strong> by Alaa et al,”</strong> argues that many published studies are inherently flawed because they violate key assumptions and suffer from biases such as residual confounding, selection bias, and misalignment between treatment and measurement timing.</p><p>These issues are often difficult to catch within the context of a single study, as identifying them typically requires a larger, interdisciplinary group of experts with domain-specific knowledge.</p><p>As a potential solution, the authors propose a conceptual framework that uses LLMs as <em>causal co-pilots</em>. These systems leverage domain knowledge across fields and engage researchers via natural language interactions, with the goal of helping surface and mitigate common sources of bias.</p><h3>But first, a quick background on RWD</h3><p>Real-world data (RWD) refers to large-scale healthcare data that is typically retrospective in nature and captures information from routine clinical practice. Common sources of RWD include electronic health records (EHRs), insurance claims, disease and medical product registries, and digital tools such as wearables.</p><p>RWD is often used when randomized controlled trials (RCTs) are infeasible or unethical, for example, when studying rare populations, diseases with high mortality and no effective treatments, or public health emergencies where delaying treatment could lead to harm.</p><p>However, RWD studies can be misused to associate outcomes with treatments when no true causal relationship exists. This can be detrimental to public health and lead to widespread misconceptions. Designing robust RWD studies is challenging because it requires navigating multiple moving parts across domains, including regulatory guidance, study design best practices, and appropriate causal inference methodologies.</p><p>In practice, this often means multiple iterations and dozens of man-hours across interdisciplinary teams, an approach that may not always be feasible. With the rise of LLMs, the authors suggest a promising alternative.</p><h3>So, how can LLMs help with causal studies?</h3><p>The authors outline several ways a <em>causal co-pilot</em> — a well-prompted, fine-tuned LLM — could assist researchers in designing, analyzing, and interpreting observational studies (a historically prevalent form of RWD research).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*Gj9qzwaw73lmpuJFVaaR0g.png" /><figcaption>Examples provided by the authors on the LLM co-pilot catching issues at different stages of a causal study</figcaption></figure><h4>Clarifying the Causal Question</h4><p>RWD studies require a precise causal question describing the cause–effect relationship between a potentially time-varying exposure and an outcome within a target population. For example: <em>“What is the effect of exercise on heart rate?”</em></p><p>Defining a meaningful estimand that is also answerable using available data can take months of collaboration. A causal co-pilot could assist researchers by helping define the causal question upfront, incorporating eligibility criteria, follow-up timing, outcome definitions, and treatment protocols.</p><h4>Critiquing Study Design</h4><p>Even with a well-defined causal question, studies can still fail due to poor design or analytic choices. The LLM co-pilot can collaborate with researchers to critique proposed study designs and identify potential sources of bias before analysis begins.</p><h4>Interpreting Study Results</h4><p>The co-pilot can also assist in interpreting results to uncover signs of residual confounding or other biases. One example discussed involves a study evaluating the effect of Paxlovid on COVID-19 hospitalization rates.</p><p>The LLM identified premature separation of survival curves between treated and control groups, occurring before the drug’s biological mechanism could plausibly influence outcomes, suggesting the presence of bias rather than a true treatment effect.</p><p>The authors envision this co-pilot functioning similarly to tools like GitHub Copilot: trained on diverse medical and statistical knowledge, continuously updated, and aware of evolving regulatory frameworks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*uE44SDP6NvTQP1tzBJjXNw.png" /><figcaption>An architectural framework for the “Causal Co-pilot” provided by the authors of the paper</figcaption></figure><h3>Potential Limitations and Harms</h3><p>The paper also acknowledges important limitations. Over-reliance on such systems could reduce transparency in research practices, especially if the models are not fully explainable. Incorrect guidance could lead to causal identification failures or substantial errors in estimated effects, with harmful downstream consequences.</p><p>To address this, the authors advocate for user studies and randomized evaluations to rigorously assess the utility and risks of causal co-pilots in realistic, human-centered research environments.</p><h3>My Takeaways</h3><p>As someone who works on causal inference in RWD studies, I found this paper especially compelling. The discussion of common biases and the proposal of a structured, interactive approach to addressing them was both insightful and practical. The paper is also very well written, with concrete examples that clearly illustrate abstract causal concepts.</p><p>There is a clear use case for a causal co-pilot. Flawed assumptions in causal studies can lead to dangerous conclusions, and ensuring rigor in these analyses is critically important.</p><p>Personally, I think this concept could extend beyond strictly causal studies to RWD research more broadly. Even when causal claims are not the primary goal, human errors can occur throughout the research pipeline. A research co-pilot used as a sounding board could provide meaningful value across many stages of real-world evidence generation.</p><p><strong><em>Note: All credit for the methodology and figures goes to the authors of Large Language Models as Co-Pilots for Causal Inference in Medical Studies (arxiv.org: 2407.19118</em></strong>). <strong><em>All the screenshots and figures that were used from the paper have been cited in this article.</em></strong></p><p><em>I’m a data scientist with experience across real-world evidence, healthcare analytics, and machine learning. Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-suresh-796877175/"><em>LinkedIn</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=248cb1611983" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science-collective/rethinking-causal-inference-in-healthcare-research-with-llms-248cb1611983">Rethinking Causal Inference in Healthcare Research with LLMs</a> was originally published in <a href="https://medium.com/data-science-collective">Data Science Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Social Factors Matter: Using LLMs to Bring SDoH into Prediction Models]]></title>
            <link>https://medium.com/@vishbs/why-social-factors-matter-using-llms-to-bring-sdoh-into-prediction-models-3952d299f482?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3952d299f482</guid>
            <category><![CDATA[health-equity]]></category>
            <category><![CDATA[healthcare-analytics]]></category>
            <category><![CDATA[ai-in-healthcare]]></category>
            <category><![CDATA[sdoh]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Mon, 08 Dec 2025 20:28:33 GMT</pubDate>
            <atom:updated>2025-12-08T20:28:33.292Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VhfQMOJAYeLb84WS" /><figcaption>Photo by <a href="https://unsplash.com/@etactics?utm_source=medium&amp;utm_medium=referral">Etactics Inc</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Social determinants of health (SDoH) information might be one of the most important predictive variables in healthcare models that are typically overlooked and underutilized.</p><p><a href="https://arxiv.org/abs/2407.09688">This paper</a> by Fensore et al, titled “Large Language Models for Integrating Social Determinant of Health Data: A Case Study on Heart Failure 30-Day Readmission Prediction”, attempts to integrate SDoH information with clinical variables for a prediction task, and understand how the model works with and without the SDoH variables.</p><p>But first, it’s important to understand what SDoH refers to.</p><h3>What is SDoH?</h3><p>SDoH refers to the nonmedical factors that influence health outcomes. They are the conditions in which people are born, grow, work, live, worship, and age. They are broadly categorized into 5 main categories by the HHS:</p><ol><li>Education access and quality</li><li>Health care access and quality</li><li>Neighborhood and built environment</li><li>Social and community context</li><li>Economic stability</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1CqZ9SXBj98xYzxD4Onk4A.png" /><figcaption>The 5 Main Categories of SDoH (Source: <a href="https://www.cdc.gov/public-health-gateway/php/about/social-determinants-of-health.html">https://www.cdc.gov/public-health-gateway/php/about/social-determinants-of-health.html</a>)</figcaption></figure><p><em>For more detailed information on SDoH, refer to these resources from </em><a href="https://www.cdc.gov/about/priorities/why-is-addressing-sdoh-important.html"><em>the CDC</em></a><em> and </em><a href="https://odphp.health.gov/healthypeople/priority-areas/social-determinants-health"><em>the HHS</em></a><em>.</em></p><p>In terms of clinical workflows and prediction modeling tasks, SDoH variables have been proven to be very good predictors in addition to clinical variables. But in many studies, only simplified proxies of SDoH, like race, health insurance, and in some instances, census tract poverty, have been used.</p><p>From the related work that was cited in the paper, the authors characterized 3 main bottlenecks when trying to use publicly available SDoH in concordance with clinical variables:</p><p><strong><em>Identifying, annotating and integrating heterogenous public data sources to merge with patient records.</em></strong></p><p>But also, equally important is that SDoH can provide crucial context and insight into the inherent inequity that pervades the healthcare landscape all over the world, helping us to dig further into the issues at hand and make amends to an imbalanced system.</p><h3>What does this paper do?</h3><p>This paper evaluates the feasibility of using LLMs to automate the typically laborious, manual process of annotating the domain of different SDoH variables available in publicly available datasets. In other words, LLMs were used to categorize the SDoH variables into various categories. The datasets used in this paper are <a href="https://www.ahrq.gov/sdoh/data-analytics/sdoh-data.html">AHRQ SDOHD</a> and <a href="https://nanda.isr.umich.edu/">NaNDA</a>. The former dataset comes pre-annotated while the latter does require annotation.</p><p>The paper also details performance comparisons between different <strong>open-source </strong>LLMs on this particular task. This is particularly useful because many times, using closed-box LLMs can result in a lack of reproducibility of results and comes with an inherent cost to perform a similar study. With open-source LLMs, which have been proven to be reasonable replacements while being more accessible, similar tasks and related studies can be undertaken based on these results.</p><p>The paper additionally provides comparisons on different prompting techniques (eg. zero-shot vs one-shot prompting) and the effect that has on final LLM performance. This also provides vital information on what metadata and what techniques can provide the optimal final output.</p><p>Finally, the paper evaluates the modelling implications of using such SDoH variables, by comparing models which use and don’t use the variables. The model, in this case, was to predict 30-day readmission for heart failure (HF) patients, which is an important real-world task. A good percentage of patients with HF are readmitted within 30 days due to complications, and ML methods have started to be utilized to predict this event and provide the necessary prophylaxis and attentive care beforehand to prevent such an event if possible.</p><h3>Diving deeper into the Methodology</h3><p>As previously stated, for the SDoH variables, there were 2 main sources: the AHRQ dataset that comes pre-annotated and NaNDA, which doesn’t. To establish a ground truth, the NaNDA variables were manually annotated by 3 annotators. A basis was formed on which to decide disagreements between the annotators.</p><p>Then, LLMs were used to help expedite and automate the process of annotating variables to one of the 5 main SDoH domains. For this task, the LLM was provided with a detailed prompt, options for the 5 SDoH domains, data about the variable as well as metadata.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LJCgqEgSM2nxAlW1OPF12g.png" /><figcaption>Process used to prompt the LLMs for categorizing the variables into different domains (Source: <a href="https://arxiv.org/abs/2407.09688">https://arxiv.org/abs/2407.09688</a>)</figcaption></figure><p>An ablation study was performed as well to see what information provided to the LLM mattered the most. Varying permutations and combinations of the data (variable name, description of the variable and description of original source of the variable) were provided to compare and benchmark what provided the best performance.</p><p>A comparison between the performance of Zero-shot and One-shot prompting was also explored. Zero-shot learning is when no solved examples are provided as information to the LLM as part of the prompt, while One-shot learning is when a single example for each type of domain is provided.</p><p>Multiple open-source LLMs were also used to compare relative performance between them. The LLMs used were Llama-2-chat (7B, 13B, 70B), Gemma-it (2B, 7B), Mistral 7B and Flan T5. These models were evaluated using a Micro F1 score.</p><p>Finally, the logistic regression models were used to predict 30-day hospital readmission in HF patients. One model utilized only clinical variables (36 of them, such as the Charleston Comorbidity Index, vital signs, type of HF, demographics, insurance) while the other utilized both the clinical and SDoH variables.</p><h3>Key Results</h3><p>The incorporation of additional domain-specific SDoH data did boost the performance of the ML models. This aligns with the prevalent literature on this topic.</p><p>But a very interesting result was that the <strong>open-source LLMs achieved a high Micro-F1 score</strong> in annotating SDoH variable domains using just metadata and description as inputs. And more interestingly, although the One-shot learning LLMs (with one example) performed better, <strong>the zero-shot models performed pretty well too</strong>, showing that this kind of integration can be done out-of-the-box without any specific fine-tuning or additional resources.</p><p>The authors noted that future topics of interest might be to annotate the variables not just to the 5 domains but to individual topics. Each variable in the AHRQ dataset, for example, is mapped not just to the 5 domains, but also to 32 topics defined by AHRQ. Another future topic of interest might be to use these open-source, zero-shot LLMs to extract SDoH variables from semi-structured or unstructured data like clinical notes or images. This multi-modal SDoH can be integrated with patient records and evaluated.</p><h3>My Main Takeaways</h3><p>As someone who’s been interested in SDoH and its impact on modeling for a while now, this was a very intriguing paper to read. Shoutout to the authors of this paper for writing it in a very coherent narrative manner, while still providing a lot of detail.</p><p>Not only does this paper confirm that clinical prediction tasks can be enhanced with the use of SDoH variables, but it also showcases the wide scope of LLMs in this area.</p><p>Another key takeaway for me is the rising power of open-source LLMs. Using SoTA models like GPT, Claude and Gemini (among others) would be ideal, but in cases when that’s not feasible, these open-source LLMs provide an excellent alternative. The fact that they provide such high performance without any fine-tuning is also something that was very thought-provoking.</p><p>This goes to show that in situations when time or resources are limited, out-of-the-box open-source LLMs can provide the results that are needed in a timely manner.</p><p><strong><em>Note: All credit for the methodology and figures goes to the authors of Large</em></strong> <strong><em>Language Models for Integrating Social Determinant of Health Data: A Case Study on Heart Failure 30-Day Readmission Prediction (arXiv:2407.09688). All the screenshots and figures that were used from the paper have been cited in this article.</em></strong></p><p><em>I’m a data scientist with experience across real-world evidence, healthcare analytics, and machine learning. Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-suresh-796877175/"><em>LinkedIn</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3952d299f482" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How DrugEHRQA Turns Clinical Notes and Tables into Answers]]></title>
            <link>https://medium.com/data-science-collective/how-drugehrqa-turns-clinical-notes-and-tables-into-answers-efc505c33323?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/efc505c33323</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[real-world-evidence]]></category>
            <category><![CDATA[healthcare-analytics]]></category>
            <category><![CDATA[genai]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Mon, 01 Dec 2025 17:28:45 GMT</pubDate>
            <atom:updated>2025-12-03T09:37:56.622Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qMt61FxoGQts_sbR" /><figcaption>Photo by <a href="https://unsplash.com/@kommumikation?utm_source=medium&amp;utm_medium=referral">Mika Baumeister</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>Healthcare data is messy.</p><p>Working in RWE (real-world evidence) and very closely with claims and EHR data, I experience this firsthand every day. Data is captured in so many different forms, sometimes through clinical notes, sometimes through structured ICD codes, sometimes never at all. And when working with these different data forms, it can often be hard to incorporate all the various forms of data together to provide as much information as possible.</p><p>Recently, when I was perusing through the MIMIC website (<a href="https://physionet.org/content/">PhysioNet</a>), looking at the different datasets and resources that are provided by them, I happened upon a very interesting dataset. So out of curiosity, I looked up the <a href="https://arxiv.org/pdf/2205.01290">paper</a> that was published by its authors on how the dataset was created, and thought it was a very interesting, novel approach at the time (in 2022), but is still relevant and useful.</p><h3>What is DrugEHRQA?</h3><p>DrugEHRQA is a question-and-answer dataset that utilizes both structured and unstructured data, which focuses only on medication-related queries. At the time, it was the first QA (Question–Answer) dataset that used both the structured tables and the unstructured clinical notes of an EHR to answer questions. The dataset contains more than 70,000 Question–Answer pairs.</p><p>The sources used to build the dataset are the MIMIC-III dataset, specifically the structured tables in MIMIC-III that contain information on prescriptions and diagnoses, as well as the unstructured clinical notes in MIMIC-III.</p><p>The other main contributions of the paper, other than the creation of the dataset, were to introduce a new technique to automatically generate a template-based dataset using existing annotations of a non-QA application, skipping the need for manual annotations specifically for QA, and to develop a simple baseline model for multimodal QA on EHRs, using a modality selection network.</p><h3>What problem does DrugEHRQA solve?</h3><p>There are complex questions that can arise when trying to extract insights from large healthcare datasets. The multimodal nature of the datasets can add to the complexities of the questions, thereby making the answering of the questions harder and more complicated than it needs to be.</p><p>For example, a relatively simple question like “Was the patient treated with treatment X before discharge?” can be sufficiently hard to answer accurately if the answer is scattered across different tables like diagnoses, ICU notes, prescriptions, labs, etc. Some traditional QA datasets may not mirror the complexity of EHR systems.</p><p>This dataset also helps in tasks involving training and validating newer models that are built that try to perform the same task — translating a natural language query about the MIMIC dataset into SQL and providing the output from SQL. In that sense, it provides a good benchmark on what can be done in this space.</p><h3>How was the DrugEHRQA dataset actually built?</h3><p>Creating datasets like this in the past typically requires manual annotation, which involves hundreds of hours of manpower. The authors of the paper instead utilized automatic question generation templates. These question templates were of the structure shown in Figure 1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*NmsMBJTCzEw1xNx-cLTtAQ.png" /><figcaption>Figure 1: Question templates contained a question, an SQL query template and a difficulty level</figcaption></figure><p>They also added a difficulty level based on the query itself, such as the number of “where” statements and joins it contained.</p><p>The SQL queries attached to each question helped to retrieve answers from the structured MIMIC-III tables, using key variables like admission ID, names of the drugs, and diagnoses, to fill in the slots in the natural language and SQL queries.</p><p>Annotations from a previously published dataset were used to parse the unstructured clinical notes and extract features like strength of the drug, form of the drug, the route of the drug, etc.</p><p>There were also paraphrases provided for each question, because, as we know, in natural language, a question can be phrased in multiple ways (Figure 2).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/370/1*UJjmEkGNhn7z5DJAhE-Fpg.png" /><figcaption>Figure 2: Multiple paraphrases were provided for each question</figcaption></figure><h4>Multimodal QA</h4><p>And finally, the most interesting part of the pipeline (in my opinion), the novel multimodal merging QA. Most of the time, the answers typically lie in the structured data, which is much easier to access and utilize. But there are times when there is some missingness in the structured data or some inherent issue with the joining. In these cases, the unstructured data can be used to provide the answer instead.</p><p>There are also instances in which unstructured notes can supplement the information provided in the structured notes, as shown in Figure 3:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*JgupQLwNTGkhuQagNWnOTA.png" /><figcaption>Figure 3: Answers can come from either structured or unstructured data.. or both!</figcaption></figure><p>In the structured table, we get information about the dosage, while in the unstructured text, we get information about the frequency of the dosage, which is also important. These can be combined to create a comprehensive answer.</p><p>If there is only one modality that has the answer (for example, only the text or the table has an answer and the other is empty), then that answer is used. If there are answers in both modalities that are common, then existing models (TREQS, RAT-SQL) are used for the text-to-SQL tasks and the answer is ascertained.</p><p>But when there is no common answer between modalities, the MultimodalQA steps in and predicts the modality of a given question. This model is based on BERT with a feedforward network and a softmax layer, providing a binary classification answer.</p><h3>Understanding the key results from the paper</h3><p>The authors show that the dataset is structurally complex: about half of the SQL queries are “very hard,” nearly 40% are “medium,” and only a small fraction are “easy,” with many involving nested queries and multiple joins across tables. This mirrors what we see in the real world — the questions we typically want answered cannot usually be answered with easy queries.</p><p>On the modeling side, the paper evaluates text-to-SQL models (TREQS and RAT-SQL) on structured-only questions and BERT/ClinicalBERT QA on unstructured-only questions, then combines them in a simple multimodal pipeline driven by a modality-selection network.</p><p>The exact results can be gleaned from the paper, but the key result is that the modality selection network itself is highly accurate (~99–100%), and the combined MultimodalEHRQA pipeline outperforms single-modality baselines on questions where both tables and notes contain relevant information, underscoring that multimodal EHR QA is feasible, but remains challenging, especially for complex, cross-source reasoning.</p><h3>Main Takeaways</h3><p>This paper showcases that rich EHR data, especially a trove of information provided by clinical notes, can be utilized if synthesized into the right form. Providing a QA resource is also very beneficial for future projects that want to expand on this idea. In our current landscape, it would be very helpful to use this dataset and train an LLM to convert a natural language query like “What unique medications did patients with disease X take?” into a working SQL query and obtain results immediately, reducing the friction of manual programming.</p><p>It also provides a benchmark on whether LLMs can be used to quickly and decisively provide insights into messy datasets, a task that, manually, can take up to a few days.</p><p>For me personally, this isn’t the type of paper I usually dig my teeth into, and I end up reading more papers and articles about modeling. But this paper provided a lot more insight into how these types of datasets are created. As someone who typically works on the analysis side of things, where I simply receive or download the dataset, I found the whole process of creating a novel dataset like this intriguing.</p><p><strong><em>Note: All credit for the dataset, methodology, and figures goes to the authors of DrugEHRQA: A Question Answering Dataset on Structured and Unstructured Electronic Health Records for Medication-related Queries (arXiv:2205.01290). All screenshots and figures used in this article are taken directly from the original paper.</em></strong></p><p><em>I’m a data scientist with experience across real-world evidence, healthcare analytics, and machine learning. Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-suresh-796877175/"><em>LinkedIn</em></a><em>!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efc505c33323" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science-collective/how-drugehrqa-turns-clinical-notes-and-tables-into-answers-efc505c33323">How DrugEHRQA Turns Clinical Notes and Tables into Answers</a> was originally published in <a href="https://medium.com/data-science-collective">Data Science Collective</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Extinction to Excellence: Brighton’s Data-Driven Triumph]]></title>
            <link>https://medium.com/@vishbs/from-extinction-to-excellence-brightons-data-driven-triumph-977abe738c1c?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/977abe738c1c</guid>
            <category><![CDATA[sports]]></category>
            <category><![CDATA[sports-analytics]]></category>
            <category><![CDATA[soccer]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[football]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Wed, 06 Dec 2023 00:14:09 GMT</pubDate>
            <atom:updated>2023-12-06T00:14:09.840Z</atom:updated>
            <content:encoded><![CDATA[<p>Sporting history was made last week, on 30 Nov 2023, in Greece, as Brighton &amp; Hove Albion FC, a relatively small British club based out of East Sussex in Southeastern, beat AEK Athens and guaranteed themselves a knockout spot in the UEFA Europa League.</p><p>This may not seem historic but it is, considering that 26 years ago, Brighton &amp; Hove Albion FC were on the brink of extinction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Sdg1KR6yhtrF8TujS21tQA.png" /><figcaption>Robbie Reinelt’s dramatic last-day goal in 1997 stopped Brighton’s relegation and potential extinction</figcaption></figure><p>In 1997, they were one game away from being relegated to the 4th division of football. Relegation from the 3rd division of English football at the time, the Football League, would have been the final nail in the coffin of a struggling club, both on and off the field.</p><p>Fast forward to a couple of decades later, Brighton finished 9th in the Premier League (the 1st division of English football) in the 2021/22 season and 6th in in the 2022/23 season.</p><p>The astounding this is that they finished above teams like Chelsea FC and Tottenham Hotspurs, who had significantly higher budgets.</p><p>In fact, in that year, Brighton ranked 16th in the Premier League in terms of total salary paid. Finishing 6th with a low-cost team is an almost impossible task, especially when generational talents and overseas superstars are brought in at hefty prices to the bigger budget teams regularly.</p><p>Out of all the players who participated in the 2022/23 season, Brighton’s most expensive transfer was Pervis Estupinian. But that season, league-wide, his transfer fee was ranked only the 116th most expensive transfer fee out at around £20 million. Estupinian had 41 appearances in total and played a pivotal part in the team’s success that year.</p><p>As a comparison, Chelsea had paid £26.4 million to acquire their backup goal keeper, Edouard Mendy, who had a total of 12 appearances that season, which was the 83rd highest out of all league players that season.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sgCXFqRngs7ezSGupRSy5w.png" /><figcaption>Pervis Estupinian, Brighton’s most expensive transfer, was only the 116th most expensive transfer in the Premier League out of all players in the 2022/23 season</figcaption></figure><p>To see the magnitude of how much of a profit Brighton earned that season, Brighton earned £150.2 million for finishing 6th, while having paid 18th in wages in the league (a meagre £28.3 million).</p><p>The only teams that had lower wages were Leeds United, who finished 19th and were relegated, and Brentford FC, who actually ended up finishing 9th.</p><p><strong>How?</strong></p><p>How did Brighton (and Brentford) get such amazing results while being on such a tight budget?</p><blockquote>The answer: data.</blockquote><h3>Bloom’s revolution:</h3><p>One of the major reasons for the data revolution at Brighton is <strong>Tony Bloom</strong>.</p><p>A majority owner of Brighton &amp; Hove Albion FC, Bloom strongly believes in the power of data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5p9pwZgxnLJqeFTzXq829A.png" /><figcaption>Tony Bloom, who runs a betting market analysis company, is at the forefront of the data revolution at Brighton</figcaption></figure><p>Bloom owns Starlizard, a company he started in 2006 to beat the bookies by using the latest data and analytics tools to understand the sport. Starlizard has grown in the subsequent years and currently has around 200 employees.</p><p>According to a betting industry insider, Bloom was using the expected goal modeling system well before anyone knew what it was, and is probably a decade ahead in terms of technology used to understand and break down the sport.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PUO7l2nuUvSEYeaP9E5Snw.png" /><figcaption>xG (expected goal) modeling is essentially a model that takes factors like distance to goal, angle to goal and type of assist and spits out a probability between 0 and 1 for each shot being converted into a goal</figcaption></figure><p>Tony Bloom brought his exceptional modeling skills and acumen to Brighton to unearth and identify undervalued players all around the world, and grow them at the club into superstars.</p><p>But is that sufficient? Brighton’s success comes not only from obtaining undervalued players, but also from knowing when to sell their own players.</p><h3>Plan B for Brighton:</h3><blockquote>“The loss of valuable players”, says Paul Barber, the CEO of Brighton &amp; Hove Albion FC, “is actually an inevitable consequence of progress”.</blockquote><p>One of the main tenets at Brighton is knowing that selling players is a necessity, but selling them only with a solid backup plan in mind, and also knowing that they’re being sold for what they’re worth (or even more). <br> <br> This doesn’t necessarily apply to just their players. In 2022, Brighton’s manager at the time, Graham Potter was recruited (and later fired) by Chelsea. Brighton were paid £21 million for Potter’s departure, and hired Roberto de Zerbi in Potter’s place, who has fit in perfectly with the system built at Brighton. The best part of the deal for Brighton is that De Zerbi was obtained at a much lower price.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oV6UjMjwdozwNutJ.jpeg" /><figcaption>Roberto de Zerbi replaced Brighton’s previous manager seamlessly and brought them to new heights</figcaption></figure><p>The biggest thing to note is that De Zerbi was hired just 11 days after the departure of Potter. According to Paul Barber, Brighton are ready for the departure of any player, executive, coach or staff member, with backups already planned.</p><p>To facilitate this, Brighton’s substitute players typically get good playing time to get them acclimated to conditions and keep them ready to step in place of first team players, in case of any sudden injuries or last second transfers.</p><h3>Young and Old:</h3><p>Young players can be brought up through academies, but they’re pretty rare in English football. Players like Grealish, Rice and Mount are rare and expensive prospects, while players like Jude Bellingham have taken their efforts to non-Premier League teams and would require a hefty transfer fee to be brought into the Premier League.</p><p>Instead, young players like Enciso (from Paraguay), Buonanotte (from Argentina), Caicedo (from Ecuador), Mac Allister (from Argentina) are brought in from other leagues at a young age.</p><p>Stars for the team like Kaoru Mitoma have been brought it in from the Japanese J1 League was bought for a meagre £3 million in 2021. As of 2023, he currently has a market value of £50 million.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tqN6pA9C6bE9ZPbbY65sHw.png" /><figcaption>Mitoma is worth at least 15 times what he was bought for in just a matter of 2 years</figcaption></figure><p>Brighton’s system depends on these young players growing and learning from veterans like Adam Lallana (34 years old), James Milner (37 years old) and Danny Welbeck (31 years old), who’ve had successful careers at some of the biggest Premier League teams.</p><p>These players are typically obtained as free transfers at the end of their contract period, and contribute to the team and organization both on and off the field.</p><h3>Creating (and selling) superstars:</h3><p>To put all this together, and understand the impact of how Brighton creates superstars, and eventually sell them for an enormous profit to one of the big-budget teams, two players stand out as ideal examples.</p><p>Alexis Mac Allister, 20 years old, was bought from AA Argentinos Juniors, which plays in the Argentinian first division, for £8 million in January 2019. He completed loan spells back at Argentinos Juniors and Boca Juniors, before returning to Brighton in January 2020.</p><p>Back at Brighton, he began making an impact, eventually scoring 10 goals the 2022/23 season and being a dominant midfield player.</p><p>4 years later, at 24 years old, he was sold to Liverpool in June 2023 for reported fee of £55 million, for a net profit of £47 million.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hVjvgUDeMqI6OsTJEHm6-g.png" /><figcaption>Alexis Mac Allister was sold to Liverpool from Brighton for a huge net profit, after a couple of sensational seasons at Brighton</figcaption></figure><p>Moises Caicedo, 20 years old at the time, was bought from Independiente del Valle, an top-flight Ecuadorian team, for an undisclosed amount, although <a href="http://transfermarkt.us/">transfermarkt.us</a> lists it as £28 million.</p><p>This seems like a hefty fee, for someone whose market value at the time was a meagre £5 million. After being let out on loan for a year at 2nd tier Belgian team Beerschot V.A., he emerged in the premier league in the 2022/23 season as a defensive midfield threat, with a strong defensive presence and excellent passing skills.</p><p>He was awarded Brighton’s Player of the Season and the Player’s Player of the Season, voted by his peers as the best in the team. His market value shot up, with bids from Arsenal and Chelsea for £70 million and £80 million being rejected.</p><p>On 10 August 2023, reports suggested that Liverpool and Brighton had agreed to a £111 million fee. But a couple days later, on 12 August 2023, Chelsea swooped back in with a whopping £115 million fee, inclusive of add-ons. That provides Brighton with a net profit of £87 million.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X9AWhbn1e32TzqxGHrgmKQ.png" /><figcaption>Moises Caicedo was sold to Chelsea after a dramatic transfer saga after being awarded Brighton’s Player of the Season</figcaption></figure><h3>Football’s Moneyball is here:</h3><p>We’ve seen this before in other teams, <a href="https://medium.com/@vishbs/the-football-revolution-and-why-its-almost-here-5c7a688515e6">as I’ve written previously</a>. But Brighton’s revolution is exemplary, competing and beating teams with bigger budgets, and arguably, more talent on paper.</p><p>A very similar story is seen in fellow Premier League team, Brentford FC. Brentford, who had the lowest wages paid in the 2022/23 season, finished 9th that season, by following a similar data-driven method. Matthew Benham, who actually worked under Tony Bloom, followed a very similar trajectory to Bloom and started a research hub for sports betting called SportsOdds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ub77o7ISpzjlkBHl.jpeg" /><figcaption>Matthew Benham, Tony Bloom’s protege of sorts, revolutionzed Brentford FC in a similar data-driven manner</figcaption></figure><p>He eventually bought a major stake in struggling Brentford, and converted them into a successful Premier League team from the depths of English football.</p><p>Seeing these teams evolve and compete with the big teams week in and week out has been an absolute joy over the last few years.</p><p>And chances are that we’ll be seeing more of these David &amp; Goliath stories in the very near future.</p><p>______________________</p><p>References:<br><a href="https://www.telegraph.co.uk/football/2023/01/31/revealed-200-maths-prodigies-who-help-brighton-conquer-transfer/">https://www.telegraph.co.uk/football/2023/01/31/revealed-200-maths-prodigies-who-help-brighton-conquer-transfer/</a></p><p><a href="https://www.linkedin.com/pulse/case-studies-why-brighton-holve-albion-fc-king-transfer/">https://www.linkedin.com/pulse/case-studies-why-brighton-holve-albion-fc-king-transfer/</a></p><p><a href="https://theathletic.com/4237821/2023/04/21/brighton-scouting-premier-league-tony-bloom/">https://theathletic.com/4237821/2023/04/21/brighton-scouting-premier-league-tony-bloom/</a></p><p><a href="https://theathletic.com/4095092/2023/01/18/brighton-setting-standard/">https://theathletic.com/4095092/2023/01/18/brighton-setting-standard/</a></p><p><a href="https://analyticsfc.co.uk/blog/2022/09/20/data-in-context-how-did-graham-potters-brighton-achieve-a-big-six-style-of-play-with-a-bottom-six-budget/">https://analyticsfc.co.uk/blog/2022/09/20/data-in-context-how-did-graham-potters-brighton-achieve-a-big-six-style-of-play-with-a-bottom-six-budget/</a></p><p><em>Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-796877175/"><em>LinkedIn</em></a><em>, check out my </em><a href="https://github.com/vishnubharadwaj00"><em>GitHub</em></a><em> for the projects I’ve done, or my personal </em><a href="https://vishnubharadwaj00.github.io/"><em>website</em></a><em> for all my work.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=977abe738c1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How NOT to Build a Data Science Project]]></title>
            <link>https://medium.com/data-science/how-not-to-build-a-data-science-project-baa494d98da4?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/baa494d98da4</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[advice]]></category>
            <category><![CDATA[project-based-learning]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Tue, 28 Jul 2020 13:49:43 GMT</pubDate>
            <atom:updated>2020-07-28T13:49:43.976Z</atom:updated>
            <content:encoded><![CDATA[<h4>Projects</h4><h4>The mistakes I made along the way, and how you can avoid them in your next project.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6kdnGO50tUXpp0vE" /><figcaption><strong>The Absolute No-No’s of a Data Science Project</strong> (Photo by <a href="https://unsplash.com/@dimhou?utm_source=medium&amp;utm_medium=referral">Dimitri Houtteman</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a>)</figcaption></figure><p>I knew I was doing something wrong.</p><p>I had built up a repertoire of interesting, practical projects. I had a couple of online courses to showcase what I had learnt. I even built a portfolio website to showcase all my projects and articles (which you can access <a href="https://vishnubharadwaj00.github.io/">here</a>).</p><p>But, I still felt a gaping hole in the knowledge I had. A huge, gaping, chasm-sized hole. I felt like something major was missing from the equation.</p><p>That’s when I came across some absolutely amazing playlists on YouTube on building an End-to-End Data Science project from scratch. Some great examples are <a href="https://www.youtube.com/watch?v=MpF9HENQjDo&amp;list=PL2zq7klxX5ASFejJj80ob9ZAnBHdz5O1t">this one</a> by Ken Jee, <a href="https://www.youtube.com/watch?v=C_lIenSJb3c&amp;list=PL6vjgQ2-qJFeMrZ0sBjmnUBZNX9xaqKuM">this one</a> by Daniel Bourke and <a href="https://www.youtube.com/watch?v=ZZ4B0QUHuNc">this one</a> by Data Professor. (Shout out to all of them for some absolutely brilliant content!)</p><p>I realized I needed to get started on an End-to-End Data Science project, stat (pun very much intended). Getting hands-on and diving right in, though uncomfortable at first, is the best way to learn something new.</p><p>And so I dove straight in.</p><p>Until I got stuck. Again.</p><p>And again.</p><p>And again.</p><p>But finally, after hours of toiling, a couple dozen Stack Overflow searches (thank the heavens for Stack Overflow) and a lot of banging my head against the wall out of frustration after running into a wall of errors (this didn’t help as much), I was done.</p><p>You can check out my final project <a href="http://ds-salary-predictor.herokuapp.com/">here</a>. It’s a Data Science Salary Predictor (inspired and guided by Ken Jee’s <a href="https://www.youtube.com/watch?v=MpF9HENQjDo&amp;list=PL2zq7klxX5ASFejJj80ob9ZAnBHdz5O1t">playlist</a>). I’m also working on a couple more of my own, this time with no reference or guidance, to really push myself beyond the perceived limits of my understanding.</p><p>During the process of building these projects, I learnt a whole lot, not only from a Data Science point of view, but also about how to tackle the problem of structuring such a project in the first place; by making a lot of mistakes and learning from them, again and again.</p><p>Here are some of the mistakes I had made before, and what you can do to avoid these mistakes in your next project:</p><h3>Mistake #1: Not making my projects End-to-End.</h3><p>Typically, most of the time spent on real-life applications of Data Science is on Data Cleaning and Preparation. In fact, it’s widely been acknowledged that <strong>about 80% of the time</strong> spent is on cleaning the data and transforming into a form suitable for further analysis.</p><p>As annoying as it may be, Data Cleaning is an essential step in the Data Science life cycle. Not all the datasets you might work with in a real job or internship will be as cleaned and ready to use as a Kaggle dataset.</p><p>It might be very messy, and it might possibly be your job to clean it up and make it ready-to-use.</p><p>And an equally important part of the project is productionizing and deploying projects. There’s a quote I’m seeing more and more of these days:</p><blockquote><strong><em>Your project shouldn’t end its life in a Jupyter Notebook.</em></strong></blockquote><p>Building projects and products that can be <strong>accessed by other people</strong> is one of the main uses of Data Science.</p><p>A bunch of code in a Jupyter Notebook is typically of no practical use, but building a simple Web Application using a powerful and easy-to-use tool like <a href="https://www.streamlit.io/">Streamlit</a> or a slightly more complex tool like <a href="https://flask.palletsprojects.com/en/1.1.x/">Flask</a>, to showcase what you built, just that little bit of extra effort, makes it a lot easier for people to see what you’ve built.</p><p>It’s very important to start with strong foundations and end with a tangible, practical product.</p><p><strong><em>Pro Tip: Get your own data (web scrape if you have to). Clean it, preprocess it, do some feature engineering. And don’t forget to productionize your project with Streamlit or Flask.</em></strong></p><h3>Mistake #2: Not spending time on the things that matter most.</h3><p>Pareto’s principle (also known as the <strong>80–20 rule</strong>) states that, for many events, around 80% of the effects come from 20% of the causes. Similarly, in a project, around 80% of the value comes from just 20% of the things you do. Equivalently, what this also means is that around 80% of the things you might do don’t really add a whole lot of value (around 20% only).</p><p>I used to spend a lot of my time thinking and analyzing about the different options or different paths I could take with my project.</p><p>I shouldn’t have.</p><p>I should have just gotten started with something. I could have dealt with the after-effect of having chosen the wrong option, later.</p><p>A simple example of where I’ve wasted a lot of time: <strong>Cloud providers</strong>.</p><p>If you’re with me so far, productionizing a project using Streamlit or Flask is very important. But also, deploying that project so that it can be accessed by everyone is also equally important.</p><p>And there are a lot of options out there to do this.</p><p>I started obsessively analyzing and researching all the different options to help deploy my project. Looking up all the differences between AWS and GCP, the pros and cons for each, what instances they provide, what costs I might have to incur, and so on.</p><p>Until I realized the mistake I was making. I just had to deploy it, period. It didn’t matter where.</p><p>So, I deployed it on <a href="https://www.heroku.com/">Heroku</a> for free. (They allow one free deployment, which I graciously used).</p><p>Next time, I’ll deploy it on whatever I find to be the easiest. No second thoughts.</p><p><strong><em>Pro Tip: Stop thinking, start doing. Use the 80–20 rule to your advantage.</em></strong></p><h3>Mistake #3: Not planning what the end result will look like.</h3><p>If I’ve managed to convince you by now that productionization and deployment are invaluable steps in your project life cycle and about the power of the 80–20 rule, then another equally important and frequently overlooked step is planning what the final result is going to look like.</p><p>Okay, let’s assume you’ve agreed with my logic so far and you’ve decided you want to build a web application showcasing your project.</p><p>But what is that application going to do?</p><p>Ask yourself questions about the UI, such as:</p><ul><li>What are the<strong> inputs </strong>it takes from the user?</li><li>In <strong>what form</strong> are you going to take in the inputs?</li><li>What’s the <strong>end result</strong> your model is gonna spew out?</li><li>What form is the <strong>output</strong> going to be in?</li><li>Are there any <strong>additional features</strong> that I could add that will make the user experience better?</li><li>Are there some things I should <strong>avoid</strong> at all costs?</li></ul><p>During my Data Science Salary Predictor project, I made the grave mistake of not thinking about the final interface and its layout. When I finally got to that stage, I saw that the user’s categorical inputs would make no sense to my model, so I had to go back and change certain categorical variables into ordinal variables, wasting some valuable time in the process.</p><p>Answering these questions at the beginning will save a whole lot of time later on, and it will avoid you having to go back and forth between the different steps <strong>unnecessarily</strong>. I use the word ‘unnecessarily’ here for a reason, which brings me to Mistake #4.</p><p><strong><em>Pro Tip: Have a rough idea of the end-result when you start, in whatever form it may be. Sketch it out somewhere if you have to.</em></strong></p><h3>Mistake #4: Not circling back to previous stages.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SgzHN6H7R46HAtPa.jpeg" /><figcaption><strong>The Data Science Life Cycle</strong> (Credits: <a href="https://towardsdatascience.com/@chanin.nantasenamat">Chanin Nantasenamat</a> in collaboration with <a href="https://medium.com/@kenneth.b.jee">Ken Jee</a>)</figcaption></figure><p>Typically, any project can be categorized into these 5 major stages: Data Collection, Data Cleaning, Exploratory Data Analysis, Model Building and Model Deployment.</p><p>But a major mistake I made was thinking that the process was a linear series of steps, when in fact, it’s an iterative and often, cyclical process.</p><p>As an example, during my Data Science Salary Predictor project, when I was at the Model Building stage, I thought of a couple more interesting features that I could have added, to give as inputs to my model.</p><p>So what did I do?</p><p>I went all the way back to the Data Cleaning and Preprocessing step, had to do some additional feature engineering, and had to perform some Exploratory Data Analysis on the new data, and build another model with the additional features.</p><p>Sometimes, these circling backs might be completely unnecessary, such as in Mistake #3.</p><p>But sometimes, you might have a new insight after having worked with the data for a while and in that case, circling back is the right thing to do.</p><p><strong><em>Pro Tip: Plan as much as necessary before hand, but circle back if needed. That little effort might make your project a lot better, for all you know.</em></strong></p><h3>Mistake #5: Not introspecting and evaluating after the project is deployed</h3><p>A step I neglected completely, and what might actually be the most important step of them all, is evaluating your project after you’re done.</p><p>Seeing what went right, what went wrong, and how to improve next time.</p><p>I learnt this about this very important step from Daniel Bourke’s <a href="https://www.youtube.com/watch?v=aBkUE5OJ8u8">video</a> after the Airbnb project he had embarked upon.</p><p>Take some time, analyze all the steps of your project, introspect, learn from them and move on.</p><p>This article wouldn’t exist without this step. The mistakes listed here are those that I learnt from my projects, and I’m almost sure that anyone embarking on a project of their own will commit certain mistakes along the way. Learn from them, make sure you don’t repeat them next time, move on.</p><p><strong><em>Pro Tip: Go back and see what went right and wrong, and learn from them.</em></strong></p><blockquote><em>“It is okay to mistakes, as long as you learn from them.” — Anonymous</em></blockquote><p>And most importantly: don’t forget to have fun along the way.</p><p><em>Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-796877175/"><em>LinkedIn</em></a><em>, check out my </em><a href="https://github.com/vishnubharadwaj00"><em>GitHub</em></a><em> for the projects I’ve done, or my personal </em><a href="https://vishnubharadwaj00.github.io/"><em>website</em></a><em> for all my work.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=baa494d98da4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/how-not-to-build-a-data-science-project-baa494d98da4">How NOT to Build a Data Science Project</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Cal Newport Saved my CS Career]]></title>
            <link>https://medium.com/@vishbs/how-cal-newport-saved-my-cs-career-141028f4cd34?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/141028f4cd34</guid>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[self-help]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[tips]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Thu, 16 Jul 2020 12:35:17 GMT</pubDate>
            <atom:updated>2020-07-19T14:22:07.427Z</atom:updated>
            <content:encoded><![CDATA[<h4>Productivity</h4><h4>And what you can learn from my journey.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9aV46VAVFhTT5896" /><figcaption><strong>Something sorely missing right now.</strong> (Photo by <a href="https://unsplash.com/@stefanbc?utm_source=medium&amp;utm_medium=referral">Stefan Cosma</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a>)</figcaption></figure><p>I was struggling.</p><p>I was halfway through the second year of my undergraduate CS degree. And I wanted to quit.</p><p>There were a lot of personal reasons I wanted to quit, but one of the main reasons was that I felt stuck and unable to attain my full potential. Growing up, I had always been told, “Hey, you’re a smart kid. You have a lot of potential.” I had always had a loosely structured work ethic; I worked twice as hard as others to get the same result as them. But this never really sat right with me.</p><blockquote><em>Want to read this story later? Save it in </em><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=blog&amp;utm_campaign=noteworthy&amp;utm_content=eid7"><em>Journal</em></a><em>.</em></blockquote><p>During my degree, I felt like a hamster in a wheel, running in place with no real destination. Always working hard, only to get mediocre results. I was getting really tired, really fast, and I had the “rational” thought of “Hey, why don’t I just quit?”</p><p>Luckily for me, somewhere around the same time I was thinking of quitting, I went to a bookstore and came across a book. And immediately, the title of this book really struck a chord with me:</p><p><strong>So Good They Can’t Ignore You.</strong></p><p>I thought to myself, “Hey, that’s what I want to be: really good at whatever it is I do.” So I picked it up and the book right next to it, “<strong>Deep Work</strong>”, also by Cal Newport, and it’s safe to say my life’s never been the same since. (Read till the end if you’d like to know how I’m doing now.)</p><p>I have since purchased two of his other books “<strong>How to be a Straight-A Student</strong>” and “<strong>Digital Minimalism</strong>”, which also had an equally significant impact on me.</p><p>Here are some of the things I’ve learnt from these books and how they might help you as well:</p><h3>Work accomplished = Time Spent x Intensity of Focus</h3><h4>(From How to be a Straight-A Student)</h4><p>This was one of the foundations for the book “How to be a Straight-A Student”, outlining the unconventional strategies that college students used to study a lot less but still ace their college life. The key part of this formula is <strong>Intensity of Focus</strong>, which basically refers to how much concentration and focus you’re putting into a particular task.</p><p>Haphazardly flitting across different tasks or multitasking are all ways to diminish focus, and is basically the equivalent of completing your assignment with both your hands tied behind your back. Instead, putting in many short intervals of high focus to complete a task is much easier and takes a lot less time in the long run.</p><p>Ever since reading about this, I have used this technique for every test or exam I’ve prepared for. I adopted the vastly popular <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique">Pomodoro technique</a>, where I study for 25 minutes with high concentration levels and take a 5 minute break after that to recharge. 4–5 of these sessions and I’m done for the day, having gotten a lot more done than if I had just continuously studied for hours together.</p><p><strong>Pro Tip: Use the Pomodoro Technique. Now.</strong></p><h3>Active Recall is the only studying that matters.</h3><h4>(From How to be a Straight-A Student)</h4><p>Active recall, or Quiz-and-Recall as Cal calls it, is the polar opposite of rote memorization or flipping through a textbook a couple of times. Active recall consists of <strong>understanding the concept at hand and then explaining the concept out loud, without any help or referral to your textbook or notes</strong>. It’s a variation of the <a href="https://collegeinfogeek.com/feynman-technique/">Feynman technique</a>, named after legendary physicist Richard Feynman.</p><p>It’s hard. It’s uncomfortable. The act of trying to force information out of your brain is painful. But over time, you get used to it. And guess what? If you can explain it well without any help, you’re done. That’s it. It is brutally time-effective.</p><p>During the 25-minute Pomodoro sessions, I try and do as much active recall as possible. Although initially uncomfortable, I was able to save a ton of time with this method. In fact, thanks mainly to this method, I was typically done studying the day before an exam or test, and so I’ve never had to pull an all-nighter ever. I’d usually spend the evening and night before relaxing by watching TV or reading.</p><p><strong>Pro Tip: Explain things out loud when studying. Nothing else matters.</strong></p><h3>“Follow your passion” is terrible advice.</h3><h4>(From So Good They Can’t Ignore You)</h4><p>It’s very likely that you’ve heard the phrase “Follow your passion”. But in the book “So Good They Can’t Ignore You”, Cal makes the argument that skills matter way more than passion in finding a career that is meaningful and satisfying. Putting in the time to build important, valuable skills should be the mainstream way to build a career that you end up loving.</p><p>This particular piece of writing really resonated with me. One of the reasons I wanted to quit my CS degree was because I didn’t feel “passionate” about the subjects I was learning.</p><p>I was almost certain that there was a different career trajectory out there for me and this was not it. But after I read this, I realized that if you don’t have a pre-existing passion (I didn’t), then <strong>passion is simply a byproduct of building important, necessary skills.</strong></p><p>It’s not the destination, it’s the journey.</p><p><strong>Pro Tip: Don’t worry about passion. Passion doesn’t matter. Only skills do.</strong></p><h3>The Idea of Career Capital.</h3><h4>(From So Good They Can’t Ignore You)</h4><p>According to Cal, there are typically 3 traits that make a career compelling and enriching: Creativity, Impact and Control. Being stimulated creatively, having a significant impact and having a degree of control over your own career are some of the things that people ideally want in a career.</p><p>And to gain these things, Cal introduces the concept of <strong>Career Capital, or rare and valuable skills, that you can exchange for these traits</strong>. Like a commodity like oil or gold, these skills can be leveraged to build a sustainable career. Without the necessary skills, asking for these factors in a career is close to impossible.</p><p>How do you gain these skills? <a href="https://en.wikipedia.org/wiki/Practice_(learning_method)#Deliberate_practice"><strong>Deliberate practice</strong></a><strong>.</strong> Deliberate practice consists of a well-defined stretch goal, a little beyond your current capabilities, and full concentration and effort practicing that skill repeatedly to attain that goal, while getting constant feedback. Active Recall, as discussed above, is one important form of deliberate practice.</p><p><strong>Pro Tip: Gain rare and valuable skills using Deliberate Practice.</strong></p><h3>Embracing Boredom.</h3><h4>(From Deep Work)</h4><p>Deep Work was arguably one of Cal’s more popular books, and created the largest ripple effect, making the discussion and criticism of current technological use more mainstream. According to Cal, <strong>Deep Work is the ability to perform activities in a state of distraction-free concentration that push your cognitive capabilities to their limit.</strong> Deep Work is becoming increasingly rare, and yet is increasingly valuable, a winning combination for those who can actually practice Deep Work.</p><p>In one part of the book, he talks about actually embracing boredom and making that a more significant part of our lives. According to him, Deep Work is not an overnight decision, but rather like a muscle that has to be trained. So if Deep Work is equivalent to working out at the gym, boredom would be adopting a healthy diet and staying away from junk food. They need to coexist to have any kind of effect.</p><p>Only by removing the constant distractions around us can we be preparing our brains for the type of hard thinking that Deep Work needs. As Cal says, <strong>“Take breaks from focus, not distraction.”</strong></p><p><strong>Pro Tip: Be bored, for a fixed period everyday. Let your mind wander, without any distractions. Be intrigued by the thoughts you come across.</strong></p><h3>Schedule Every Minute of your Day.</h3><h4>(From Deep Work)</h4><p>Planning is a crucial part of productivity. Without proper planning, it could seem like you’re ‘busy’, but without any major impact. We sometimes run on autopilot, not really worrying about what we do with our time during the day. But over a longer period of time, this turns out to have a really negative impact.</p><p>To sidestep this major problem, Cal suggests <a href="https://www.calnewport.com/blog/2013/12/21/deep-habits-the-importance-of-planning-every-minute-of-your-work-day/">time-blocking,</a> a planning method in which you plan the entire day using blocks or chunks (Time chunking doesn’t have the same ring to it though). It’s a simple method but it is highly effective.</p><p>I adopted this and struggled with it initially, because I always underestimated the time for a given task, and had to switch up my entire schedule sometimes. On some days, interruptions I hadn’t planned for might pop up, which requires some planning around.</p><p>But again, over time, I started to get the hang of this technique, and it’s allowed me to really make the most of my days.</p><p><strong>Pro Tip: Plan your day by Time Blocking.</strong></p><h3>Quit Social Media.</h3><h4>(From Deep Work/Digital Minimalism)</h4><p>Probably the most controversial statement of Cal’s has been ‘Quit Social Media’. He is a huge critic of social media and their highly engineered manner to grab as much of our attention as possible. Having never had a social media account, Cal had a very unique insight into how these apps and devices were wreaking havoc on our brains. He’s even given a <a href="https://www.youtube.com/watch?v=3E7hkPZ-HTk">TED Talk</a> on this topic.</p><p>This piece of advice is the one I have prioritized over any other, simply because I was also getting bogged down by social media. Seeing everyone else’s happy lives made me question the happiness of my own, when the truth is that that was not the full picture that I was seeing.</p><p>So, <strong>I quit</strong>. I quit everything. The first week or two were really difficult. I kept picking up my phone, only to realize I’d uninstalled all the apps. Keeping in touch with friends became a little bit more difficult. I felt like I was missing out on something.</p><p>But after the first week or two, <strong>I felt free</strong>. I had so much more time on my hands now, to do the things that were really valuable to me. As a millennial not on social media, being the only one among my peers not in this hyper-connected state, I had a unique edge over my peers. More importantly, I started enjoying the little things in life. The things people usually missed while looking into their screens.</p><p>Now, it’s been more than 2 years since I quit. I have only a select few technologies that I use because they’re valuable to me such as Whatsapp for my college groups and LinkedIn for professional purposes like sharing my projects. <strong>Now, I’m really starting to wonder how I ever was on social media. </strong>There have been times where I reinstalled some of the apps, only to get disillusioned after a few hours, and uninstalling them again. I’m happier without it.</p><p><strong>Pro Tip: Quit social media, either for a fixed period of time, or indefinitely. Push through the initial pain, and see remarkable changes immediately.</strong></p><h3>So, how’s my life now?</h3><p>A million times better. I decided to push through and continue with CS, and graduated last month, with a pretty good GPA. I was also accepted into a highly ranked university for my graduate studies (hint: Go Boilermakers!). I’ve picked up quite and mastered quite a few important skills in Data Science, one of my main interests (and dare I say, passion?)</p><p>I’m happier, way more productive, not on social media and enjoying the important things in life.</p><p>Thank you, Cal Newport, for saving my career before it even started.</p><p><em>Check out Cal Newport’s blog, </em><a href="https://www.calnewport.com/blog/"><em>Study Hacks</em></a><em>, or any of his books, for some great content. Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-796877175/"><em>LinkedIn,</em></a><em> or check out some of the Data Science projects I’ve done on my </em><a href="https://github.com/vishnubharadwaj00"><em>GitHub</em></a><em>.</em></p><p>📝 Save this story in <a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_read_later_text">Journal</a>.</p><p>👩‍💻 Wake up every Sunday morning to the week’s most noteworthy stories in Tech waiting in your inbox. <a href="https://usejournal.com/newsletter/noteworthy-in-tech/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_text">Read the Noteworthy in Tech newsletter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=141028f4cd34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Unique Visualizations of the NBA]]></title>
            <link>https://medium.com/data-science/10-unique-visualizations-of-the-nba-b981cfdb78bf?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b981cfdb78bf</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[nba]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[sports]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Sat, 06 Jun 2020 09:07:47 GMT</pubDate>
            <atom:updated>2020-06-21T13:54:26.162Z</atom:updated>
            <content:encoded><![CDATA[<h4>Sports Analytics</h4><h4>A Data Science Approach to Cope with Missing Basketball</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T5mXW2jRL4NoxZCw" /><figcaption><strong>Come back quick, basketball. </strong>(Photo by <a href="https://unsplash.com/@tjdragotta?utm_source=medium&amp;utm_medium=referral">TJ Dragotta</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a>)</figcaption></figure><h4>I miss the NBA.</h4><p>The suspension of the NBA due to the COVID-19 pandemic is just one of the small disruptions in the world today. But like many other sports enthusiasts, I miss the thrill of watching live sports.</p><p>So I dealt with it, the same way any Data-loving, basketball enthusiast would: <strong>I dove into the stats, and built some graphs.</strong></p><p>I used <strong>Tableau </strong>(something I only recently learnt how to use, but absolutely love already) to build these plots, and a <a href="https://www.kaggle.com/justinas/nba-players-data">dataset</a> I found on Kaggle, which contains information about all players who’ve played in the NBA from the 1996–97 season to 2019–20 season.</p><p>Before I even started, without creating a single graph, I immediately stumbled upon my first interesting insight:</p><blockquote><strong>There have been only 2235 unique players in the NBA since 1996.</strong></blockquote><p>That’s an insanely low number, for 24 years of basketball. And that’s why we keep hearing experts say that getting into the NBA is like “winning the lottery”.</p><h3>Before the NBA</h3><p>College basketball is the typical recruitment point for the NBA, with most players turning pro after a successful college basketball career. Tournaments like NCAA March Madness are extremely popular, and players who shine in these tournaments catch the eye of NBA recruiters.</p><h4>1. What are the most successful colleges, in terms of getting players to the NBA?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*jbDeKg469x6AO8FAjmE9CQ.png" /><figcaption><strong>Number of Players from each College who’ve played in the NBA</strong></figcaption></figure><p>These are the top 20 colleges in the US in terms of players who have gone on to play in the NBA.</p><blockquote>The top 3 colleges are <strong>The University of Kentucky, Duke University and the UCLA</strong> are the most successful colleges with 168 players going on to play in the NBA.</blockquote><p>Players are typically drafted from colleges in different draft rounds. Being a first-round draft pick, means you’re the best of the best.</p><h4><strong>2. But does the draft round affect how many games the player ends up playing per season?</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*pKRHxrVqgwC5g6ulRoNEvw.png" /><figcaption><strong>Draft Round vs Average Games Played per Season</strong> (Color indicates Average Points per Season)</figcaption></figure><p><strong>Not necessarily.</strong></p><p>1st round picks only play the 3rd most number of games, while 7th and 3rd round picks play more games on average per season.</p><p>But in terms of average points per season (the colors in the plot), the 1st round picks contribute the most points. Could this be because 1st round picks are rested a bit more to score more efficiently in crucial and important games for the team? <br> <br>Another interesting insight, <strong>being undrafted helps you</strong> play more games than being a 4th, 6th or 8th round pick. Surprising.</p><h3>The Biggest of the Biggest</h3><p>So the player has been drafted. Chances are he’s really tall and really strong. The NBA’s known for having the tallest and strongest players, real athletic specimens.</p><p>In fact, the average height and weight of the players since 1996 are 200.8 cm (6&#39;5&#39;’) and 100.6 kg (221.7 lbs).</p><h4>3. Who were the biggest players out of all of them?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*5L9t9imjrLqwCuwJXdWHvw.png" /><figcaption><strong>NBA’s biggest players, in terms of Height (cm) and Weight (kg)</strong> (Color represents Country)</figcaption></figure><p>As most of the players in the NBA do come from the USA, it’s definitely no surprise that some of the biggest players are from the USA as well.</p><p>But it looks like one of the biggest ever was <a href="https://en.wikipedia.org/wiki/Sim_Bhullar"><strong>Sim Bhullar</strong></a> from Canada (who was actually the first Indian-origin player in the NBA), who was 2.26m (7’5’’) and 163 kg (359 lbs).</p><p><a href="https://en.wikipedia.org/wiki/Shaquille_O%27Neal"><strong>Shaquille O’Neal</strong></a>, known as one of the best “big guys” in the NBA, was 2.15m (7’1’’) and 145 kg (319 lbs). <a href="https://en.wikipedia.org/wiki/Yao_Ming"><strong>Yao Ming</strong></a> (the unlabeled orange icon in the graph) was also one of the best “big guys”, and was 2.29m (7&#39;6&#39;’) and 141 kg (310 lbs)</p><h3>The Most Important Team Statistic?</h3><p>Teams can be measured in many different ways, each bringing out different insights. But arguably, one of the most important is “Net Rating”. Net rating refers to the team’s point differential per 100 possessions.</p><h4>4. Which team has the best and worst Net Rating?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*2esyA2thxLOcaMY_rhSbFw.png" /><figcaption><strong>Average Net Rating for all teams since 1996 </strong>(Color indicates Average Age of the team)</figcaption></figure><p>Turns out, the <strong>San Antonio Spurs have the best Net Rating on average, since 1996, with +3.24</strong>, meaning on average, for every 100 possessions, they’re ahead by 3 points. Only 2 other teams have positive Net Ratings, the Miami Heat and Oklahoma City Thunder. The <strong>worst team is the now defunct Vancouver Grizzlies, with -8.39</strong>.</p><p>Another surprising insight is that the <strong>San Antonio Spurs were also the oldest team on average</strong>, over all the seasons. Does experience, in the form of having an older team, actually work? That’s probably the basis for another analysis.</p><h3>The Best Offensive Players</h3><p><em>(Disclaimer: These statistics are from 1996 onwards, so with only about half of Michael Jordan’s career recorded here, he’s not on </em><strong><em>these</em></strong><em> lists, but with a bigger dataset, you can be sure he’d be right up there.)</em></p><p>There are so many metrics that individual players can be measured by. For an offensive player, the player in charge of trying to create as many baskets as possible, the most used and analyzed metrics are Points and Assists.</p><h4>5. Which players have the most Points and Assists?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*H2-qI8wfkXE7AYxBsSyd8w.png" /><figcaption><strong>Total Points vs Total Assists</strong> (Color indicates Total Games Played)</figcaption></figure><p><strong>LeBron James</strong>, in a complete league of his own, a complete outlier, well above the rest of the pack with a whopping 34,027 points and 9,280 assists. <strong>Kobe Bryant</strong> (RIP Mamba) is the only one who can come close to LBJ with 33,633 points and 6,319 assists. (I Googled Michael Jordan’s stats for completeness and he would come somewhere around third, with 32,292 points and 5,633 assists)</p><p>Other notable players on the list are <strong>Dirk Nowitzki</strong>, with 31,561 points, and 3,667 assists, and <strong>Allen Iverson</strong>, who’s played the least number of games out of everyone on this graph, with 24,380 points and 5,622 assists in just 914 games. (In comparison, LeBron’s played 1,256 games, Kobe’s played 1,346 games and Dirk’s played 1,522 games).</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Using points and assists in a different way can bring out more insights. Using total shooting efficiency of a player and the percentage of assists by the player while on the floor, a completely different set of players show up.</p><h4>6. Which players had the highest Shooting Efficiency and Assist Percentage?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*LoH8Mml8qN6j97fDkeS-AA.png" /><figcaption><strong>Scoring Efficiency % vs % of Assists Contributed </strong>(Color indicates Average games played per Season)</figcaption></figure><p><strong>John Stockton</strong> seems almost like an outlier, with a high shooting efficiency and high average assist percentage. But the repetition of certain players in this graph, such as <strong>Steph Curry, James Harden, LeBron James and Chris Paul</strong>, showcases their superior shooting ability. Also younger, current players like <strong>Ben Simmons</strong> and <strong>Nikola Jokic</strong>, are definitely on the rise and will soon dominate these statistics with consistent perfomances.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Play usage percentage is an estimate of the percentage of team plays used by a player while he was on the floor. Typically, when the play usage percentage increases, the scoring efficiency decreases for a player. The real superstar players are those who can keep both these numbers up, turning into very efficient shooters.</p><h4><strong>7. Who were the most effective shooters?</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*L8m-h4qAeyf2L1hX9uq6mQ.png" /><figcaption><strong>Scoring Efficiency % vs Play Usage %</strong> (Color indicates Average games played per Season)</figcaption></figure><p><strong>Joel Embiid</strong> has the highest average play usage percentage, while <strong>Boban Marjanovic</strong> has the highest average shooting percentage.</p><p>But the most effective superstar shooters seem to be <strong>Kevin Durant, James Harden and LeBron James,</strong> due to their all-round ability in using plays and having a high shooting efficiency.</p><p>Closely following them are <strong>Anthony Davis, Shaquille O’Neal and Steph Curry.</strong></p><h3>The Best Defensive Players</h3><p>Although typically overlooked, defensive players are those who do most of the grunt work and actively contribute to the success of a team. Without a great defensive player, no matter how many great offensive players you might have, you’ll end up on the worse side of things.</p><p>Rebounds are another important metric for measuring the efficiency of these defensive, lockdown players. A Rebound refers to a player retrieving the ball after a missed field goal or free throw.</p><p>There are 2 types of rebounds, offensive and defensive. A superstar defensive player ideally has a high number of both types of rebounds.</p><h4>8. Who were the best players defensively, in terms of rebounds?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*J-bshpoWo7kVCuVHRheu8w.png" /><figcaption><strong>Average Offensive Rebound % vs Average Defensive Rebound % </strong>(Color indicates Average Games played per Season)</figcaption></figure><p>With at least 10 games played per season on average, and a minimum of 2 seasons, these were the top 10 defensive players in terms of rebounds.</p><p>The best defensive rebounder was <strong>Chris Boucher</strong>, and the best offensive rebounders were <strong>J.R Giddens</strong> and <strong>Torraye Braggs</strong>.</p><p>But what matters most in a defender is their all-round ability, and the best players in terms of both offensive and defensive rebounds are <strong>Dennis Rodman</strong> and <strong>Andre Drummond</strong>.</p><h3>Double Double Trouble Trouble</h3><p>Another metric used very often is the “Double Double”, when a player has more than 10 points in 2 of the following metrics: points, assists, rebounds, steals and blocks.</p><p>Most Doubles Doubles are typically made of points, assists and rebounds, which I’ve referred to here as “Most Common Double Double”.</p><h4>9. Which players had the most seasons averaging the “Most Common” Double Double?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*uu6YsO4n2nOQo3N3-3prHw.png" /><figcaption><strong>Number of Seasons averaging the “Most Common” Double Double</strong></figcaption></figure><p><strong>Dwight Howard</strong> (14 Double Double seasons) narrowly edges over <strong>Tim Duncan</strong> (13 Double Double seasons) to have the highest number of seasons averaging the “Most Common” Double Double.</p><p><strong>Anthony Davis</strong>, a younger and current player, also being on this list indicates that with a couple of great seasons, he has a very good chance of moving up this list.</p><p>And it’s amazing how <strong>Chris Paul</strong> features in this graph as well, showcasing his brilliant shooting ability as well as his all-rounded abilities.</p><h3>The Evolving Game?</h3><p>There have been many conversations on how the game has changed over time. Many people think the aggressiveness and intensity has decreased over time, while others believe that the game has evolved into a more graceful and watchable format.</p><p>Arguably, some of the most important metrics used so far were Points, Assists and Rebounds.</p><h4>10. How much have these important metrics (Points, Assists, Rebounds) actually changed over time?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*UJ1vqbbMDBGjc11_2qBdRQ.png" /><figcaption><strong>Points, Rebounds and Assists Over Time (1996–97 to 2019–20)</strong></figcaption></figure><p><strong>Total assists per season</strong> and <strong>total rebounds per season </strong>seem <strong>constant</strong> for the most part, with a slightly increasing tendency.</p><p><strong>Total points per season</strong>, on the other hand, has <strong>significantly increased</strong>. The 1996–97 season had a total of 3,540 points whereas the 2018–19 season had 4,565 points. Even the incomplete 2019–20 season already has 4,434 points, well on track to go past the 2018–19 season, becoming the highest scoring season of all time (whenever and however the season resumes). <br>This increase in points could be attributed to the rise of the 3-Pointer revolution, with more and more 3-Pointers being scored now than ever before. It could also be due to the fact that there are a lot more high scoring matches now than before.</p><h3>Conclusion</h3><p>I hope you were able to take away some kind of insight from these graphs, because I certainly did. It’s just another way of showing that<strong> the best way to learn is by doing.</strong></p><p>I’m open to any kind of suggestions or modifications to these visualizations, or ideas for new ones. Definitely do use them in whatever basketball conversations and arguments you have, as you see fit.</p><p>And I hope it helps fill the void left by the lack of sports right now. (Come back soon, normal life)</p><p><em>Feel free to reach out to me on </em><a href="https://www.linkedin.com/in/vishnu-bharadwaj-796877175/"><em>LinkedIn</em></a><em>, or check out my </em><a href="https://github.com/vishnubharadwaj00"><em>GitHub</em></a><em> for other projects I’ve done.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b981cfdb78bf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/10-unique-visualizations-of-the-nba-b981cfdb78bf">10 Unique Visualizations of the NBA</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Football Revolution and Why It’s Almost Here]]></title>
            <link>https://medium.com/@vishbs/the-football-revolution-and-why-its-almost-here-5c7a688515e6?source=rss-3aec1f939bc8------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c7a688515e6</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[moneyball]]></category>
            <category><![CDATA[soccer]]></category>
            <dc:creator><![CDATA[Vishnu Bharadwaj]]></dc:creator>
            <pubDate>Mon, 02 Jul 2018 12:10:02 GMT</pubDate>
            <atom:updated>2018-07-02T12:10:02.098Z</atom:updated>
            <content:encoded><![CDATA[<p>This World Cup season, the whole world, football fans or not, are abuzz about the ongoing tournament being held in Russia. (Ah yes, that football.) So why not learn a bit more about ‘The Beautiful Game’ to try and show off to your die-hard football friends and family members, eh?</p><p>Let’s start somewhere completely unrelated.</p><p>Brad Pitt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hYYRCQ0jHL32T5WG.jpg" /></figure><p>Do I have your attention now?</p><p>Now, what does this annoyingly good-looking specimen have to do with football? I’ll get to that.</p><p>You may know him as the lead actor in some of those iconic movies you’ve seen, such as Fight Club, Inglourious Basterds, the Ocean’s trilogy, Se7en, Mr and Mrs. Smith, to name a few.</p><p>Or you may know him as the person who has been in relationships with Hollywood’s most famous actresses like Jennifer Aniston and Angelina Jolie. Whatever the means, chances are you’ve heard of him.</p><p>Speaking of chances, Brad Pitt has also acted in a lesser known 2011 film called Moneyball.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*CrOuAJrcAi_5D5mwMNA9FQ.jpeg" /><figcaption><strong><em>Brad Pitt in Moneyball (2011)</em></strong></figcaption></figure><p>He plays Billy Beane, the General Manager of the Oakland Athletics’, a baseball team in the Major League Baseball in the USA. <strong>The story revolves around his role in reinventing the team using an experimental technique based on statistics, with the help of a Yale economics graduate, to help them win the league with a significantly lesser amount of money.</strong> The movie, nominated for an Oscar, is actually based on a book, written about the events which actually transpired during the 2002 season, during which (spoiler alert)<strong> the Oakland A’s defied all odds to win the league with a record breaking 20 game winning streak.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*oHTrEKZeP85WYQcC7L3Uxg.jpeg" /><figcaption><strong><em>The record breaking 2002 Oakland A’s</em></strong></figcaption></figure><p>What did Billy Beane do? He threw the old methods of intuition and expertise in the trash and built a team from scratch purely using statistics for the 2002 season. He knew he didn’t have the budget that the bigger teams such as the Boston Red Sox ($108 million) and the New York Yankees ($125 million). In fact, they had the 3rd lowest budget for that season with just $39 million.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*801pKgbYtI1GoZqtYf4fDQ.png" /><figcaption><strong><em>Oakland A’s had the 3rd lowest budget in the league</em></strong></figcaption></figure><p>But they used that to their advantage and bought players that scouts had previously overlooked because of their physical quirks such as throwing the ball an unconventional way or having a weird batting stance, but in fact had excellent statistics. He trusted in the statistics despite opposition from almost everyone else managing the team.</p><p>And mind you, this was in 2002, before computers and technology was as prevalent as it is now. But he preserved, and he built a dream team to win the league, with minimal financial aid.</p><p>And this started a revolution in the sports world.</p><p>Soon, teams from all different sports began to adopt this “Moneyball” technique. It became a commonly used term within sporting professionals, referring to using statistics to revamp a team. And with advancements in technology, this began to be more and more of a trend, popping up all over the world in all different sports.</p><p>Currently, the leading field in statistical analytics has to be machine learning. Machine learning is a prerequisite to Artificial Intelligence, a term you’re sure to have heard of, thanks to Siri, Google Assistant and Cortana. Machine learning is basically defined as the subfield in computer science to give computers the ability to learn without being programmed explicitly, which is basically what Artificial Intelligence deals with.</p><p><strong>So what do Siri and Cortana have to do with sports?</strong></p><p><strong>Right now, everything.</strong></p><p>To give a few examples, the Kolkata Knight Riders, in the Indian Premier League which is a cricket tournament held in India annually, used the help of SAP Labs and an auction analytics tool to give insights on impact players to buy during the 2014 season, which they then went on to win.</p><p>Most teams in the National Football League (NFL) in the USA use machine learning algorithms to pick players during the drafts.</p><p>Predicting match outcomes using such algorithms is becoming a huge trend, with big players such as Microsoft getting into the act and becoming a frontrunner in predicting NBA and NFL matches.</p><p>But one sport almost seemingly untouched by this revolution is football (yes yes, soccer). The reason being that is a much more complicated sport with a larger number of variables, making it more and more difficult to implement the same tactics used in other sports.</p><p>Predicting football games using the complex data and getting successful outcomes has become a trend, with many using it to bet on games based on the results of various simulations. UK sports betting company Stratagem is using artificial intelligence (deep neural networks, to be precise) to analyze patterns found in football matches, use them to predict outcomes of matches using the proprietary data, and possibly, earn a bit more than usual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*uSlhcWavKzce5XIAqZDmrQ.jpeg" /></figure><p><strong>For such a money driven sport, it’s a surprise that statistical analysis hasn’t yet been implemented on a large scale.</strong></p><p>Despite all the negative criticism of using a statistical intervention in football clubs, it is evident that the sport will soon be turning towards that direction and there are clear signs showcasing exactly that. There have been many attempts in the past, but none effective enough to make a big enough impact.</p><p>Immediately after the release of the movie, John W. Henry, who had implemented this “Moneyball” technique in the Boston Red Sox as its owner (the beginning of which are showcased at the end of the movie) and had a huge success, looked to do that with his investment in the English Premier League, Liverpool FC. As owner of Liverpool FC, he had hopes of making Liverpool the Boston Red Sox of the Premier League. He even tried to bring on the legendary Billy Beane himself as an advisor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*Fzv0LD7-0KxJnsICC9LuaA.jpeg" /><figcaption><strong><em>John W. Henry, owner of the Boston Red Sox and Liverpool FC</em></strong></figcaption></figure><p>He brought in Sabermetrics analysts at Anfield, Liverpool’s home, scrutinising every aspect of the team’s game, from current player performances to tactical moves. Liverpool immediately signed on Jose Enrique, a left full-back, only for the reason that he had a high pass completion rate and that he was one of the best players in the league to break into the attacking third of the field. But this soon turned into a highly expensive campaign and after about 18 unsuccessful months, this system was called off</p><p>Even smaller teams in the Premier League, like Stoke City FC, who had been trying to implement similar tactics, gave in and the method became a distant reality for the game of football and people soon forgot about such methods.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*deEVoKILe4VP_yGRHIe7hw.jpeg" /><figcaption><strong><em>Jose Enrique had a disappointing spell at Liverpool</em></strong></figcaption></figure><p>Enter FC Midtjylland.</p><p>Can’t even pronounce it, can you? (It’s Mid-Jee-Lund)</p><p>A small Danish club, on the brink of relegation to lower leagues, was bought and revamped by Matthew Benham. Matthew Benham is not your typical football club owner. He made himself a fortune by using mathematical models to bet on football matches, and eventually bought him childhood team, Brentford, a lowly League One team, languishing in the lower leagues of English Football. A strong believer in the “Moneyball” technique, he revamped the entire team based on his pure belief in statistics, very similar to Billy Beane. Brentford were promoted to the Championship that season and very nearly clinched promotion into the Premier League the very next season.</p><p>Matthew Benham then went on to buy FC Midtjylland, a team barely even heard of. He used the same techniques there, and had an even greater success. In a fairytale story (very similar to the Oakland A’s of 2002), within a matter of a season, FC Midtjylland went on to win the Danish Superliga title, their very first major trophy. <strong>The match which sealed the deal, a 2–0 win against FC Copenhagen, is said to have been the one of the best matches ever played tactically and was a true testament to the statistical revolution they underwent.</strong> Their story went viral when they were matched up with Premier League team Southampton FC, who were strong contenders, in the Europa League of 2015, and beat them convincingly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*w79V1PhJkboWmSYzFKRtLw.jpeg" /><figcaption><strong><em>FC Midtjylland pulled off an impossible feat purely with statistics.</em></strong></figcaption></figure><p>At Brentford, Benham’s team identified underrated players and transformed them into superstars for the team. As an example, they made a staggering profit on striker Andre Grey, who was signed for just £500,000, and was eventually sold for a massive £9,000,000. Andre Grey was identified by Benham’s statistical team.</p><p>Rasmus Ankersen, who works alongside Benham at both clubs, said: “I met Matthew a few years ago. At the time, Brentford were third in League One and there were a couple of games to go.<strong> I said to him, ‘What are the chances of getting promoted?’ When you ask that question you expect an emotional ‘yes’ or ‘no’ from a football owner. But he just said rationally, ‘At the moment, there’s a 42.3 per cent chance we will get promoted’. </strong>I knew then he was a guy who was thinking very differently about football than I have ever ­experienced before.”</p><p>Matthew Benham has been hailed as the Billy Beane of modern day football.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*-jY5rV9U-L9DaZ9zIBWGXQ.jpeg" /><figcaption><strong><em>Matthew Benham(left) with Rasmus Ankersen</em></strong></figcaption></figure><p>Next, a team you’ve probably heard of.</p><p>Leicester City FC.</p><p>I’m disappointed if you can’t pronounce this one.</p><p>Surprise winners of the Premier League title in the 2015/16 season who didn’t use the exact same tactics as Matthew Benham but they did have possibly the greatest underdog story of all time. At 5000–1 odds of winning the Premier League at the start of the season, they pulled off one of the greatest upsets in football history.</p><p>Their best players were bought at terribly low prices and were previously unheard of. N’Golo Kante, who was playing for a team called Caen in France, was bought for a meagre £5.8 million. Later, he was sold to Chelsea FC for a whopping £30 million. The team’s top two scorers, Jaime Vardy and Riyad Mahrez were bought for £1 million from a non league team in 2012 and £400,000 from a French Ligue 2 team in 2014 respectively. Now, Vardy has a £20 million transfer value and Mahrez with £15 million.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*U5xkYHZ_lcZda6g5aFFz_w.jpeg" /><figcaption><strong><em>The trio that won Leicester the Premier League(L to R: Kante, Vardy, Mahrez)</em></strong></figcaption></figure><p>Even though it doesn’t follow the same statistical beliefs that Brentford and FC Midtjylland used, it is a very similar approach and eventually, had an even more successful result. These are all small-time examples of how statistics and analytics can influence the game of football. But it has not been implemented on a large scale yet.</p><p><strong>Then the question must arise; if small teams with a lesser amount of money can get significant gains, why don’t the bigger teams with larger amounts of money do the same and get an even bigger profit?</strong></p><p>Because they have a lot more to lose. By injecting a lot of money, the owners of the big teams are afraid of using experimental methods which don’t have a guaranteed success rate.</p><p>Recently, private equity firm Vista invested a huge amount into STATS, a leading sports data and technology company. STATS is at the forefront of football revolution, providing newer methods to efficiently and accurately track player performance as well as make predictions and suggest tactics which could help teams get an edge over one another. They recently used Spatiotemporal data to track teams in the Premier League, and published a paper on the same, which has reached critical acclaim in the footballing world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*dtZE-VuNFKfsEF5t184PXQ.png" /><figcaption><strong><em>Image of ball movement patterns in the 20 Premier League teams in the 2010–11 season</em></strong></figcaption></figure><p>With more and more advancements in technology itself, it’s a given that there has been a major improvement in the field of football analytics and there have been substantial results to show for it. Perhaps it is time for the teams, big and small, to adapt with the times and give in to this wave of reform. It is without a doubt that the way football itself is viewed will undergo a drastic shift over the next decade.</p><p>And who knows what the future holds? Maybe Brad Pitt will be playing the role of a young football manager on the big screen soon enough.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/1*YAu_sgUdlSSg5qnEQlMwMg.jpeg" /></figure><p>Or maybe not.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c7a688515e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>