<?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[Machine Learning Magazine - Medium]]></title>
        <description><![CDATA[Machine Learning made simple. - Medium]]></description>
        <link>https://medium.com/machine-learning-magazine?source=rss----88764963ca20---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Machine Learning Magazine - Medium</title>
            <link>https://medium.com/machine-learning-magazine?source=rss----88764963ca20---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 21:06:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/machine-learning-magazine" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Guide To Supervised Learning]]></title>
            <link>https://medium.com/machine-learning-magazine/a-guide-to-supervised-learning-b9c227a71155?source=rss----88764963ca20---4</link>
            <guid isPermaLink="false">https://medium.com/p/b9c227a71155</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Aditya Oke]]></dc:creator>
            <pubDate>Wed, 04 Sep 2019 18:31:04 GMT</pubDate>
            <atom:updated>2019-09-04T18:31:03.152Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>A General Recipe for all the Supervised Learning Techniques.</h4><p>The Machine Learning theory is split into three domains namely <strong>Supervised Learning, Unsupervised Learning and Reinforcement Learning.</strong> (If you are unsure of them please check the previous <a href="https://medium.com/machine-learning-magazine/the-art-of-learning-ffcbd4ef9742">blog link</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*cebyEe_S7aUSkkq9BMKiLQ.png" /></figure><h4><em>What is Supervised Learning?</em></h4><p>Let me tell you what is supervised learning in one line.</p><blockquote>Teach me and I will learn.</blockquote><p>Supervised learning requires someone, to guide us while we are learning. <br>This is the most natural way in which humans learn as well. We are taught how to write and read, we are taught how to do arithmetic. If this form of learning is very natural and hence making computers learn in this way a great idea.</p><p>Supervised learning is the most common form of learning that we encounter in Machine Learning. In fact, Andrew Ng once said that more than 80% of problems involve supervised learning. Supervised learning spans multiple domains such as Regression Algorithms, Neural Networks, Decision Trees, Support Vector Machines to name a few (In case you don’t know them it’s okay we will look into them soon.) Supervised Learning is a very powerful technique as it tends to be far more accurate than the other two.</p><p><strong><em>But often people complain….</em></strong></p><h4>There are too many algorithms in Supervised Learning. Is there any general recipe?</h4><p>True that there are many algorithms in this domain. It is difficult to understand them and correlate as all try to solve similar problems. All the supervised learning algorithms have 6 things in common. Let us make 6 jars and then see them one by one.</p><figure><img alt="Image result for 6 Jars of Machine Learning" src="https://cdn-images-1.medium.com/proxy/1*lJk7Yi4EhlYzzgxSwUutwA.jpeg" /></figure><ul><li><strong>Data</strong>: (Always necessary)</li><li><strong>Task</strong>: (We don’t solve a problem without knowing what is our task 😃)</li><li><strong>Model</strong>: (Yes! You heard it right, that same word from my previous blogs)</li><li><strong>Loss Function</strong>: (Don’t worry I will explain this 😅)</li><li><strong>Learning Algorithm</strong>: (A Generic algorithms for all 😇)</li><li><strong>Evaluation Technique</strong>: (Nothing is learnt till it’s not evaluated 😃)</li></ul><h4>The Data Jar</h4><p>We consider real-world data here. Recall that in supervised learning we require labelled data i.e. data which has the attributes or X values and Y values which are the labels. Let’s take an example to make this clear. <br>Suppose you have a tabular data, maybe the data is regarding your medical profile and says whether you are healthy or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*hglSc_Yv0SCjwQEZOQE2kg.png" /></figure><p>You may have various columns in your medical profile, such as Age, Blood Group, Gender, BP, Sugar value, etc. This belongs to the X values or the attributes of the data.</p><p><strong>What do we want to label this as?<br></strong>We want to label whether the person is healthy or not. So, for each row, we have a label healthy or unhealthy, this belongs to Y value.</p><p>Now we are given this data, we need to do some analysis with data.<br> So we need to define a task for the data.</p><h4><strong>The Task Jar</strong></h4><p>The task jar decides what needs to be done with the data. In supervised learning, we can have only two tasks. <strong>They are regression and classification.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*oA8j1YvNtKHdyipStUFk2A.png" /></figure><p>Let us dive into them briefly.</p><blockquote><strong><em>Regression Tasks: -</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*H39ED6bUeWGSsCpvak8UtQ.png" /></figure><p>In Regression, we try to predict or forecast a future value based on current data. Examples of this are stock market predictions and weather forecasting. Think about it, how do we predict tomorrow’s weather? We think about various factors such as the season, today’s weather, some reports from news, personal experience and hence we say what tomorrow’s day will be. Regression tries to perform the same analysis on the data; it tries to <strong>learn from the previous values and forecast the future.</strong></p><blockquote><strong><em>Classification tasks: -</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*qZlI-2K9Hsc4Zp_nPRgaCQ.png" /></figure><p>The first problem that we discussed in the data section about saying whether a person is healthy or not is a classification task. Given the attributes of data we try to guess where the person belongs; is he healthy or unhealthy.</p><p>This way of classifying a data point into one of two possibilities is called <strong>binary classification</strong>.</p><p>Let’s take another example. Suppose I give you data of handwritten digits</p><p>0–9. After this, I pick any one data point and ask you which digit is this? You will have 10 choices here to choose from, right? The digit belongs to only one of them. Here we have labels belonging to different classes. This type of problem is called <strong>Multi-Class Classification.<br> Regression and classification</strong> form the tasks in supervised learning.</p><p><strong><em>But who will do this task?<br></em></strong>We need someone who can do these tasks on the given data. For that, we have the next jar.</p><h4>The Model Jar</h4><p>A Machine Learning model tries to map the given X attributes to the output Y. So, the model is a very simple jar where we try various algorithms each trying to map X to Y. Each model tries to learn the mapping between X and Y. It has to be trained. A model cannot give correct outputs until it is trained.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*SmZpAieq7WoRn8ISInQ36w.png" /></figure><p><strong><em>But there is a confusion here…………</em></strong></p><h4>How do I know which model is best or which algorithm is best?</h4><p>Clearly, there is<strong> no best algorithm </strong>(otherwise we won’t have so many algorithms at all) The best model depends on data given and task required.</p><p>This part is highly empirical and this is where the Art of Machine Learning lies. No clear winner, just keep trying…. I will give you guidelines as we go along.</p><h4>How will the models learn?</h4><p>The models need to learn the data. Initially, the models make wrong predictions, but as we keep training them, they improve. To make them learn we need the next two jars.</p><h4>Loss Function Jar</h4><p>Let us understand how we learn from our mistakes.<br> Consider this conversation with an interviewer and a candidate.<br> <strong>(Make sure you have a sense of humor)</strong></p><p><strong>Interviewer:-</strong> What is the value of 2 + 2?<br> <strong>Candidate:-</strong> It’s 2.<br> <strong>Interviewer:-</strong> No you are not quite right it is a bit less, try again.<br> <strong>Candidate:-</strong> It’s 5.<br> <strong>Interviewer:-</strong> No you missed it by a slight margin, try a bit less.<br> <strong>Candidate:-</strong> It’s 4.<br> <strong>Interviewer:-</strong> You’re selected as Machine Learning Engineer.</p><p>Hope you had a laugh. What exactly happened here? What if the candidate was the model which we are trying to train? How did the candidate learn?<br> The candidate tried to <strong>minimize the error.</strong> First, he answered 2, error was 2. Then he answered 5, now error was 1. Finally, the error was 0 and he was right!!</p><p>We similarly train our Machine Learning models, we first get a random output, then see what the actual output should be, recognize the mistake and learn from it. But to learn, we need to understand the error first.</p><p>This error is captured by the Loss Function. The loss function is simply a measure of how inaccurate your prediction was. It is a function Y_predicted and Y_given.</p><p>These functions are already made by statisticians and studied for long. Our objective is to <strong>minimize this error value</strong> or technically speaking the <strong>loss value.</strong> But to minimize that we require a certain mechanism or an algorithm that will help us to minimize the loss function. This is given in the next jar.</p><h4>Learning Algorithm Jar</h4><p>Every Machine Learning Model needs to learn. We need to train it. For it to learn it must have some algorithm. This algorithm does the job of minimizing the error made by the model. Every model has its learning algorithm but all have the same underlying principle.<br>Let me write a generic recipe to make it clear.</p><pre>Initialize the model with its default parameters.</pre><pre>while (not satisfied):<br>    Update the parameters of the model such that error is reduced.</pre><pre>Save this new model.</pre><p>That’s it, it’s that simple. All the machine learning algorithms do the above lines. Wait there are two terms that I never told you.</p><blockquote><strong><em>What is satisfaction ?</em></strong></blockquote><p>Satisfaction can vary from model to model, person to person. The satisfaction maybe being able to reduce the loss (error) to the minimum value. Sometimes, it may take very long to reduce the error to the minimum value. Then satisfaction may mean running the code for 10 minutes or certain time. So, satisfaction may vary, it depends on what we intend to do.</p><blockquote><strong><em>What are parameters ?</em></strong></blockquote><p>Suppose my machine learning algorithm is y_pred = a X + b. <br>Here, X is the input and y_pred is the predicted output. What I am trying to learn is a straight line. But how do I adjust this straight line? I need a slope and an intercept, here ‘a’ will learn the slope and ‘b’ will learn the intercept. <br>So, we say that ‘a’ and ‘b’ both are parameters.</p><blockquote><strong><em>But how do you update them ?</em></strong></blockquote><p>Suppose we somehow know that y_actual = 3X + 5. But my model started by taking values a = 2 and b = 9. That is, we have the y_pred = 2X + 9. Now, we see that we have to increase ‘a’ and decrease ‘b’. This information will be captured by the loss function, the loss function will guide our model to update these parameters. So, minimizing the loss function (error function) will tune the parameters as well. To minimize the loss function, we have different methods for each model. We will look into it as we learn models.</p><h4>Evaluation Jar</h4><p>Imagine you are going to write a test on trigonometry. How do you prepare for it? You prepare like a machine learning model, initially untrained. Then you take the textbook and start practicing questions, the more you solve more you are trained, the better you become in the subject.</p><blockquote><strong><em>But does that mean you do well in the test?</em></strong></blockquote><p>Not necessarily, we need to check whether you learnt to apply the concepts properly. We need to ensure that you are not mugging up the textbook. <br>We must evaluate your performance in testing phase not during the training time. Once you are able to solve unseen questions in the test, we can say that you learnt well.</p><blockquote><strong><em>How does this relate to Machine Learning models?</em></strong></blockquote><p>Our Machine Learning model is trained on the given data for whom we know what the output is. But we need to ensure that the “model” actually learns the data, not mugs up the relation. For that, we need to test it with some unknown data whose answers we do not give to it. We ask our model to now solve for this unknown data. Then we verify its answers for with the answers that we have. If it does well on unknown data, then we say that the model learnt well.</p><h4>Conclusion: -</h4><p>That’s how every supervised learning algorithm works. Once we know about all the 6 jars for each model, we are done. The six jars analogy will help us in future blogs will make it easy to understand even if you are uncomfortable with the math.</p><p><strong><em>It is always simple to learn if the way of learning is simple.</em></strong></p><h4>Let us summarize all the six jars.</h4><p>The six jars model provides us a simple way to understand all the machine learning algorithms.</p><figure><img alt="Image result for 6 Jars of Machine Learning" src="https://cdn-images-1.medium.com/proxy/1*lJk7Yi4EhlYzzgxSwUutwA.jpeg" /></figure><blockquote><strong><em>Data Jar</em></strong></blockquote><ul><li>Data comes from real-world as a collection of attributes. <br> These are our X values.</li><li>In supervised learning, we have labels for the data. <br> These are our Y values.</li></ul><blockquote><strong><em>Task Jar</em></strong></blockquote><ul><li>We have two tasks in supervised learning, regression, and classification.</li><li>Regression task involves predicting future values based on known data.</li><li>Classification task involves classifying the data into subgroups.</li><li>If we classify into two subgroups then it is called Binary Classification.</li><li>If we classify into more than two subgroups then it is called Multi-Class Classification.</li></ul><blockquote><strong><em>Model Jar</em></strong></blockquote><ul><li>Contains the machine learning model which converts the given X attributes to a predicted Y value.</li><li>Model is just an approximation; it does not guarantee that our predicted outputs will be the same as expected values.</li><li>We need to train the model before using it.</li></ul><blockquote><strong><em>Loss Function Jar</em></strong></blockquote><ul><li>Calculates the error between output produced by our model and the actual output.</li><li>We have to minimize this error. To minimize this, we need the learning algorithm jar.</li></ul><blockquote><strong><em>Learning Algorithm Jar</em></strong></blockquote><ul><li>We need to design an algorithm that minimizes the loss function until we are satisfied.</li><li>Update the parameters of the model as we minimize the loss function.</li></ul><blockquote><strong><em>Evaluation Jar</em></strong></blockquote><ul><li>Ensures that our model has learnt from data, not mugged up the inputs and the outputs.</li></ul><p>That’s it for this blog. Hope that I made it simple for all to understand how supervised learning is structured. Stay tuned for the next one 😄 where we will discuss our first supervised model.</p><h4>Who am I?</h4><p>I am a University student trying to bring AI closer to the common man. Through my blogs, I want to educate everyone about Machine Learning.<br> I intend to reach out everyone, even to those who have no clue what AI is.<br> You can view all publications by clicking <a href="https://medium.com/machine-learning-magazine"><strong>here.</strong></a></p><p>You can view me on LinkedIn by clicking <a href="https://www.linkedin.com/in/aditya-oke-99b74717a/"><strong>here.</strong></a></p><p>Thanks to <a href="https://www.linkedin.com/in/anush-chandra-shetty-95889b176/"><strong>Anushchandra Shetty</strong></a> for the Proof-reading and suitable edits.</p><h4>Citations</h4><p>Thanks to <a href="https://www.linkedin.com/in/mitesh-khapra-3bb3032/"><strong>Prof. Mitesh Khapra</strong></a><strong> from Indian Institute of Technology, Madras for giving the six jars ideology and the six jars image. </strong><br>Without him, this blog would be impossible.</p><p>Thank you to <a href="https://towardsdatascience.com/"><strong>Towards Data Scienc</strong></a><strong>e for the regression, classification images.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9c227a71155" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-magazine/a-guide-to-supervised-learning-b9c227a71155">A Guide To Supervised Learning</a> was originally published in <a href="https://medium.com/machine-learning-magazine">Machine Learning Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Art of Learning]]></title>
            <link>https://medium.com/machine-learning-magazine/the-art-of-learning-ffcbd4ef9742?source=rss----88764963ca20---4</link>
            <guid isPermaLink="false">https://medium.com/p/ffcbd4ef9742</guid>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Aditya Oke]]></dc:creator>
            <pubDate>Sun, 25 Aug 2019 18:31:02 GMT</pubDate>
            <atom:updated>2019-08-25T18:31:02.347Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*333yYwb6toIJeDjwdW4luA.png" /></figure><h4><strong>Making Machines Learn</strong></h4><p>Learning is by far the most complicated process that all humans do. <br> We all learn daily, don’t we? We learn today so that we are better than yesterday. We learn, we improve and hence we become more reliable, more precise. In some sense acknowledge what happens around us in a better sense. Learning is a key part of our life, without learning we wouldn’t be able to comprehend data around us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/0*dKW6ssH9ocQ8VhD1.jpg" /><figcaption><strong>We all are learning.</strong></figcaption></figure><h4><strong>What’s common between Machine Learning and us?</strong></h4><p>As I said in the previous <a href="https://medium.com/machine-learning-magazine/hello-to-machine-learning-61a6eba82f85"><strong>blog</strong></a>, <strong>Machine Learning is an art. It is an art in which the computer learns</strong>. We start learning since we were infants and continue to grow and develop ourselves. Similarly, we have models in Machine Learning which are like infants. They do not know anything by themselves. They have to learn from the data similar to the way we humans learn. To make these infant <strong>models</strong> learn we need to take a closer look at how humans learn. Then we can try to simulate this idea of learning to our models.</p><p>Human learning is highly accurate and very reliable. It is very logical to have mechanisms for a computer to learn very similar to the way humans learn. <br> <strong>Let us understand “The Art” of how humans learn and relate it back to Machine Learning.</strong></p><h3>The Three Arts of Learning: —</h3><h4><strong><em>Supervised Learning: -</em></strong></h4><p>The first art is supervised learning. Most of the things that we learn are taught by others, that is someone else supervises our task. Suppose you are learning football, the coach might have shown you a video of dribbling, you now try to simulate the same thing. <strong>This is called learning under supervision or guided training, also technically called supervised learning.</strong></p><blockquote><strong><em>How does this link back to Machine Learning?</em></strong></blockquote><p>In Machine Learning need to <strong>train models</strong>. These models try to simulate what we do in our brains. They simulate the way we learn and try to understand the given data the way we do.</p><p>Let’s take an example to get our heads clear. <br> <strong><em>How do we recognize if the given animal is a dog or cat and classify accordingly?</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XsOQDpTiLttQHg_5" /><figcaption><strong>How about this to learn?</strong></figcaption></figure><p>Your mother (your first teacher) might have shown you a labelled image of a cat and told you this is a cat. Also, she would have shown you a <strong>labelled image </strong>of a dog and said that this is a dog. Eventually, with multiple real-world examples, your brain learnt to distinguish between <strong>dog </strong>and <strong>cat</strong>.</p><p>Similarly, it would make sense if we give our model some kind of <strong>labelled data</strong> to learn i.e. we would give it multiple images saying this is a dog and multiple images saying this is a cat. <strong>The model will have to learn from this data and in the end, be correctly able to distinguish dog and cat.</strong></p><p>This art of learning is called <strong>supervised learning</strong>. <strong>Supervised learning is used when we have labelled data, that is data with some input and well-known output.</strong></p><h4>But wait……</h4><p>You learnt how to distinguish between dog and cat by seeing the images and training your brain.</p><p><strong><em>How will the model “learn” to distinguish between dog and cat?</em></strong></p><p>For this, <strong>we need a learning algorithm</strong> which I will tell you soon. <br> (Hold on guys 😁 I can’t tell all the story at once)</p><h4><strong><em>Let us move to the second art.</em></strong></h4><h3><strong><em>Unsupervised learning</em></strong></h3><p>Imagine I gave you this data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*UmOWcS3UXCLPHF71990Byg.png" /><figcaption><strong>How do you group this?</strong></figcaption></figure><p>And now asked you to <strong>naively group these data points</strong> <br> (the blue dots) into three different zones, or regions.</p><p><strong>How would you group?</strong></p><p><em>Let us make this a bit tricky.</em></p><p><strong>I have a certain grouping in my mind, can you too group this in the same way?</strong></p><p><em>Sounds tricky, right?? </em><br> <strong><em>Think about this for a while…</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*azNeMNUMPscY_EOr272G_Q.png" /><figcaption><strong>Is this what you thought?</strong></figcaption></figure><p>Probably you might have thought of this <strong>grouping</strong>. It may not be the same <strong>grouping</strong> as I have in my mind though.<br> Think about this way of learning in real life. <br> E.g. You learnt to group cats and dogs into a single class called animals. When shown another animal say horse, you again add that to your group of animals.<br> In some sense, you learn to group the objects based on some similarity measure that you have seen before and then add some more objects to the group that satisfy the property.</p><blockquote><strong><em>How is this art of learning different from supervised learning?</em></strong></blockquote><p>In this art of learning, I never told you <strong>how to group the data.</strong> <strong>I never supervised over how you are grouping, or rather never even guided you while you were grouping. </strong><br>But I know one thing<strong>, the correct groups </strong>which I had in my mind.<strong> </strong>I can use them to say whether you are doing right or wrong. <br> This is the trick in <strong>unsupervised learning</strong>, we call this situation as having <strong>data without labels,</strong> (unlike the previous case where I gave you cat and dog as labels) this is a tricky situation where <strong>you do not know the relationships within the data. </strong><br> Your job is to find the relation between the data. This case it was grouping, you could try different ways of grouping, and in the end, arrive at some relationships within the groups.</p><blockquote><strong><em>How does a Machine Learning model learn this data ?</em></strong></blockquote><p>You need a model which will work for unlabelled data. You need a different approach where the model inherently tries to find some relationships within data itself. This again requires a different <strong>learning mechanism</strong> which I will introduce to you soon. Just remember that this isn’t the same as <strong>supervised learning.</strong></p><h4><strong><em>The third art is very special, you have been doing this unknowingly.</em></strong></h4><h3>Reinforcement Learning</h3><p>Let me ask you a question.<br><strong>How did you learn to play Video Games (E.g. FIFA, CS:GO)?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*e09d-X8wDvUeUlOt5r1xsw.png" /><figcaption><strong>How do you play this? I still can’t </strong>😅</figcaption></figure><p><strong>Was there any significant amount of supervision required ?</strong><br><strong>Did it require any data given to you prior and tried to find some sort of relation ?</strong></p><p>Definitely not. <br>This was a really different environment; you tried and tried and you succeeded in playing the game or mastering it.</p><blockquote><strong><em>How does this relate to Machine Learning ?</em></strong></blockquote><p>This learning mechanism is used in Machine Learning when we have to train AI robots to play games, train self-driving cars, etc. Just think about this, how did you learn to play PC Games? <strong>You had a reward while playing, also you have an agent this agent is your player.</strong> You have to drive your agent towards maximizing the reward, this reward may be the number of kills in CS: GO or maybe scoring goal FIFA.</p><p>In Reinforcement Learning also we have<strong> an agent and a reward.</strong> Similar way we set up an <strong>environment </strong>where we <strong>try to train the agent based on the reward.</strong> E.g. We can train the self-driving car based on to reach the destination, it gets rewarded for not crashing and accurate driving. This art is very tricky and toughest of the three because here you don’t have any fixed algorithmic path or any certain mechanism to learn. You learnt to play games by trying repeatedly. But for a computer to try repeatedly and understand is not so easy. (Had this been very successful by now we would have self-driving cars everywhere 😉)</p><h4><strong><em>Let us have a final overview….</em></strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5P77eQnFWT7FTs0q.png" /><figcaption><strong>The complete Art</strong></figcaption></figure><p>This is the <strong>Art of Learning.</strong> The heart of Machine learning lies within these three learning domains. <strong>All the machine learning algorithms fall into these three categories.</strong> I haven’t told you how each learning method works in a computer sense yet, you can comprehend that with these three methods we should be able to emulate a human.</p><p><strong>This is the way Machine Learning works, whatever you see today Weather Forecasting, Market analysis, Robots, Game AI or shopping recommendations all fall into any one of the three arts of learning. </strong><br> Mastering each art is difficult but not impossible, but as I said before as a common man you should be able to appreciate each of these arts.</p><h4>So these are the Three “Arts”, How do I learn them?</h4><p>I have given you an overview of the three arts, we will dive deeper into our first art called <strong>“Supervised Learning”</strong> from the next blog. <br> Stay tuned 😃</p><h3>About Me</h3><p>I am a University student trying to bring AI closer to the common man. Through my blogs, I want to educate everyone about Machine Learning.<br> I intend to reach out everyone, even to those who have no clue what AI is.<br> You can view all publications by clicking <a href="https://medium.com/machine-learning-magazine"><strong>here.</strong></a></p><p>You can view me on LinkedIn by clicking <a href="https://www.linkedin.com/in/aditya-oke-99b74717a/"><strong>here.</strong></a></p><p>Thanks to <a href="https://www.linkedin.com/in/anush-chandra-shetty-95889b176/"><strong>Anushchandra Shetty</strong></a> for the Proof-reading and suitable edits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffcbd4ef9742" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-magazine/the-art-of-learning-ffcbd4ef9742">The Art of Learning</a> was originally published in <a href="https://medium.com/machine-learning-magazine">Machine Learning Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello To Machine Learning]]></title>
            <link>https://medium.com/machine-learning-magazine/hello-to-machine-learning-61a6eba82f85?source=rss----88764963ca20---4</link>
            <guid isPermaLink="false">https://medium.com/p/61a6eba82f85</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificalintelligence]]></category>
            <category><![CDATA[begginer]]></category>
            <category><![CDATA[deep-learning]]></category>
            <dc:creator><![CDATA[Aditya Oke]]></dc:creator>
            <pubDate>Fri, 09 Aug 2019 18:31:07 GMT</pubDate>
            <atom:updated>2019-09-01T09:56:02.129Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>Cutting the long ML story short.</h4><p>After demystifying AI, it’s now time to turn our attention to <strong>Machine Learning.</strong> Let us clear all the confusion in our minds about machine Learning. (<a href="https://medium.com/machine-learning-magazine/ai-jargon-busting-6633e197b0b">Click here for the previous blog</a>)</p><h3>Myths of Machine Learning</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*BtDJI9ubo9EdbYOz.jpeg" /><figcaption><strong>Is this confusion in your head as well ?</strong></figcaption></figure><blockquote><strong>I need to be a computer science student to understand Machine Learning….</strong></blockquote><p>No, not at all. You needn’t be. You weren’t a civil engineer while you fit a nail in the wall. Nor were you a mechanic while you drove your car. <strong>Machine Learning is an art and it has to be appreciated.</strong> You aren’t a football expert but you do appreciate when someone scores a goal, right? Same is with Machine Learning, <strong>you needn’t be a statistician or mathematician or a computer science graduate to comprehend Machine Learning.</strong></p><p>You can be a silent spectator in AI (just like an audience) or maybe a die-hard fan of AI (some fans go really crazy) or perhaps an expert in AI. To be any of these you need to be able to appreciate what the computer does and how it does. Remember that we taught the computer to learn, so it isn’t hard to learn how the computer does it.</p><blockquote><strong>I am weak in Maths and Statistics, I don’t like to solve equations, hence I feel ML is not for me.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*9C4GKxYrAbb5VkQ3fleocQ.jpeg" /><figcaption><strong>No don’t get scared</strong></figcaption></figure><p><strong>You don’t have to get scared. </strong>Neither do you have to solve equations or do lot of calculations. Most of the part is already implemented in Python and its packages. You have to just use the tools. You need not know how the engine of the car works but still, you can drive really well right?. Though expertise in Math helps to get an in-depth understanding. It is not always required. Just 12th standard Math is more than enough, along with very basic statistics.</p><p>You can just say that “Okay, the<strong> Math part will be done by Python.</strong> Let me do the part after it”. Machine Learning uses math because the computer cannot understand our language. The computer can understand only equations and numbers. But this doesn’t mean that you need to only know equations or math.<strong> You can stay 50 feet away from math and still learn Machine Learning.</strong></p><p>Well if you don’t believe the above line then as you continue in my future blogs you will.</p><blockquote><strong>Do I need to code to do Machine Learning or all is done by the computer itself?</strong></blockquote><p>Computers are not smart enough to do “Machine Learning” by themselves. We need to code to teach the computer. The programming part is not the conventional way in which you might have done programming. It is simpler and more straightforward. Most of the part is implemented already in Python. You just have to learn how to implement the <strong>“models”. </strong>It isn’t that difficult but yes, you have to code. Coding is the only way in which we can teach the machine, isn’t it?</p><blockquote><strong>I don’t know to code. How do I learn ML?</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wtgwDk0JfnDP29gX.png" /><figcaption><strong>Most of the part is not Coding</strong></figcaption></figure><p>You do not require very high level of programming. Basic Python knowledge is enough. In case you are a non-programmer. <strong>You can still read my blogs very comfortably;</strong> I will separate the coding section and help you understand and <strong>appreciate what and how Machine Learning works.</strong> Don’t worry if you cannot program, you will be alright. Eventually, <strong>you will fall in love with ML</strong>, (through my blogs of course) learn to code and then code to learn again.</p><blockquote><strong>I don’t have a good computer, also I don’t know how to set up my computer to do Machine Learning. How do I code then?</strong></blockquote><p>Relax you needn’t set up your local machine to code. You could just use free cloud platforms such as <a href="https://colab.research.google.com/"><strong>Google Colab</strong> </a>or<a href="https://www.kaggle.com/kernels"><strong> Kaggle Kernels.</strong></a> These contain all the packages that you require to code for free. <strong>They run in your web browser</strong> and <strong>require no setup.</strong> We will use them soon.</p><blockquote><strong>What should I code?</strong></blockquote><p>We will get there<strong> soon</strong> probably after a few blogs.</p><h3>What is Machine Learning? …. Truth in simple words.</h3><blockquote><strong>What does Machine Learning exactly try to do?</strong></blockquote><p>Machine Learning tries to learn a relationship between the input data and the output. We train “models” which for this job. In simple terms, the job of a model is to take input data, <strong>learn a function say “f”</strong> which is <strong>f(input_data) </strong>and give us the <strong>desired output.</strong></p><p>The input data maybe text data, images or even videos. The output is something that we expect from the model. E.g. We do weather forecasting in our minds (We do this every-time before a cricket match 😃). We take into consideration the humidity, clouds, location, past experience, month, etc. These are our input attributes. The final output is <strong>“Yes”</strong> if it rains and <strong>“No”</strong> if it doesn’t.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fh05rY2JK_o_4ovcBSrwJw.png" /><figcaption><strong>It’s that simple</strong></figcaption></figure><p>The same task now we want to automate. That is we want a <strong>“model”</strong> to take these inputs do computations as we do it in our head then tell if it rains or not.</p><blockquote><strong>What are these “models” how do I make them ?</strong></blockquote><p>The most important thing what we study in ML is these various <strong>“models”</strong> that map the input to the output. You don’t have to create a new model necessarily. There are tons of models that people have researched for past more than 30 years. <strong>You need to learn them and understand when which model works, how does it work and when which doesn’t and why it doesn’t.</strong></p><p>You need to use these “<strong>models</strong>” to model the given data. Sounds very simple right? I will teach you all the models then you try them one by one and <strong>YAY!!</strong> you know Machine Learning. <strong>The bitter truth: this isn’t that easy as learning models takes time.</strong></p><blockquote><strong>How do the “models” learn to map the input data and the output ?</strong></blockquote><p>No model can learn on its own, we need to teach it. <strong>The soul of Machine Learning lies in teaching the models to learn.</strong> We will discuss this in the <strong>next blog.</strong></p><h3>The Art of Machine Learning.</h3><p>Machine Learning is all about mapping the input data to the output. To make this possible we use the existing models, sometimes we also create our own models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/0*TjKTTNmAXKlzQSFf.png" /><figcaption><strong>These all are just Jargon everything will be clear soon</strong></figcaption></figure><p><strong>The art of Machine Learning lies in mastering the way to analyze the data and interpret it efficiently.</strong> Models are like paintbrushes and colors you have to decorate the beautiful data given to you.</p><p>Art needs to be appreciated (not all can master art, but everyone can appreciate) the same is with AI. If you are a common man trying to understand what AI is, remember that <strong>AI is the ability of the computer to interpret the data as humans do.</strong></p><p>That’s what Machine Learning is all about. It is pure art which all of us can understand. The art lies in making the machine learn. The art is to develop mechanisms for machine to learn.</p><p>In the next blog, I will teach you this <strong>art of learning.</strong> Stay Tuned 😃<br>The next blog is released 😃 <a href="https://medium.com/machine-learning-magazine/the-art-of-learning-ffcbd4ef9742"><strong><em>click here</em></strong></a><strong><em> </em></strong>.</p><h3><strong>About Me: -</strong></h3><p>I am a University student trying to bring AI closer to the common man. Through my blogs I want to educate everyone about Machine Learning. I intend to reach out everyone, even if you have no clue what AI is.</p><p>You can view me on linked by clicking <a href="https://www.linkedin.com/in/aditya-oke-99b74717a/"><strong>here.</strong></a></p><p>Thanks to <a href="https://www.linkedin.com/in/anush-chandra-shetty-95889b176/"><strong>Anushchandra Shetty</strong></a> for the Proof-reading and suitable edits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61a6eba82f85" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-magazine/hello-to-machine-learning-61a6eba82f85">Hello To Machine Learning</a> was originally published in <a href="https://medium.com/machine-learning-magazine">Machine Learning Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Jargon Busting]]></title>
            <link>https://medium.com/machine-learning-magazine/ai-jargon-busting-6633e197b0b?source=rss----88764963ca20---4</link>
            <guid isPermaLink="false">https://medium.com/p/6633e197b0b</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Aditya Oke]]></dc:creator>
            <pubDate>Sat, 03 Aug 2019 18:31:06 GMT</pubDate>
            <atom:updated>2019-08-07T16:14:26.039Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<h3>Bursting The AI Bubble</h3><h4><strong>The era of AI confusion ends……</strong></h4><p>AI is one of the hottest and most talked terms in this decade. We all have heard at least some or the other jargon about AI. Also, we have heard many dialogues related to AI starting from self-driving cars and ending at how there will be job reduction in the market in near future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*NUCWP5aDZcueNNyZOsFGrQ.png" /><figcaption><strong>Is this in your mind as well?</strong></figcaption></figure><p>Are you too confused with all these terms? Are you too confused about their relationship with each other?</p><blockquote><strong>It’s high time to Break the Bubble…..</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/0*lNpRniyYjHRGUXHI" /><figcaption><strong>Time to break this Bubble</strong></figcaption></figure><p>Yes, now is the best time for all of us to be clear what AI is and why it exists. AI has made our lives simpler. In fact, it is easier to live alongside AI than to live without it.</p><p>Enough said about it (maybe spoke too much) let’s now dwell deeper and demystify these terms.</p><h3><strong>What is AI ?</strong></h3><p>AI is Artificial Intelligence. It is an art by which computers try to achieve human close performance. Computers or any electronic devices for that matter, try to learn the way we do the things. E.g. Face Detection, Voice assistants, text-to-speech mechanism. We have encountered in AI in our daily life. Simple examples like helping us to find a real-time navigation system, recommending our favorite Netflix series, or Chatbots to help us on pages.</p><blockquote><strong>But then I thought AI was all about Maths and Machine Learning ??</strong></blockquote><p>To be honest, it is true that AI is math-based. One need not be a Mathematician like<em> </em><a href="https://en.wikipedia.org/wiki/Srinivasa_Ramanujan"><em>Ramanujan</em></a> or genius like <a href="https://en.wikipedia.org/wiki/Albert_Einstein">Einstein</a> to do super-cool stuff in AI. But not all AI is machine learning. Machine Learning is a subset of AI. AI is not just ML, it is more than that. We have other stuff in AI as well.</p><blockquote><strong>People say Data Science is the next big thing. Deep Learning is the next big thing. How are they related to AI?</strong></blockquote><p>Maybe most of us are in this stage, hunting Data Science Jobs or planning for them. I think all of us have heard too much Jargon on Self-driving cars, Deep-Learning, etc. Let’s get our heads clear with it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*ibmeaRGETRfcc4LZDBP8Rw.png" /><figcaption><strong>The Truth of AI</strong></figcaption></figure><p>This perfectly sums it up<strong>.</strong></p><p><strong>Data Science is essentially all in one, AI, ML, DL along with lot of statistical aspects of data.</strong></p><p><strong><em>GOSH This is still confusing………….</em></strong><em> Hold on…….</em></p><blockquote><strong>What is left in AI after these division ?</strong></blockquote><p>AI still consists of other stuff like Natural Language Processing, Computer Vision, Generative Modelling, Graphical Models, blah blah blah…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*NkzEFV7-rM85Nm1GWoPuhw.png" /><figcaption><strong>That’s AI for you</strong></figcaption></figure><p>AI is rather too big field to write even a blog on. Let us shift our attention to a very small block of AI (maybe not that small as well) called Machine Learning.</p><h4><strong>So you mean that ML is a very small thing in AI. Then what is Machine Learning?</strong></h4><p>Machine Learning is a subset of AI which focuses on traditional statistical algorithms to map data. All we care is a better representation and analysis of Data. We want to map the real-life data so that the computer can interpret as we do.</p><blockquote><strong>So is Machine Learning All about Data?</strong></blockquote><p>To be frank yes, Machine Learning depends on data. We want to make some meaning out of data. E.g. Given your house dimensions, location and time we can estimate its market value. We need to learn a meaningful representation of data and understand it the way a human does.</p><blockquote><strong>What is Deep Learning and why is there so much hype about it?</strong></blockquote><p>Deep Learning is my favorite subset of Machine Learning which focuses on Artificial Neural Networks. Deep learning tries to solve every problem in a Neural Network fashion. It has tremendous power and in day to day applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EIrnRn2xjCNLMNos" /><figcaption><strong>Just to scare you…. It is simple</strong></figcaption></figure><p>The image is just to scare you, :P . Don’t worry. Things will be clear when we talk about this. We will dive into this in the next blog. (Chill guys I took 5 months to figure this out. If you don’t get this it completely normal😃 ).</p><h3><strong>The last point……</strong></h3><blockquote><strong>Do I need to know everything in ML to have a job? Should I be master in AI?</strong></blockquote><p>Definitely not, you weren’t a mathematician or a scientist when you did your 12th standard. Nor were you <a href="https://www.quora.com/Who-is-Jeff-Dean">Jeff Dean</a> when you started programming. Take time, I will take you slowly into ML. You need to understand the underlying principles to learn ML.</p><blockquote><strong>Okay, so I’m packing my bag for an ML Journey with you, what should I carry?</strong></blockquote><p>Nothing more than 12th Standard Maths and basic Python Programming. I will take you in depths of ML without making you being frustrated with a hell of lot of Maths and equations. We will see things in a clear way along with lot of visualizations. Easier, simpler and hands-on is what I intend in my blogs. Also, for Math enthusiasts (like me), I will have a section for you at the end of my blogs. I hope to educate all people without any jargon.</p><blockquote>Your journey with Machine Learning begins……………..</blockquote><h3><strong>About Me</strong></h3><p>I am a university student who wants to educate people in AI. My sole aim is to remove the fear of mathematics and ML from the minds of common people. AI is here to stay, so let’s make life easier with it.</p><blockquote><strong>Contact me: -</strong></blockquote><p><a href="https://www.linkedin.com/in/aditya-oke-99b74717a/">Aditya Oke - Vellore Institute of Technology - Pune, Maharashtra, India | LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6633e197b0b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/machine-learning-magazine/ai-jargon-busting-6633e197b0b">AI Jargon Busting</a> was originally published in <a href="https://medium.com/machine-learning-magazine">Machine Learning Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>