<?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 kosuri indu on Medium]]></title>
        <description><![CDATA[Stories by kosuri indu on Medium]]></description>
        <link>https://medium.com/@kosurilindu?source=rss-a8780e474c81------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GGDfl0inUi1xWlAEotXfkQ.jpeg</url>
            <title>Stories by kosuri indu on Medium</title>
            <link>https://medium.com/@kosurilindu?source=rss-a8780e474c81------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 05:35:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kosurilindu/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[Google Summer of Code 2025 (The Julia Language) — JuliaHealth: Final Work Report]]></title>
            <link>https://medium.com/@kosurilindu/google-summer-of-code-2025-the-julia-language-juliahealth-final-work-report-954fa157c38c?source=rss-a8780e474c81------2</link>
            <guid isPermaLink="false">https://medium.com/p/954fa157c38c</guid>
            <category><![CDATA[gsoc]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[health]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[julia]]></category>
            <dc:creator><![CDATA[kosuri indu]]></dc:creator>
            <pubDate>Sun, 14 Sep 2025 04:54:01 GMT</pubDate>
            <atom:updated>2025-09-14T04:54:01.243Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMPuuXmHBuaRKG9QqqfU5Q.png" /></figure><h3>Google Summer of Code 2025 (The Julia Language) — JuliaHealth: Final Work Report</h3><p><em>This is my final work report for Google Summer of Code 2025.</em></p><p>Hey everyone, My name is Indu. I’m a final-year undergrad, doing my B.Tech in CSE (AI &amp; ML) from a tier-3 college in India. Coming from this background, I’ve always been eager to explore opportunities beyond my campus and push myself through things like open-source.</p><p>That’s why GSoC was always on my mind — I’ve been drawn to it for a long time, and I knew I wanted to contribute to something meaningful. One thing led to another, and fortunately I got the chance to be a GSoC mentee in a lovely organization and community.</p><p>My GSoC journey actually started back in Jan–Feb, when I first came across the Julia organization. I decided to explore JuliaHealth, and honestly it turned out to be one of the best decisions I’ve made. I also got to work with my mentor, Jacob Zelko — truly the best mentor I could have asked for.</p><p>At that time, Jacob suggested I try working on <strong>Patient Level Prediction (PLP)</strong>. I went ahead and did that project, which became my first real experience with JuliaHealth. After finishing it, we realized there were still some important gaps in the ecosystem that needed to be filled before things like PLP could really stand on solid ground.</p><p>That’s how my GSoC project started “Supporting Patient Level Pipelines within JuliaHealth”. Instead of directly building prediction pipelines, the focus shifted to filling those gaps and creating the missing foundations.<br>So this summer I split my work into two parts:</p><ul><li><strong>Phase 1 — HealthBase.jl</strong>: added HealthTable support for OMOP CDM and some core preprocessing utilities.</li><li><strong>Phase 2 — OMOPCDMFeasibility.jl</strong>: built a new package for pre- and post-cohort feasibility analysis.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*vXkPWbZM9bH6H2UiM8-7uA.png" /></figure><h3>Phase 1: HealthBase.jl</h3><p>The first part of my project was all about <a href="https://github.com/JuliaHealth/HealthBase.jl"><strong>HealthBase.jl</strong></a><strong>. </strong>This package acts as a backbone for having common namespace for functions and interfaces in the JuliaHealth ecosystem, so my focus here was to extend it with <strong>schema-aware OMOP CDM tables</strong> and add <strong>preprocessing utilities</strong>.</p><p>The idea was to make it easier for researchers to work directly with OMOP data in Julia without having to constantly worry about schema mismatches or messy preprocessing steps. I introduced a new HealthTable setup that understands the OMOP CDM structure, making it much more reliable for downstream tasks. Along with that, I added basic preprocessing functions that prepare data for further analysis or modeling.</p><p>I also helped improve the official documentation so new users can get started more easily: <a href="https://juliahealth.org/HealthBase.jl/dev/">HealthBase.jl Documentation</a></p><p>This work basically laid the groundwork for anything that comes next — including feasibility studies and eventually full PLP pipelines.</p><p><strong>Pull Request:</strong></p><ul><li><a href="https://github.com/JuliaHealth/HealthBase.jl/pull/30">#30: Initial HealthTable setup and support</a></li></ul><p><strong>Detailed Blog Posts on the official JuliaHealth Blog: </strong><a href="https://juliahealth.org/JuliaHealthBlog/posts/indu-gsoc-phase1/gsoc-phase1.html">Phase 1 Report</a></p><h3>Phase 2: OMOPCDMFeasibility.jl</h3><p>Once the foundation was in place, I moved on to building a completely new package: <a href="https://github.com/JuliaHealth/OMOPCDMFeasibility.jl"><strong>OMOPCDMFeasibility.jl</strong></a><strong>. </strong>This package is designed to handle <strong>cohort feasibility analysis</strong> — both <em>before</em> and <em>after</em> cohort creation. Pre-cohort feasibility helps check if a study design or query is even practical before you run it, while post-cohort feasibility validates whether the cohorts you’ve built make sense and are usable.</p><p>To make this concrete, I implemented features for both pre- and post-cohort feasibility checks, along with clear documentation so the community can easily use and extend the package.</p><p><strong>Pull Requests:</strong></p><ul><li><a href="https://github.com/JuliaHealth/OMOPCDMFeasibility.jl/pull/2">#2: PreCohort Feasibility</a></li><li><a href="https://github.com/JuliaHealth/OMOPCDMFeasibility.jl/pull/3">#3: Post Cohort Feasibility</a></li><li><a href="https://github.com/JuliaHealth/OMOPCDMFeasibility.jl/pull/7">#7: Documentation for the package</a></li></ul><p><strong>Detailed Blog Posts on the official JuliaHealth Blog: </strong><a href="https://juliahealth.org/JuliaHealthBlog/posts/indu-gsoc-phase2/gsoc-phase2.html">Phase 2 Report</a></p><h3>Future Work</h3><p>There’s still plenty left to do. Some things I’d love to see built on top of this work are:</p><ul><li>Better preprocessing utilities — things like imputation, cohort filtering, and other data cleaning steps.</li><li>More built-in stats and visualization tools to make feasibility results easier to understand.</li><li>Getting all of this closer to PLP pipelines, so future contributors can plug models in more directly.</li></ul><h3>Acknowledgements</h3><p>Huge thanks to my mentor, <strong>Jacob S. Zelko (TheCedarPrince)</strong>, for guiding me throughout the summer and always encouraging me to push further. And also to the <strong>JuliaHealth community</strong> — the support, discussions, and collaboration made this journey not just productive but also genuinely fun.</p><h3>Final Thoughts</h3><p>This whole journey started with an interest in Patient-Level Prediction, and it turned into building the foundations that make PLP possible in JuliaHealth. By contributing to <strong>HealthBase.jl</strong> and creating <strong>OMOPCDMFeasibility.jl</strong>, I was able to add some of those missing building blocks that will help future research and development in this space.</p><p>For me, GSoC has been both a technical learning experience and a personal milestone. I’m excited to keep contributing to JuliaHealth and to open-source in general.</p><p>If you’d like to connect: <a href="https://www.linkedin.com/in/kosuri-indu/">Linkedin</a> and <a href="https://github.com/kosuri-indu/">Github</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=954fa157c38c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Try Seaborn: The Ultimate ‘Sea’-cret for EDA!]]></title>
            <link>https://medium.com/@kosurilindu/try-seaborn-the-ultimate-sea-cret-for-eda-b165fed566a8?source=rss-a8780e474c81------2</link>
            <guid isPermaLink="false">https://medium.com/p/b165fed566a8</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[seaborn]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[kosuri indu]]></dc:creator>
            <pubDate>Fri, 01 Sep 2023 11:36:58 GMT</pubDate>
            <atom:updated>2023-09-01T11:36:58.337Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*cwJ4W32iP7msgfvcXkDnsA.jpeg" /></figure><h3>Try Seaborn : The Ultimate ‘Sea’-cret for EDA!</h3><p>Data visualization is an initial step of data analysis (EDA), and Seaborn is a powerful Python library that makes it easy for us to bring out the hidden data through statistical plots. In this technical blog, we will be talking about various Seaborn plotting functions and how to use them for effective data analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZouWFNqyuFP5dBtqKdiNfA.jpeg" /><figcaption>Seaborn</figcaption></figure><p>Before we start, let’s prepare our environment to do some data analysis (EDA). So in this blog, we will be working with some toy datasets readily available for use :</p><ol><li>tips</li><li>flights</li><li>iris</li><li>titanic</li></ol><p>These datasets include categorical and numerical data which will accompany us in this data analysis process !</p><p>If you’re using Jupyter Notebook or Google Colab, you are good to go! As it has pre-installed Python libraries for data analysis and visualization, such as numpy, pandas, matplotlib, and seaborn.</p><p>Importing Seaborn and loading the toy dataset:</p><pre>import seaborn as sns<br><br>#example on how to load the dataset<br>iris_dataset = sns.load_dataset(&#39;iris&#39;)</pre><p>We will focus on plotting numerical and categorical data separately using mainly Bivariate / Multivariate Analysis with a brief overview of univariate analysis as well.</p><p>Before we check out the plotting functions, it would be useful to know the following parameters.</p><h4>The parameters that help us to do Multivariate Anaylsis:</h4><ol><li>kind: Specifies the plot type (e.g., ‘scatter’ for a scatter plot).</li><li>hue: Adds colour differentiation based on a categorical variable.</li><li>style: Distinguishes data points using different marker styles.</li><li>size: Varies the marker size based on a numerical variable.</li><li>sizes: Customizes the size range for markers.</li><li>split: Used for specific plots to create split representations.</li><li>annot: Adds text annotations to the plot.</li></ol><h3>Plotting with Numerical Data : Using relplot — scatterplot</h3><p>Although scatterplot can be plotted for both the numerical as well as categorical data, it’s mostly used to depict the relationship between the numerical data.</p><pre>#plain scatterplot<br>sns.relplot(x=’total_bill’, y=’tip’, kind=’scatter’, data=data)<br>#scatterplot with parameters<br>sns.relplot(x=&#39;total_bill&#39;,y=&#39;tip&#39;,hue=&#39;smoker&#39;,style=&#39;sex&#39;,size=&#39;size&#39;,sizes=(15,200),data=data)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*bbrItsm0yg7luH4H5Qjlaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*3X0PJ_yEWG-V_bRaKMvhiQ.png" /><figcaption>Fig (i) —scatterplot with parameters , Fig (ii)— plain scatterplot</figcaption></figure><h3>Plotting with Categorical Data : Using catplot</h3><p><strong>catplot </strong>is a figure level function, it uses other supporting functions. to draw diff types of graphs. We need at least one data to be categorical to apply catplot.</p><p>Here, we will be discussing the five main categories of plotting functions through which we can do analysis on categorical data.</p><blockquote><strong>Categorical Scatterplots</strong></blockquote><blockquote>Categorical Scatterplots are used to visualize relationships between two numerical variables where one or both of the variables are categorical.</blockquote><h4>a. Stripplot : Utilizes the jitter parameter which take noise to separate data points, used for visualizing the distribution of data points in a single categorical variable.</h4><pre>sns.catplot(x=&#39;day&#39;,y=&#39;tip&#39;,kind=&#39;strip&#39;,data=data)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*dV6NhAJBaSl49cUmNZoV2A.png" /><figcaption>Stripplot</figcaption></figure><h4><strong>b. Swarmplot : </strong>Provides a distribution of data points, works similar to stripplot, but it avoids overlapping between data points.</h4><pre>sns.catplot(x=’day’, y=’tip’, kind=’swarm’, hue=’sex’, data=data)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*q-QqaBugJy4xF7cdjSuQGw.png" /><figcaption>Swarmplot</figcaption></figure><blockquote>Categorical <strong>Distribution Plots</strong></blockquote><blockquote>Categorical Distribution Plots are those plots that help visualize the distribution of a single numerical variable within different categories.</blockquote><h4>a. Boxplot : A Way of displaying the distribution of data based on five no. summary (min, first quartile (Q1), median, third quartile (Q3), max) . It can also tell if the data is symmetrical.</h4><pre>#bivariate analysis<br>sns.catplot(x=&#39;day&#39;,y=&#39;total_bill&#39;,kind=&#39;box&#39;,hue=&#39;sex&#39;,data=data)<br>#univariate analysis<br>sns.catplot(x=&#39;day&#39;,y=&#39;total_bill&#39;,kind=&#39;box&#39;,data=data)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*vqmR1TcO03c2t9nyPchgSg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*3mxrvwcYSzTRPh2vfqVmsA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*l1NhRqQnB4eDe87FoYYGQg.png" /><figcaption>Fig (i) —Boxplot explanation , Fig (ii) —bivariate analysis , Fig (iii)— univariate analysis</figcaption></figure><h4>b. Violin plot : Combines a boxplot with a probability density function (PDF) representation.</h4><pre>#bivariate analysis<br>sns.catplot(x=&#39;day&#39;,y=&#39;total_bill&#39;,kind=&#39;violin&#39;,hue=&#39;sex&#39;,split=True,data=data)<br>#univariate analysis<br>sns.catplot(x=&#39;day&#39;,y=&#39;total_bill&#39;,kind=&#39;violin&#39;,data=data)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d_nnrPDnnFU-ySoES5G2sQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*NfzDL3QyDp0HPUoWewbRng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*xZwlIYch6T01b9pv1rx9ig.png" /><figcaption>Fig (i) —Violinplot explanation , Fig (ii) — bivariate analysis , Fig (iii) — univariate analysis</figcaption></figure><blockquote>Categorical<strong> Estimate plots</strong></blockquote><blockquote>Categorical Estimate Plots are those plots which are used to estimate and visualize aggregate statistics (e.g., mean, median) of numerical variables within different categories.</blockquote><h4>a. Barplot : shows error bars and calculates means.</h4><pre>#bivariate analysis<br>sns.catplot(x=&#39;smoker&#39;, y=&#39;total_bill&#39;, kind=&#39;bar&#39;, data=data)<br>#univariate analysis<br>sns.catplot(x=&#39;smoker&#39;, y=&#39;tip&#39;, kind=&#39;bar&#39;, hue=&#39;sex&#39;, estimator=np.median, data=data)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*PoyIx4pv_ESlq2C9Sb9LMg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*jEydSbD4OBQdO9MbZEgSHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VOHnyNmaZRnyEQGaaCzedQ.png" /><figcaption>Fig (i)— bivariate analysis , Fig (ii) — univariate analysis , Fig (iii) —Boxplot explanation</figcaption></figure><h4>b. Countplot : Visualizes the count of categorical data.</h4><pre>sns.catplot(x=’sex’, kind=’count’, hue=’smoker’, data=data)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*j-LB0lK1UMs-PTR2Jq2dAw.png" /><figcaption>Countplot</figcaption></figure><blockquote><strong>Categorical Plots</strong></blockquote><blockquote>Categorical Plots are those plots which are designed to visualize relationships between two variables with not much similaritry. (requires discrete values)</blockquote><h4>a. Heatmaps : is a graphical representation of data where individual values contained in the matrix are represented as colours.</h4><pre>#plain heatmap<br>sns.heatmap(x)<br>#heatmap with parameters<br>sns.heatmap(x, cbar=False, linewidths=0.5, annot=True, fmt=&#39;d&#39;, cmap=&#39;summer&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*GXtOBQzL8bnxvi1821Yo_g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*9pkOuZC1HfuW-tSFEZnOMg.png" /><figcaption>Fig (i) —heatmap with parameters, Fig (ii) — plain heatmap</figcaption></figure><h4>b. Clustermaps : Clusters similar rows and columns together based on a chosen metric.</h4><pre>sns.clustermap(x, z_score=0, annot=True, row_cluster=True, metric=&#39;correlation&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*M9ihFtzMhiIvGEml8J_rFQ.png" /><figcaption>Clustermap</figcaption></figure><blockquote><strong>Side-by-Side Graphs</strong></blockquote><blockquote>Side-by-Side Graphs allows you to create multiple plots arranged in a grid to compare different aspects of your data.</blockquote><h4>a. Jointplot : Creates a multi-panel figure displaying bivariate relationships. It can be used in four ways:</h4><pre>#Scatter<br>sns.jointplot(x=&#39;total_bill&#39;, y=&#39;tip&#39;, data=data)<br>#Hexbin <br>sns.jointplot(x=&#39;total_bill&#39;, y=&#39;tip&#39;, kind=&#39;hex&#39;, data=data) (hexplot - 2D histogram)<br>#KDE<br>sns.jointplot(x=&#39;total_bill&#39;, y=&#39;tip&#39;, kind=&#39;kde&#39;, data=data)<br>#Regression<br>sns.jointplot(x=&#39;total_bill&#39;, y=&#39;tip&#39;, kind=&#39;reg&#39;, data=data) (linear regression - for prediction)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*tTghYC_ioyFWRUHTdAPBhg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*q_0Mg7TbznocC2cNHaldkg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*kmA0F8pQwq9zS94AbxjKzw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*5I5S6fTYrVH1-VW9sw4Ghg.png" /><figcaption>Fig (i) —Regression , Fig (ii) —KDE, Fig (iii) - Hexbin, Fig (iv) -Scatter</figcaption></figure><h4>b. Pairplots : Used to visualize multiple pairwise bivariate distributions.</h4><pre>#pairplots with hue parameter<br>sns.pairplot(iris, hue=&#39;species&#39;)<br>#pairplots with no parameter<br>sns.pairplot(iris)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*tUcbWyWPpaQwijIfK40VZw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*_konV66H1JOwip93nK1ZBg.png" /><figcaption>Fig (i) —pairplots with hue parameter , Fig (ii) —pairplots with no parameter</figcaption></figure><h4>c. <strong>Distplots </strong>: combination of a histogram, KDE (Probability Density Function). Useful for visualizing numerical data.</h4><pre>#Creating a displot<br>sns.distplot(titanic[&#39;age&#39;])<br>#Creating a histogram<br>sns.distplot(titanic[&#39;age&#39;], bins=10, kde=False)<br>#Creating a KDE (Probability Density Function) <br>sns.distplot(titanic[&#39;age&#39;], hist=False)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*MumB395rmD7uxfAXg17Q8Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*RGhK9k_aqqsaFhfi09YiEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*yaxLbRWtr8muldgpAsosoQ.png" /><figcaption>Fig (i) —displot , Fig (ii) —histogram , Fig (iii) —KDE</figcaption></figure><p>To sum it up, Seaborn is a fantastic tool that helps us create eye-catching data visuals. From scatterplots to violin plots, heatmaps to facet grids, Seaborn offers us a range of options to dig out our data in the best possible ways. So, go ahead, dig into your data, and use Seaborn to make it look amazing. Your data’s story will be crystal clear, and you’ll enjoy exploring it.</p><p>Happy visualizing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b165fed566a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>