<?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 Saurabh Kulkarni on Medium]]></title>
        <description><![CDATA[Stories by Saurabh Kulkarni on Medium]]></description>
        <link>https://medium.com/@saurabhkulk123?source=rss-8f1cede25f28------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*hd2QqBnVOjzJnW_C0tmpbQ.jpeg</url>
            <title>Stories by Saurabh Kulkarni on Medium</title>
            <link>https://medium.com/@saurabhkulk123?source=rss-8f1cede25f28------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 04:58:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@saurabhkulk123/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[An Analogy to better understand Overfitting and Underfitting in Machine Learning]]></title>
            <link>https://medium.com/@saurabhkulk123/an-analogy-to-better-understand-overfitting-and-underfitting-in-machine-learning-574d8b05a1c8?source=rss-8f1cede25f28------2</link>
            <guid isPermaLink="false">https://medium.com/p/574d8b05a1c8</guid>
            <category><![CDATA[overfitting]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[underfitting]]></category>
            <dc:creator><![CDATA[Saurabh Kulkarni]]></dc:creator>
            <pubDate>Wed, 22 Jul 2020 06:36:56 GMT</pubDate>
            <atom:updated>2020-07-22T06:36:56.885Z</atom:updated>
            <content:encoded><![CDATA[<p>Recently i was thinking of one of the fundamental concepts in Machine learning that is overfitting and underfitting in KNN and thought of how it can be simplified for the newbies and learners in this field. I feel that the below explanation can prove out to be credible and lead to better visualisation for the students to understand this concept.</p><p>Lets start with the analogy…..we humans face lot of problems in our day to day life but you will always see some people end up in depression and hurt themselves whereas some people who faced the same situation/ problems come out of it with a bright smile on their face and there is another category of human species who don’t give a damn about the problems and ignore it completely.</p><p>So yes for relating this analogy consider all the problems that we have in our life as the data points and you or any person who belongs to these 3 different categories as the model you want to fit in this data( problems in human context) and we want to get the maximum accuracy out of the model( humans) Consider accuracy as productivity in your life.</p><p><strong>NOTE: this is just an analogy framed which the author tried to just make the concept easier for newbies there are many additions to it for which the author recommends reading more about this concepts.</strong></p><h3><strong>OVERFITTING</strong></h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F8P4bJMYinmXbgK4PEn%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F8P4bJMYinmXbgK4PEn%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F8P4bJMYinmXbgK4PEn%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/62c23ac185ab6c0594f985d62fdd7527/href">https://medium.com/media/62c23ac185ab6c0594f985d62fdd7527/href</a></iframe><p>The first category of individuals try to solve or get worried about every single problem in their life. They want to sort everything . They get disturbed by an anonymous statement about them and they try very hard to handle these outliers in their life . This is the same way the overfit models work. They try to handle every single data point even if it is a noise in their data and hence end up being very complex models , same is the case with humans when we try to handle every single problem in our life or we get intimated by every small problem in our life the humans end up being with countless number of thoughts and hence the life becomes stressful and the productivity goes down.</p><p>Even if the human has worked very well with his existing problems and after a lot of hard work and tension he figured out certain solutions for the problems he will still be tensed and stressed when he will encounter a new problem and he won’t be able to give better productivity (accuracy in terms of model) .</p><p>The overfit models work very hard and try to fit every small error also that is present in the dataset and hence if you see the image below the surface is non-smooth because it is taking care of the noise and outliers in your data as well. These models will work very well on the training data but when a new data point (test data) is encountered the accuracy of the model drops.</p><p>Please try it to relate it with our human example…</p><h3><strong>APPROPRIATE FIT or WELL FIT</strong></h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FQ81NcsY6YxK7jxnr4v%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FQ81NcsY6YxK7jxnr4v%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FQ81NcsY6YxK7jxnr4v%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="435" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a87a4b175478fd61872567384509820/href">https://medium.com/media/4a87a4b175478fd61872567384509820/href</a></iframe><p>The individuals in this category are tend to be more productive and successful because they don’t pay much attention and not devote their energy to certain problems in their life. They simply ignore some of them and hence do not live a complex and stressful life. Even if the new problem comes in their life they will remain optimistic about it and face it. They know which problem has to be solved and which to ignore leading to a better productivity and stress free life.</p><p>In the similar way well-fit models are less prone to noise and are robust. It tries to balance things and take a middle path. It makes some mistakes in classifying certain data points but it is still better than the overfit and underfit models. It has not taken those data points into consideration which are errors or noise in the dataset and hence leads to a decision surface which is very less prone to noise.</p><p>In the below figure the black decision surface is a well fit or appropriate fit model whereas the green decision surface is an overfit model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UcKmU7fkvYYCJVb0.png" /><figcaption>Original image taken from Wikipedia.com</figcaption></figure><h3><strong>UNDERFITTING</strong></h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fjaf4JwRREzsuGMkkDk%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fjaf4JwRREzsuGMkkDk%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fjaf4JwRREzsuGMkkDk%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/a488b982a93962f1e21b776aec0d5980/href">https://medium.com/media/a488b982a93962f1e21b776aec0d5980/href</a></iframe><p>The third category of individuals are not at all bothered about the problems in their life . They are calm in every situation. But they end up giving zero productivity. The individuals should be able to correctly classify the major and minor problems of their life and find some solutions for them but this category of people don’t even bother to do so. In the similar way the underfitting models are the ones that are not able to capture the trend in the data. Underfitting models can neither model the training data nor generalize to new data.</p><p>Underfitting destroys the accuracy for our machine learning model. These models are very lazy . When we talk about KNN we generally select the value of K and then do the majority vote. So if in my dataset I have n points in which n1 are the positive ones and n2 are the negative ones where n1&gt;n2 the underfit model will always classify the query point (new data point we are dealing with) as the one which belongs to the majority class which is positive here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4gCtocUTZCMOTz-r.png" /><figcaption>underfit model . image taken from <a href="https://www.google.com/url?sa=i&amp;url=http%3A%2F%2Fwww.steveklosterman.com%2Fover-under%2F&amp;psig=AOvVaw0gmK6JVeEsW9fbJipEznKx&amp;ust=1595485906318000&amp;source=images&amp;cd=vfe&amp;ved=0CA0QjhxqFwoTCLCj0vKe4OoCFQAAAAAdAAAAABAD">https://www.google.com/url?sa=i&amp;url=http%3A%2F%2Fwww.steveklosterman.com%2Fover-under%2F&amp;psig=AOvVaw0gmK6JVeEsW9fbJipEznKx&amp;ust=1595485906318000&amp;source=images&amp;cd=vfe&amp;ved=0CA0QjhxqFwoTCLCj0vKe4OoCFQAAAAAdAAAAABAD</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=574d8b05a1c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Uncovering the myths about Data Science]]></title>
            <link>https://medium.com/@saurabhkulk123/uncovering-the-myths-about-data-science-2ca66824f118?source=rss-8f1cede25f28------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ca66824f118</guid>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Saurabh Kulkarni]]></dc:creator>
            <pubDate>Sat, 30 May 2020 12:44:52 GMT</pubDate>
            <atom:updated>2020-05-30T12:44:52.119Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*wIu7T3Qu67soly1nTpKRfg.png" /></figure><p><em>Did you know according to Harvard Business Review , Data Scientist is the sexiest job of 21st century?</em></p><p>There are certain inventions and technologies which were thought to be the major breakthroughs in the world and opened a new door of vast opportunities for trading , expansion of businesses and development. Whether it be Electricity in late 19th century or semiconductor industry in mid 20th century this inventions changed the world. The world today we all live in cannot live with one important thing …yes you got it right!!! <strong>DATA.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F4FQMuOKR6zQRO%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fweb-shittyreactiongifs-4FQMuOKR6zQRO&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExcDg2ZGxkdGJuYTNoZTFwcWtsOTJ4MmUzanh3NXdnbTNhbWVzMWdlcSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw%2F4FQMuOKR6zQRO%2Fgiphy_s.gif&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/87d139e7fc79836d13d0eaed116252fe/href">https://medium.com/media/87d139e7fc79836d13d0eaed116252fe/href</a></iframe><p>We are living in a world which is drowning in data. Websites are tracking the user’s click. The smartphone builds a whole stack of records of your location every second . Various companies sell Activity trackers which record the heart rates, movement habits, diet and sleep patterns .The internet itself is huge encyclopedia where one can get all the information and which attracts worldwide users to various platforms which become a source of data.<br>Buried in these data are answers to countless questions that no one’s ever thought to ask and that’s where data science comes into the picture. There is a lot of hype around this because data is the new oil. There are various definitions related to Data science but believe me they are confusing as well.</p><blockquote><strong>Data science</strong> is an inter Disciplinary field that uses scientific methods, processes, algorithms and systems to extract knowledge and insights from many structural and unstructured data. Data science is related to data mining, deep learning and big data.</blockquote><p>The definitions for data science are generally confusing because it is an assortment of several task and there is attention on tasks depending on the application and so for a person who is completely new to this field does not get proper insights about it. So, in this particular blog we will try to give a better picture of what is role of data scientist? and discuss some myths that are floating in the market about data science.</p><p>Data scientist are the tech enthusiast who try to get insights from the data which can be in unstructured or structured format . They analyse, process , model the data , interpret the results and create a plan which is beneficial for any particular organisation. The Data scientist should have knowledge of statistics, computer science and mathematics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*wxhHNCs_KjFZzVSOc0bcSg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*9ttvtiL2TBbFss9Y_YaCBA.jpeg" /></figure><p>Hold on if you are still not clear about these role . Let’s first take an example which is an analogy you can relate for knowing about structured and unstructured data. There are two rooms and i asked you to find a machine learning book in both the rooms . One room is quite messy where you will have to take an effort to clean it and then find out the book whereas in a neat maintained room it would be easy to find it. YES!! the messy room you can relate it to the unstructured data which the data scientist get and work with it for 90–95% of their time and you can imagine clean room as structured data which data scientist encounter almost 5–7% of time in their work. In the similar way to get insights out of both unstructured and structured data and make sense out of it is one of the very important task of data scientist.</p><blockquote><strong>The data scientist works on collection of data , storing data , processing of data, describing data and modelling of data.</strong></blockquote><p>The detailed explanation of all the tasks that the data scientist has to go through is beyond the subject of this blog and would be discussed in more detail in the next blog. Let’s jump onto the second section.</p><h3><strong>MYTHS ABOUT DATA SCIENCE</strong></h3><ol><li><strong>Machine Does Everything</strong></li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FWTjnWYENpLxS8JQ5rz%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FWTjnWYENpLxS8JQ5rz%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FWTjnWYENpLxS8JQ5rz%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="375" frameborder="0" scrolling="no"><a href="https://medium.com/media/f748f8ce6ca6f2a0295c2139f1627230/href">https://medium.com/media/f748f8ce6ca6f2a0295c2139f1627230/href</a></iframe><p>If you speak this in front of a good Data scientist he will react in the same way . It is a common misconception that people have that we have a large amount of data and we feed it to the machine and it will deliver the results . No , there is a bitter truth . Definitely powerful machines have played a vital role for Machine learning and Deep learning but powerful Machines with GPUs does the work of executing scripts , data wrangling (fetching of data from various platforms)and reducing the load of handling and manipulating data which is a hard task for humans. The data scientist on the other hand has to know the following things:</p><p>I) What data to collect?</p><p>II) Where to collect the data from?</p><p>III) How the data should be collected?</p><p>IV) Labelling of data (This the major industry …data annotation plays a very crucial role and without it no task of supervised learning in machine learning can take place.)</p><p>V) what is the schema of database?</p><p>VI) What would certain items in your schema called ? what should be the format?</p><p>VII) what data to clean , how to clean it , study and integrate multiple formats.</p><p>VIII) Visualising plots and studying the trends</p><p>IX) Proposing models , what is the correlation of different features , estimating the parameters.</p><p>Many data scientist in the market perform all of these task or some of it .This is an exciting field to work on and face challenges and get fruitful results out of it.</p><p>2) <strong>Data Science always requires Big Data and Machine Learning</strong></p><p>The above myth is not at all true . Data science can also be applied on numerous small organisations , middle sized companies and rural schools like in rural government schools we can have a data of less than 500 students and answer questions like :do girls dropout from school more than boys?, do students really find maths to be harder than social science?, do students staying farther from school perform poorly? and then infer some useful results out of it and think of how can these situations be controlled.</p><p>Think of a Grocery store the owner can easily get data of his particular customers and understand their pattern of purchasing products and recommend them based on their earlier choices which can significantly increase the sales of the grocery store as well.</p><p>3) <strong>Data Science is always successful</strong></p><p>No, even if you hire a top notch data scientist for your organisation but there is no meaningful insights in the data or data is noisy and you don’t have enough data you will never get the results.</p><p>So, finally busting all the myths we came to a conclusion that …..if the right amount of clean valuable data is available and we have a skilled data scientist with technical and domain knowledge and the organisation has the capacity and resources to act on the insights generated from the data then data science can be successful and impactful.</p><p>Thankyou!!! if you liked this post please share it …..</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ca66824f118" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>