<?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 Ravi Teja U on Medium]]></title>
        <description><![CDATA[Stories by Ravi Teja U on Medium]]></description>
        <link>https://medium.com/@ravitejau_63958?source=rss-10a453ed77d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZY2EkcKClzdkVuCMAIcgjA.jpeg</url>
            <title>Stories by Ravi Teja U on Medium</title>
            <link>https://medium.com/@ravitejau_63958?source=rss-10a453ed77d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 08:00:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ravitejau_63958/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[Unveiling The Drift Problem for Machine Learning — Detection]]></title>
            <link>https://medium.com/@ravitejau_63958/unveiling-the-drift-problem-for-machine-learning-detection-425e43885b7f?source=rss-10a453ed77d------2</link>
            <guid isPermaLink="false">https://medium.com/p/425e43885b7f</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[mlops]]></category>
            <dc:creator><![CDATA[Ravi Teja U]]></dc:creator>
            <pubDate>Sat, 15 Feb 2025 04:10:32 GMT</pubDate>
            <atom:updated>2025-02-15T04:11:57.065Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello People! Today, I chose to write something which is specific to my work domain. In fact, this has been in my mind lately for so long and it’s worth the wait. Now this post aim to especially target those who are in the field of AI but for others the terminologies, examples may feel like we are talking some rocket science. I will try my best to keep it simple and easy but you can skip this if it’s too much for you.</p><p>I have been doing a lot of research recently to understand how drift detection works and how it can be applied to Machine learning models. Now after some exploration and decent understanding, I think it’s the right time for me to share my learnings with you all. So here we go…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JAvza5Z5FifmvTDm" /><figcaption>Photo by <a href="https://unsplash.com/@chrisliverani?utm_source=medium&amp;utm_medium=referral">Chris Liverani</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>But wait, aren’t we supposed to know what exactly is the drift and its impact? It will be only fair we understand it before we see how to detect it. So, what is drift with regards to a machine learning model?</p><p><strong>Drift </strong>in short means, change in the relation between the model and its trained data over time, often due to change in underlying patterns or behaviors.</p><p>Basis on above definition, we can further break the drift into</p><p>a) Concept Drift</p><p>b) Data Drift</p><p><strong>Concept Drift </strong>occurs when there is a change in relation between input and target data. Example — If my model can identify fraud detection basis of historical data and a suddenly fraudsters change their pattern of making transactions by not dealing with huge volumes of money instead performing small transaction multiple times.</p><p><strong>Data Drift </strong>occurs where there is a change in statistical properties of my input features over time. It may not necessarily change the relationship with my target but affects the features the model was earlier trained on. Example — It is the same model used to identify fraud, now since bank has lot of customers over a period, they move to different places and perform transactions. Let us assume that current model has used transactions within their own city then this change is a data drift because the transactions are just not specific to one location.</p><p><strong>Problems with Drift</strong></p><p>· The major problem with drift is that, the performance keeps degrading as they are not aligned with new patterns.</p><p>· Models become less trust worthy due to their inconsistency.</p><p>What can we do now? We need to continuously monitor the model performance, incoming data and retrain it on a regular basis to adapt the new changes.</p><p>With this, All the foundation is set up to begin our main discussion on how do you detect the drift.</p><p><strong><em>Disclaimer: An interesting math stuff is awaiting ahead of us. Its important you have some foundation of statistics and hypothesis testing</em></strong>.</p><p>We need to identify data drift and we can rely on some statistics approaches to do that magic for us. Here, I am going to walk you through about famous KS test. KS stands for Kolmogorov-Smirnov test.</p><h3><strong>KS Test</strong></h3><p>It is a statistical test used to check where current distribution is same as reference distribution (data which model is trained on).</p><p>Let us check out an example and understand the intuition behind this method.</p><p>Consider we have three distributions D1,D2 and D3 as show below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*HyIorJXEtsqP5okUADxYjw.png" /><figcaption>Example</figcaption></figure><p>From a look of it, it is clearly understood D1 and D3 are expected to be from same distribution but D2 is not. Let us apply KS method to check.</p><p><strong>Null hypothesis:</strong> D1 and D2 are from same distribution.</p><p><strong>Alternate hypothesis:</strong> D1 and D2 are not same.</p><p>Confidence interval = 95%</p><p>All you must do is, create one more table for each of D1 and D2, list down unique values in ascending order and give each value some ranks.</p><p>Rank of a value tells us how many values are less than or equal to that value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*KbLCIUneiPM5uVPjQ2Zvqg.png" /><figcaption>D1-finding rank for unique values</figcaption></figure><p>Why do we have a decimal value for rank, when we have duplicate values we can take average to keep the ordering of rank. Since there are 3 values which are less than or equal 5 in D1, but 5 appeared twice, we take (rank2+rank3)/2.</p><p>Now derive ECDF for D1 — Empirical Cumulative Distribution Function = Rank D1/n (n is count of rows in my D1)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*K80PObAD-LIWl5WtI-RlYg.png" /><figcaption>ECDF for D1</figcaption></figure><p>This gives us cumulative probability values P(x&lt;=val). For example, what is the probability of x being less than or equal to 8. It is 0.66.</p><p>Similarly, when we calculate it for D2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*7mSQCTygiGV1Dtz9zFtrGQ.png" /></figure><p>Now, pick up the common value in both the tables and take absolute difference between their ECDF. So it will be, 1–0.1111 = 0.88889.</p><p>Now we can refer to a KS look up table show below for our confidence level 95% meaning alpha is 0.05.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*evffUcyOUtDSKA-OXdJoMQ.png" /><figcaption>KS table</figcaption></figure><p>Since we have n=9 and alpha as 0.05, the value from the table is 0.432.</p><p>We compare that to observed value and 0.888&gt;0.432 .</p><p>As it is greater than threshold, P-value will be very small and its an evidence to reject null hypothesis and accept alternative hypothesis. Hence, we conclude, D1 and D2 are different and there is a drift.</p><p>As part of learning, you can try to run the same step on D1 and D3 to see if they belong to same distribution or not. I already have done that and the math works. There are more techniques and approaches to detect drift, now it is easier to use libraries that have all the required statistical tests implementations. If you are curious and want to learn further you can explore Wasserstein distance too, another technique and Evidently AI has a cool collection of all the tests to identify this drift. Please check it out.</p><p>Post detecting the drift you can decide the frequency of training the model again to keep it updated with latest trends. That is all for now and I hope you understood the idea behind how drift detection works. Thanks for reading and I will see you again!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=425e43885b7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Too Many Voices in My Head: A Meeting I Didn’t Schedule]]></title>
            <link>https://medium.com/@ravitejau_63958/too-many-voices-in-my-head-a-meeting-i-didnt-schedule-d99a93d2e2ee?source=rss-10a453ed77d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d99a93d2e2ee</guid>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[mindset]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Ravi Teja U]]></dc:creator>
            <pubDate>Fri, 07 Feb 2025 20:25:21 GMT</pubDate>
            <atom:updated>2025-02-15T04:12:23.999Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey everyone! Hope you are doing alright. Thanks again for deciding to take your time to read this post.</p><p>I remember a day where I spent some extra minutes of time trying to figure out a reply to a message- “Hmm”. It felt quite awkward because I was not prepared for that kind of a reply and probably expecting a follow up question. So here were few things that I was thinking of-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aKAr1es8vYIao1T8" /><figcaption>Photo by <a href="https://unsplash.com/@jacksharp_photography?utm_source=medium&amp;utm_medium=referral">Jack Sharp</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Was a simple “Cool” too dismissive?</p><p>Did “Great, looking forward to it” sound too eager?</p><p>How about a thumbs up emoji or just leave the message seen? It might be rude.</p><p>By the time I hit send button, I had some other message written — “Alright! See you then” and I realized I just held an absolute mental debate over a small thing.</p><p>This is not new at all. There are similar such situations where few people take roles inside our heads and conduct some meetings as if it is a committee. One more example could be when I am hungry and I decide to eat something — a simple low stakes decision right? Let’s give names to these people who are just about to kick off the meeting.</p><p><strong>Perfectionist: </strong>You need to eat healthy food.</p><p><strong>Over thinker: </strong>Will society accept you if I just do not try this item.</p><p><strong>Weirdo: </strong>Why do you even have to take food? Can’t you just charge yourself with a battery.</p><p><strong>People Pleaser: </strong>Please try your friend recommendation so that they know you value them.</p><p><strong>Cringe one: </strong>Do you remember the day where you had chicken instead of paneer because they both were soft?</p><p>And you can just keep adding the characters…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kWIORgrrPKr6xE1O" /><figcaption>Photo by <a href="https://unsplash.com/@justinlim?utm_source=medium&amp;utm_medium=referral">Justin Lim</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>If you can relate this to your experiences, its like all these characters are fighting for a microphone and starting to have a debate among them — does not matter big or small, they never agree and worst part is they never shut up.</p><blockquote><strong>“The voices in my head, which I used to think were just passing through, seem to have taken up residence.” </strong>~ <strong>Elizabeth Wurtzel</strong></blockquote><p>The thing I want to emphasize over here is not about messaging or food choices but about identifying those voices and limiting them to an extent where you cannot get rid of them completely but find a way to decide who gets the mic and who needs to take a seat.</p><h4><strong>How do we achieve it?</strong></h4><p>Identify the scale of the task at your hand.</p><p>We need to admit that these are just thoughts and not who we are. Although the situations vary from small to big, all these thoughts stem from moments when we felt someone or even ourselves needed to be in a certain way. They are shaped by those scenes. That’s all.</p><p>While there are lot many ways to handle the task, figure out which one is constructive and destructive. Aim on building a template from the thoughts which are constructive. That way, you are letting those thoughts which promote growth and not restriction.</p><p>Only in case of stress, self-doubt it is likely that destructive voices are dominant and at that moment, we can distract ourselves through anything which we love the most (say going out for a walk, playing with your pet, music, art etc..). Personally, I prefer music and spending time with family as it just changes the gears of my mind and gets the calm that is needed.</p><p>Important and best thing to do after you classified those voices, is to share them with your friend, families and seek their feedback. Apply their suggestion to your template to see how it fits into solving your problem.</p><p>Also try to turn any negative thought into a more empowering one. For example, “I can’t do this” becomes “I can try my best and learn along the way. That helps you shift from a thought to action-oriented mindset and keeps you pro-active.</p><p>I have not mastered all these practices but I do believe that this approach can put me in position where I can deal things efficiently.</p><p>End of the day I am a human too and my brain will always have its own committee of chaos<strong>.</strong> The Perfectionist will still look for faults, The Overthinker will still make me question more, and The Cringe one will still remind me of those one awkward moment.</p><p><em>But the good thing is, I can become the CEO of this operations. I can fire the candidates or demote few to let them know who is in charge. 8-)</em></p><p>Oops, I have a message to reply and food to order but this time in a quicker way…so I will see you all again. Feel free to share your approaches too in comments as there is no fixed formula. Take care!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d99a93d2e2ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Table for One: The Art of Dating Yourself]]></title>
            <link>https://medium.com/@ravitejau_63958/table-for-one-the-art-of-dating-yourself-32a8e562c576?source=rss-10a453ed77d------2</link>
            <guid isPermaLink="false">https://medium.com/p/32a8e562c576</guid>
            <category><![CDATA[valentines-day]]></category>
            <category><![CDATA[positive-thinking]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[self-love]]></category>
            <category><![CDATA[motivation]]></category>
            <dc:creator><![CDATA[Ravi Teja U]]></dc:creator>
            <pubDate>Wed, 05 Feb 2025 20:23:48 GMT</pubDate>
            <atom:updated>2025-02-15T04:12:48.463Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello again! Good to see you back here. People say time is precious and indeed it is.</p><p>It feels like I just wished Happy New Year 2025 to my family, friends, and colleagues couple of days ago but the reality is that January has flown by already. I guess many people are also wondering — how quick was that? Now here we are in February…Hurray!</p><p>But wait, stop wondering now as you do not have to think about how quick time flies as this month is anyway the shortest month in the year. Alright then.</p><p>Perhaps February is most awaited month for many reasons. Ummm… I know what you are thinking about but let us hold onto it for a while. Here are few reasons.</p><p><strong>4. End of winters (for some places</strong>)</p><p>Winters coming to end meaning you have season renewal and brighter days. More outdoor activities can take place.</p><p><strong>3. Payroll processing</strong></p><p>Salaried employees are more excited because of shorter month and early pay than usual.</p><p><em>Wait, you think my numbering has gone wrong? No, that was intentional.</em> I plan to draft these in descending manner. So, what about point 2? No more suspense….</p><p><strong>2. Valentine’s day</strong></p><p>It is a month where love is in air, varieties of chocolates are on sale and single people including me pretend they are perfectly fine watching rom-coms alone. Every suggestion on Instagram is a reel with flowers, necklaces, or some date places. The algorithm works in all places. <em>However, I do not want to hide a fact that I keep saving few of those reels for my future references :P</em></p><p>Anyways, this article is not about suggesting any gifts, ideas or surprises that can be planned for your partners because I am confident everyone saved them like me already from various sources. Perfect! what are we talking about here then?</p><p>Although Valentine’s Day is celebration of love, let us not forget that best kind of love starts with you. Now that leads me to my main point which is point#1.</p><ol><li><strong>Self-Love.</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LESnwWHz8PyJvqZY" /><figcaption>Photo by <a href="https://unsplash.com/@phammi?utm_source=medium&amp;utm_medium=referral">MI PHAM</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I want everyone both couples and singles to make this your priority. In today’s world where handling negativity has become more challenging it is very essential for us to practice self-love which is key aspect of our mental well-being.</p><p>It encourages personal growth and builds confidence. It helps you build empathy and good relationship with others. It also helps you set your boundaries and healthier habits. Remember that, Self-love is not about being selfish or causing trouble to others for your own peace, it is about finding balance, growth and inner peace while living in harmony with those around you.</p><p>Be grateful for your past, keep learning from your mistakes and importantly embrace the journey you have been on, as your experiences shaped you into who you are. Everyone has been through tough times and it is the time to feel proud and keep walking forward with a positive mindset.</p><blockquote>Self-love is about giving high-five to yourself when you overcome a challenge and forgiving yourself when you trip over your own shoelaces. Celebrate your smallest victories by eating something you love and apply the same when there is a defeat too because end of the day you are enjoying both phases.</blockquote><p>Finally, remember that self-love isn’t just for February — it’s something to prioritize every day, all year round. On that note, I again thank you all for taking your time to read this post and I hope you have a wonderful valentine’s month. Also feel free to drop your favorite rom-com suggestion as I can use some cozy movie time later :P</p><p>See you all again!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32a8e562c576" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[About Me — U Sai Ravi Teja]]></title>
            <link>https://medium.com/@ravitejau_63958/about-me-u-sai-ravi-teja-04bd4c611477?source=rss-10a453ed77d------2</link>
            <guid isPermaLink="false">https://medium.com/p/04bd4c611477</guid>
            <category><![CDATA[about-me-stories]]></category>
            <dc:creator><![CDATA[Ravi Teja U]]></dc:creator>
            <pubDate>Wed, 05 Feb 2025 11:38:27 GMT</pubDate>
            <atom:updated>2025-02-05T11:38:27.618Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>About Me — U Sai Ravi Teja</strong></h3><p>Hey everyone! Welcome to my feed. My name is Ravi Teja (common name for a typical south Indian guy I must say) and I prefer being called as Ravi almost all times. As I mentioned, I am from India and based out of Hyderabad City — I am sure most of you have heard about this city as its famous for Food, Culture History, and continuously evolving IT Hub for all gigantic companies in today’s world.</p><p>I live with my family and have a sibling sister. My parents are into teaching profession while me and my sister are working in IT sector. I am in this sector for over 5 years now and currently working in the field of data science where I have close to 4 years of relevant experience. I love to play cricket, badminton (a beginner but I enjoy my time when I am in the court) and chess. I listen to music and may be sing sometimes (if no one is around :P) and love to spend decent time with close ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqO6BfiSBEo53Q6tSIwzkg.jpeg" /><figcaption>Just me improving my multi tasking skills ;)</figcaption></figure><p>It is a bit surprising for me that I never found my interest to read books but I somehow enjoy reading articles over internet. I visit sites like medium and other platforms to mostly study about professional/technical topics. Now what brings me here? Umm I mentioned that my parents are into teaching profession, I feel I have passion for it somewhere and ability to connect with the audience with my words and importantly through writings. I love to keep things simple and explain anything which I know in a way others can take the benefit of that learning. End of the day we all are looking to get better one day at a time and that is exactly why I am here.</p><p>I will be here actively reading and start publishing my stories especially in those areas where I feel will help the community. On that note, I appreciate your time to read this and I will see you soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=04bd4c611477" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>