{"id":130,"date":"2019-10-24T21:15:27","date_gmt":"2019-10-24T21:15:27","guid":{"rendered":"https:\/\/towardsbetterworld.com\/?page_id=130"},"modified":"2019-10-24T21:19:37","modified_gmt":"2019-10-24T21:19:37","slug":"ml","status":"publish","type":"page","link":"https:\/\/towardsbetterworld.com\/index.php\/ml\/","title":{"rendered":"ML"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"> History &#8211;  <\/h2>\n\n\n\n<p> Though I do not want to get into the history of how ML came into existence, I would give you a basic gist of its history.  &nbsp;Coined by Arthur Samuel in 1959, stating it as &#8220;it gives computers the ability to learn without being explicitly programmed&#8221;.  Most of the study was in the academic era, which recently in last 10-15 years started taking shape. <\/p>\n\n\n\n<p> The reason which I personally think of delayed usage of the ML is the limitation which we had with handling data.  &nbsp;As we progressed in our data handling and computing abilities, we  started using more ML concepts to reach a point where we are making  decisions based on it. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation &#8211;  <\/h2>\n\n\n\n<p> Though there are very complex implementations of ML available, a very impressive simple example of the same would be the usage of the recommender system.  This is where we let the machine decide the preferences of a person based of his or her previous browsing history. <\/p>\n\n\n\n<p> Other example which we deal with daily is the google or apple maps, which use a good level of predictive analysis to tell us about traffic conditions based on the traffic on different locations.  &nbsp;This is where machine starts learning that a traffic congestion at node B would be impacting traffic at node X. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Classification &#8211;  <\/h2>\n\n\n\n<p> So, as everyone wants to present their papers for PhD, people keep creating different classifications in ML (do not get offended please, they are definitely useful for some particular studies).  &nbsp;But majorly there are two types of classifications. <\/p>\n\n\n\n<p> &nbsp;One is Supervised and the other is Unsupervised.  &nbsp;This classification is based on the type of response available to the algorithm.   &nbsp;You may also get to hear about Reinforcement Learning or  Semi-supervised learning. But these are special cases of the above two  categories. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> 1) Supervised \u2013 <\/h2>\n\n\n\n<p>This is the type of learning where we have the model trained on labelled\ndata set. This means that the data has input and output parameters.<\/p>\n\n\n\n<p>For example, if we are talking about a type of learning, where we have a\nmodel which determines if a transaction is risky or not (1 or 0, or maybe low,\nhigh, critical) using the input parameters like location of transaction, amount\nof transaction, type of product purchased. Then this is a supervised learning. This\ntype of learning model which gives output as categories, is known as the <strong>Classification<\/strong> learning.<\/p>\n\n\n\n<p>The other would case would be if we have a model where we are trying to determine the speed of wind based on some inputs like air moisture, temperature, we would get the air speed in (miles\/hr).  <br>This type of supervised learning is called a <strong>Regression<\/strong>  learning model. This model again breaks down in many other types of  models as per different requirements which I may address in some other  article. <\/p>\n\n\n\n<p> So, two basic types of Supervised Learning are Regression and Classification which have a variety of flavors.<\/p>\n\n\n\n<p>Some other Supervised Learning Algorithms would be&nbsp; &#8211; <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li> Linear Regression  <\/li><li> Nearest Neighbor <\/li><li> Guassian Naive Bayes  <\/li><li> Decision Trees <\/li><li> Support Vector Machine (SVM)  <\/li><li> Random Forest <\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"> 2)  Unsupervised Learning \u2013  <\/h2>\n\n\n\n<p>This is a type of model where we do not give our model a target for\noutput. We provide input parameters and model comes out with results. It is\nmachine that decides the way it wants to learn.<\/p>\n\n\n\n<p>For example, if we have a model where we provide it with the customer details, and the model comes up with groups of customers, then we call that type of learning model as Clustering model. This can be used by an eCommerce company where it would provide all data like spending and type of spending and the model would create clusters of customers so that the eCommerce company can target each cluster specifically. This is called as Cluster analysis.<\/p>\n\n\n\n<p>The other case would be when we have a model where provide the model with\nthe observations and it tries to figure out the association between different\ntypes of observations. This is called Association analysis and one of its major\napplication is MBA(Market Basket Analysis). I already have an article on this\nready, so please look. In this type of model, we provide all the items a person\nbought in one transaction, and we let the machine create associations between different\ntypes of products based on the transactions. For instance, bread and butter\nwould have a good amount of correlation.<\/p>\n\n\n\n<p>Some other unsupervised learning types would be \u2013 <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>K-Means Clustering<\/li><li>DBSCAN \u2013 Density-Based Spatial Clustering of\nApplications with Noise<\/li><li>BIRCH \u2013 Balanced Iterative Reducing and\nClustering using Hierarchies<\/li><li>Hierarchical Clustering<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>History &#8211; Though I do not want to get into the history of how ML came into existence, I would give you a basic gist of its history. &nbsp;Coined by Arthur Samuel in 1959, stating it as &#8220;it gives computers the ability to learn without being explicitly programmed&#8221;. Most of the study was in the &hellip; <a href=\"https:\/\/towardsbetterworld.com\/index.php\/ml\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ML&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-130","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/pages\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/comments?post=130"}],"version-history":[{"count":2,"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/pages\/130\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/pages\/130\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/towardsbetterworld.com\/index.php\/wp-json\/wp\/v2\/media?parent=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}