{"id":224,"date":"2017-12-18T02:07:00","date_gmt":"2017-12-18T02:07:00","guid":{"rendered":"https:\/\/kindsonthegenius.com\/blog\/2017\/12\/18\/introduction-to-machine-learning-ml\/"},"modified":"2019-03-13T10:55:33","modified_gmt":"2019-03-13T09:55:33","slug":"introduction-to-machine-learning-ml","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/blog\/introduction-to-machine-learning-ml\/","title":{"rendered":"Introduction to Machine Learning (ML)"},"content":{"rendered":"<p>What really is machine learning? Let&#8217;s try to explain it in a way that everyone can easily understand and appreciate. Here we would define Machine Learning and outline the various aspects of machine learning.<\/p>\n<p>The following are covered:<br \/>\n<ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><\/p>\n<ol>\n<li><a href=\"#t1\">What is Machine Learning<\/a><\/li>\n<li><a href=\"#t2\">The Theory of Machine Learning<\/a><\/li>\n<li><a href=\"#t3\">An Example of Classification<\/a><\/li>\n<li><a href=\"#t4\">Types of Machine Learning Problems<\/a>\n<ul>\n<li><a href=\"#t4a\">Supervised Learning<\/a><\/li>\n<li><a href=\"#t4b\">Unsupervised Learning<\/a><\/li>\n<li><a href=\"#t4b\">Reinforcement Learning<\/a><\/li>\n<\/ul>\n<\/li>\n<li><a href=\"#t5\">Final Notes<\/a><\/li>\n<li><a href=\"#t6\">Further Reading<\/a><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4><strong id = \"t1\">1. What is Machine Learning?<\/strong><\/h4>\n<p>Machine Learning is an branch of artificial intelligence that provides the computer system the ability to progressively learn and improve its performance on handling various tasks without being explicitly programmed to perform all the task.<br \/>\nAnother definition of Machine Learning explains it as &#8216;the process of trying to deduce unknown values from known values&#8217;.<\/p>\n<table style=\"margin-left: auto; margin-right: auto; text-align: center;\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><a style=\"margin-left: auto; margin-right: auto;\" href=\"https:\/\/1.bp.blogspot.com\/-umQKmRoNKi0\/WjcRB8SD9rI\/AAAAAAAAAhg\/l-UUcfIZIOoi82iDn37Kj8iSsYgoR8p0ACLcBGAs\/s1600\/Classes-of-Machine-Learing-Problems.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/1.bp.blogspot.com\/-umQKmRoNKi0\/WjcRB8SD9rI\/AAAAAAAAAhg\/l-UUcfIZIOoi82iDn37Kj8iSsYgoR8p0ACLcBGAs\/s320\/Classes-of-Machine-Learing-Problems.jpg\" width=\"320\" height=\"213\" border=\"0\" data-original-height=\"888\" data-original-width=\"1334\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">Figure 1: Types of Machine Learning Problem<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><br \/>\n<b><\/b><\/p>\n<h4><strong id = \"t2\">2. The Theory of Machine Learning<\/strong><\/h4>\n<p>Remember the second definition of machine learning has to do with trying to determine unknown values given a set of know values.<br \/>\nExample: if a set of 30 students class 5 normally scores between 70% and 100% in a test and a set of 30 students in class 3 normally scores between 40%\u00a0 and 60%.<br \/>\nNow if you have a score of\u00a0 45% from a new student, different from the ones you know and you have to place this student in a class, what class would you place him? Obviously, since he scored 45% which lies between 40% and 60%, you will likely place him in class 3. This is an example of classification. Now let&#8217;s take a more formal definition.<\/p>\n<p><ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><br \/>\n<b><\/b><\/p>\n<h4><strong id = \"t3\">3. An Example of Classification<\/strong><\/h4>\n<p>Given a set of data(training data set) that comprise of N observations <span style=\"font-family: 'georgia' , 'times new roman' , serif;\"><i>{x<sub>n<\/sub>}<\/i><\/span>, where n = 1,&#8230;,N, and you are also given the corresponding values<i><span style=\"font-family: 'georgia' , 'times new roman' , serif;\"> {t<sub>n<\/sub>}<\/span><\/i> (target value), the goal of machine learning is to predict the value of t for a new value of x.<br \/>\nThe approach would be to first construct an appropriate function y(x). The values of this function for the new input x constitute the predictions for the corresponding value of t.<\/p>\n<p>There would be need to examine also examine the probability that the predicted value of t is correct. This probability is expressed as p(t |x), that is probability of t given x. This expresses how certain or uncertain our prediction is. By now you understand the theory behind machine learning: that is making predictions about what is not known.<br \/>\nUnderstanding this theoretical approach would help us understand the various types of Machine Learning problems.<\/p>\n<p><ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><br \/>\n<b><\/b><\/p>\n<h4><strong id = \"t4\">4. Types of Machine Learning Problem<\/strong><\/h4>\n<p>From Figure 1, we could see the classes of machine learning problem. Machine learning problems are divided into two broad categories: Supervised Learning and Unsupervised Learning.<\/p>\n<p><ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><br \/>\n<b><\/b><\/p>\n<p><strong id = \"t4a\">4a. Supervised Learning<\/strong><\/p>\n<p>In supervised learning applications, the training data set(given data set) comprises of samples of input vectors {x} along with their corresponding target vectors. The task here would be to find a function f(x) that takes a data point x and produces the equivalent target value t such that f(x) = t<br \/>\nSupervised Learning problems can either be Classification or Regression.<\/p>\n<p><i>Classification<\/i>:\u00a0 In classification, the training data is from some finite set. Here the aim is to assign each of the input vectors to one of a definite number of discrete categories.<\/p>\n<p><i>Regression<\/i>: Here, the training data set is in R-dimensional real space. Here the output would just be one or more continuous variables<\/p>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/3.bp.blogspot.com\/-u5eRcfPquqs\/WjcgUYtGbjI\/AAAAAAAAAhw\/aeHng287NOcKu1EpEu2yuNxDxFKh7mNsgCLcBGAs\/s1600\/Classification-and-Regression-in-Machine-Learning.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/3.bp.blogspot.com\/-u5eRcfPquqs\/WjcgUYtGbjI\/AAAAAAAAAhw\/aeHng287NOcKu1EpEu2yuNxDxFKh7mNsgCLcBGAs\/s640\/Classification-and-Regression-in-Machine-Learning.jpg\" width=\"640\" height=\"267\" border=\"0\" data-original-height=\"571\" data-original-width=\"1363\" \/><\/a><\/div>\n<p><ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><br \/>\n<b><\/b><\/p>\n<p><strong id = \"t4b\">4b. Unsupervised Learning<\/strong><\/p>\n<p>Unsupervised Learning has to do with finding patterns or trend within the input data. Unsupervised learning could either be clustering, density estimation or dimensionality reduction.<br \/>\nIn <i>clustering<\/i>, we find clusters or groups of similar examples withing the data.<br \/>\n<i>Density estimation<\/i> has to do with finding groups of data that belong to the same density distribution<br \/>\n<i>Dimensionality Reduction<\/i> reduces data from a higher dimensional space to lower dimension like 2 or 3 dimensions.<\/p>\n<p>There is also another class of machine learning problems known as semi-supervised learning. It would just suffice to know that under this class we have:<\/p>\n<ul>\n<li>Reinforcement learning<\/li>\n<li>Active learning<\/li>\n<\/ul>\n<p><ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><br \/>\n<b><\/b><\/p>\n<h4><strong id = \"t5\">5. Final Notes<\/strong><\/h4>\n<p>I do think that this lesson would not be too difficult for you to follow. For now we have an overview of the whole concept of Machine Learning. In subsequent lessons, we would go a little deeper into formal definitions using the statistical derivations.<br \/>\nFeel free to read check out more Machine Learning Videos and Tutorial and do leave a comment to let me know if you have any challenges.<\/p>\n<p><ins style=\"display: block;\" data-ad-format=\"fluid\" data-ad-layout-key=\"-hk-o+30-4t+2k\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"6887528786\"><\/ins><br \/>\n<b><\/b><\/p>\n<h4><strong id = \"t6\">6. Further Reading<\/strong><\/h4>\n<p>Read more on neural network from the following beginner tutorials:<br \/>\n<a href=\"https:\/\/www.google.com\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjb_safsuPdAhUKa1AKHYpMCnkQFjAAegQIBRAB&amp;url=http%3A%2F%2Fkindsonthegenius.blogspot.com%2F2017%2F12%2Fbasics-of-neural-networks.html&amp;usg=AOvVaw2eXDaWmXKTXiziwjN8VFyo\" target=\"_blank\" rel=\"noopener\">Basics of Neural Networks<\/a><br \/>\n<a href=\"https:\/\/www.google.com\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=3&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjb_safsuPdAhUKa1AKHYpMCnkQtwIwAnoECAcQAQ&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRNYT9bECfOo&amp;usg=AOvVaw18Z_VbqWDsQnt6dCBIOGAq\" target=\"_blank\" rel=\"noopener\">Basics of Perceptron in Neural Networks<\/a><br \/>\n<a href=\"https:\/\/www.google.com\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=2&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjb_safsuPdAhUKa1AKHYpMCnkQFjABegQICBAB&amp;url=http%3A%2F%2Fkindsonthegenius.blogspot.com%2F2018%2F01%2Fbasics-of-backpropagation-in-neural.html&amp;usg=AOvVaw2M2p699zZoF0P7QmQ_X3S7\" target=\"_blank\" rel=\"noopener\">Basics of Back-propagation in Neural Networks<\/a><br \/>\n<a href=\"https:\/\/www.google.com\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=9&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwjb_safsuPdAhUKa1AKHYpMCnkQtwIwCHoECAMQAQ&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DMxVXIeOj-EY&amp;usg=AOvVaw1iySnxj7eX0c7BuRmSWOxQ\" target=\"_blank\" rel=\"noopener\">Multilayer Perceptions (MLP) Explained<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What really is machine learning? Let&#8217;s try to explain it in a way that everyone can easily understand and appreciate. Here we would define Machine &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[16,139,392,395],"tags":[],"_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/224"}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":3,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"predecessor-version":[{"id":827,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions\/827"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}