<?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 Kshitiz_Tiwari on Medium]]></title>
        <description><![CDATA[Stories by Kshitiz_Tiwari on Medium]]></description>
        <link>https://medium.com/@kshitiztiwari07?source=rss-b22f32f5267------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*EwbAqDEvYoO723wO</url>
            <title>Stories by Kshitiz_Tiwari on Medium</title>
            <link>https://medium.com/@kshitiztiwari07?source=rss-b22f32f5267------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 20:09:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kshitiztiwari07/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[Saving Money Is the Most Expensive Habit You’ll Ever Have]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@kshitiztiwari07/saving-money-is-the-most-expensive-habit-youll-ever-have-0be8895933bb?source=rss-b22f32f5267------2"><img src="https://cdn-images-1.medium.com/max/1920/1*4-cTBSYGan3MFbCLM6mk-A.jpeg" width="1920"></a></p><p class="medium-feed-snippet">You were taught to guard money. You were never taught to position it &#x2014; and that&#x2019;s the whole difference.</p><p class="medium-feed-link"><a href="https://medium.com/@kshitiztiwari07/saving-money-is-the-most-expensive-habit-youll-ever-have-0be8895933bb?source=rss-b22f32f5267------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@kshitiztiwari07/saving-money-is-the-most-expensive-habit-youll-ever-have-0be8895933bb?source=rss-b22f32f5267------2</link>
            <guid isPermaLink="false">https://medium.com/p/0be8895933bb</guid>
            <category><![CDATA[saving]]></category>
            <category><![CDATA[money]]></category>
            <category><![CDATA[personal-finance]]></category>
            <category><![CDATA[wealth]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Kshitiz_Tiwari]]></dc:creator>
            <pubDate>Thu, 14 May 2026 10:17:24 GMT</pubDate>
            <atom:updated>2026-05-14T10:17:24.217Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The Sisyphus Who Will Win: Why Being Strong-Willed Will Beat Your Procrastination Eventually]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@kshitiztiwari07/the-sisyphus-who-will-win-why-being-strong-willed-will-beat-your-procrastination-eventually-2c89854d269c?source=rss-b22f32f5267------2"><img src="https://cdn-images-1.medium.com/max/1802/1*ytn6BejyBbzS_IYmf1km4g.png" width="1802"></a></p><p class="medium-feed-snippet">I have the discipline to push the boulder, but the habit of letting it roll back. Here is how I found peace in the midst of it all.</p><p class="medium-feed-link"><a href="https://medium.com/@kshitiztiwari07/the-sisyphus-who-will-win-why-being-strong-willed-will-beat-your-procrastination-eventually-2c89854d269c?source=rss-b22f32f5267------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@kshitiztiwari07/the-sisyphus-who-will-win-why-being-strong-willed-will-beat-your-procrastination-eventually-2c89854d269c?source=rss-b22f32f5267------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c89854d269c</guid>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[peace]]></category>
            <category><![CDATA[procrastination]]></category>
            <category><![CDATA[self-care]]></category>
            <dc:creator><![CDATA[Kshitiz_Tiwari]]></dc:creator>
            <pubDate>Mon, 02 Feb 2026 06:06:28 GMT</pubDate>
            <atom:updated>2026-02-02T06:06:28.682Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[You will never have to learn these Pandas logics ever again.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@kshitiztiwari07/you-will-never-have-to-learn-these-pandas-logics-ever-again-de7ab055eb6b?source=rss-b22f32f5267------2"><img src="https://cdn-images-1.medium.com/max/1808/1*jOoXTrZNPs5qplvuwudhiA.png" width="1808"></a></p><p class="medium-feed-snippet">Let&#x2019;s build your intuition behind some of the most important topics in the pandas library.</p><p class="medium-feed-link"><a href="https://medium.com/@kshitiztiwari07/you-will-never-have-to-learn-these-pandas-logics-ever-again-de7ab055eb6b?source=rss-b22f32f5267------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@kshitiztiwari07/you-will-never-have-to-learn-these-pandas-logics-ever-again-de7ab055eb6b?source=rss-b22f32f5267------2</link>
            <guid isPermaLink="false">https://medium.com/p/de7ab055eb6b</guid>
            <dc:creator><![CDATA[Kshitiz_Tiwari]]></dc:creator>
            <pubDate>Sat, 10 Jan 2026 12:24:05 GMT</pubDate>
            <atom:updated>2026-01-10T12:24:05.167Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[“Stop Working So Hard: You Only Need 4,000 Hours to Get Rich (The Distraction Economy’s Best-Kept…]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@kshitiztiwari07/stop-working-so-hard-you-only-need-4-000-hours-to-get-rich-the-distraction-economys-best-kept-470f4b137413?source=rss-b22f32f5267------2"><img src="https://cdn-images-1.medium.com/max/1024/1*v9p0roD8PWbdMqki9zmDrg.png" width="1024"></a></p><p class="medium-feed-snippet">&#x201C;The 10,000-hour rule is dead. Not because Malcolm Gladwell was wrong, but because your phone killed it and how it can be great news.&#x201D;</p><p class="medium-feed-link"><a href="https://medium.com/@kshitiztiwari07/stop-working-so-hard-you-only-need-4-000-hours-to-get-rich-the-distraction-economys-best-kept-470f4b137413?source=rss-b22f32f5267------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@kshitiztiwari07/stop-working-so-hard-you-only-need-4-000-hours-to-get-rich-the-distraction-economys-best-kept-470f4b137413?source=rss-b22f32f5267------2</link>
            <guid isPermaLink="false">https://medium.com/p/470f4b137413</guid>
            <category><![CDATA[self-help]]></category>
            <category><![CDATA[success]]></category>
            <category><![CDATA[focus]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Kshitiz_Tiwari]]></dc:creator>
            <pubDate>Sat, 11 Oct 2025 17:02:19 GMT</pubDate>
            <atom:updated>2025-10-11T17:02:19.236Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[A Data Scientist Love For Leetcode]]></title>
            <link>https://medium.com/@kshitiztiwari07/a-data-scientist-love-for-leetcode-c62c0fae44fc?source=rss-b22f32f5267------2</link>
            <guid isPermaLink="false">https://medium.com/p/c62c0fae44fc</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[faang]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[leetcode]]></category>
            <category><![CDATA[problem-solving-skills]]></category>
            <dc:creator><![CDATA[Kshitiz_Tiwari]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 15:08:10 GMT</pubDate>
            <atom:updated>2025-01-02T15:08:10.796Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vmZyx-aWGPvqPiqa" /><figcaption>Photo by <a href="https://unsplash.com/@swimstaralex?utm_source=medium&amp;utm_medium=referral">Alexander Sinn</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In my relatively small career as a Data scientist, I always dreaded Leetcode and DSA. On some level, I always thought that for a Data Scientist like me, solving Leetcode problems is worthless as I am never going to use these algorithms and Data structure bars maybe Dynamic Arrays and Dictionaries.</p><p>These problems are for Software Developers, and we are anyway going to take away their jobs 🤪. Then, one opportunity totally changed my take on this.</p><p>Before we get any further with the story let’s take a step back.</p><p><strong>Big-Tech’s Obsessions With Leetcode</strong></p><p>I have seen hundreds if not thousands of articles and videos on the internet about big tech and their interview process, especially of so-called ‘FAANG’, and was never able to understand how solving a binary tree with recursion is going to help my model perform better.</p><p>I am already struggling with Data leakage and Overfitting and can’t bear to fight another tough battle. I also never applied to FAANG due to the “mad” criteria of these companies.</p><p>I always thought that creating awesome projects and working on Kaggle added more to my skill set. In this article, I am not landing very far from this hypothesis, and I still believe this to be majorly true. If you just want to hone your skill as a data scientist, then you can’t do better than projects and competitive programming.</p><p>It’s just that now I am not questioning the interview process of some of the best-ever tech firms as vehemently as I used to.</p><p>so what changed?</p><p><strong>The Near Opportunity That Changed Everything</strong></p><p>A few days back I was approached by one of the major financial tech multinational firms causing a great disruption in this space for the data scientist role. I got very excited cause this firm is known to use cutting-edge AI/ML technologies and implement them in their actual financial solutions. I was itching to work in such a firm for some time.</p><p>One of the major drawbacks of working as a Data Scientist in a non-major tech company is that most of your solutions will never go into production and will slowly die an unknown death. Most major non-tech firms are set in their process for years if not decades and they just don’t have the appetite to change it for this new cutting-edge tech no matter how appealing it may seem. Why fix something if it ain’t broken right?</p><p>This firm is different though and they are known to be tech-oriented and agile. Everything went well for the first couple of rounds, and I was beaming with confidence until my recruiter told me that there would be one more live coding interview. In the mail, they provided some questions for me to refer to. I opened the attachment with confidence, and in just 2 seconds, my heart sank. All the questions were Leetcode links, and at that very moment, I knew it was over for me.</p><p>Fortunately, my interview was scheduled for after 2 weeks, and this gave me some courage to give it a try. Long story short, I gave my 100% in preparing for the same and, to my surprise, did quite well in the live coding interview. It was not good enough for them, but I knew my level, and I was very proud of myself.</p><p><strong>Full Circle-Why Leetcode is Great for Data Scientists Too.</strong></p><p>Why I would also ask for Leetcode and DSA if I will interview for my firm.</p><p>This whole experience taught me one or two things about tech companies and their recruitment, and now it makes perfect sense.</p><ol><li>These big tech firms are where they are because they always hire top individuals in their respective fields, and they all have at least two things in common, curiosity and problem-solving mindset.</li><li>Leetcode and, at some level, DSA are not mandatory to code and implement Data Science solutions, but if an individual is good at it, it shows that she is a curious and solution-driven individual.</li><li>Leetcode and DSA problems are great tools for checking the most important quality required to be at the very top — Problem-Solving.</li></ol><p>My fellow Data Scientists and ML engineers, Leetcode is awesome for you, too. I understand the resistance. If we see it just from tech compatibility with Data Science, it is somewhat true, but to be at the very top in tech, tech skills are just 1 part of the equation.</p><p>I am asking you to add this arrow to your quiver as it’s a very powerful one and almost necessary. It will change your tech brain to see problems differently and will surely help you to reach solutions early.</p><p>Also, it is way too much fun to ignore it! (Believe Me!)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c62c0fae44fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I Love Linear Regression and so should you.]]></title>
            <link>https://medium.com/@kshitiztiwari07/why-i-love-linear-regression-and-so-should-you-fc6788738276?source=rss-b22f32f5267------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc6788738276</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Kshitiz_Tiwari]]></dc:creator>
            <pubDate>Sun, 09 Jun 2024 03:15:56 GMT</pubDate>
            <atom:updated>2024-06-09T03:15:56.238Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pVTCVzTrd4eWY8-5u06viQ.jpeg" /></figure><p>If you have the slightest idea about Machine Learning and AI in general, you must be familiar with Regression. Yes, the same old regression used to predict the price of a house with training data having features like Bedrooms, Bathrooms, Size in sq. meters and sometimes even distance from a grocery shop.</p><p>Linear regression or Multiple regression is a supervised ML technique where we predict the dependent variable (Price of House) based on one or more input features / independent Variables ( Size, Rooms Bathrooms etc.). In regression, the output and input both can take any number of values. Now this is a very dominant problem statement in business, Medical, Government or any given sector — you name it and people are trying to predict some value based on some input values.</p><p>Now a cautionary note before moving forward. I know that there are many models in ML such as Random Forest, SVR, XGBoost, Neural network and many others which may perform better than simple regression based on the data provided but I am not here pitting Linear regression against other models, but as <strong>Leonardo da Vinci said</strong> “<strong>Simplicity is the ultimate sophistication” </strong>you can never be not blown away by the simplicity yet power of Linear regression<strong>.</strong></p><p>Let’s understand simplicity. This model is just to draw a line that fits all the training data as perfectly as possible. That’s it. That’s Linear regression for you. Now it is very simple to imagine it with 1 or 2 features but things get tricky with multiple features. but the sheer power of linear regression is in the cost function and gradient descent.</p><p><strong>Cost Function: The cost function is the summation of the difference between the predicted value and the correct value of a model.</strong></p><p>The formulae for the same are a little bit tricky but bear with me as it gets interesting from here. For simplicity, this is for Linear regression with one feature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*pb4TQNH9kdopUgz1dE1f5w.png" /></figure><p>Here we are just finding the difference between the predicted and real value of a training data point and squaring it ( to remove negative values and magnify the error) and then summating all data points. Now if you create a graph of cost function against a single parameter suppose taking into account just w, <strong>then it will always be</strong>, and this is the key point here, always be an inverted bell curve. That means that it will always have a minimum. Now why that is important? Well suppose you want to minimise the error while training the model and there are multiple local minima then it might be possible that your algorithm may find a local minima and consider that as the best possible solution but there may be a better global minima present. Well, linear regression solves this problem on its own as it can have just one minima.</p><p>Let’s have a look through the graph for a better understanding.</p><p>Keeping b = 0 for simplicity and taking data points as [1,2,3 ] suppose we plot a graph between dependent variable x and independent variable y using the equation y = wx the result is as below.</p><p>As we can see w = 1 is passing through all the points. In contrast, lines with different w (slopes) have a variance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*0j59Y5ce3VcJZRTjlyCMWA.png" /></figure><p>Now if we find the error for each of these lines putting the value for J in the formulae above it will be 0, 0.583 and 2.3 respectively.</p><p>Furthermore now if we plot the graph between w and J taking the above values of J and w and so on, we can see a pattern emerging.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*_TFS1LYMj_0NiwDvbtJ1mg.png" /></figure><p>This clearly shows that linear regression will always have a single minima.</p><p>If we take some random values of b and try to visualise the same it will come down to something like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*5Cndg9VE1h4O5HqhsHc_zw.png" /></figure><p>As we can see all the lines are converging to a minima. In the sentence by Andrew Ng, “It will take the formation of a hammock” which will have a Minima.</p><p>Now briefly let’s touch base on gradient descent for Linear regression. As there can only be a single minimum in linear regression, gradient descent can work relatively fast and at a better learning rate than usual. Of course, we can’t be reckless and tune hyperparameters haphazardly so that it keep on bouncing and never reach minima but still Linear regression gives a better window to tune hyperparameters such as learning rate.</p><p>Every ML model is only as good as the data and yes using Sklearn to run any model from Linear regression to any sophisticated model is plug and play, but with linear regression, you can always be sure that it’s working as hard as it possibly can for you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc6788738276" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>