{"id":7,"date":"2020-03-08T08:09:00","date_gmt":"2020-03-08T08:09:00","guid":{"rendered":"http:\/\/blog.metu.edu.tr\/alevatak\/?p=7"},"modified":"2020-07-15T08:25:44","modified_gmt":"2020-07-15T08:25:44","slug":"what-is-machine-learning","status":"publish","type":"post","link":"https:\/\/blog.metu.edu.tr\/alevatak\/2020\/03\/08\/what-is-machine-learning\/","title":{"rendered":"What is Machine Learning?"},"content":{"rendered":"<p>Regardless of whether you know it or not, you have likely been exploiting the advantages of Machine Learning(ML) for quite a long time. ML, as being one of the best-known subfields of Artificial Intelligence(AI), is used in numerous areas so that it became very common, yet many people still don\u2019t know exactly what it means and how it is applied. Let\u2019s start with some real life examples.<\/p>\n<p>While you are watching a video from Youtube, did you ever noticed when it recommends for another video that is similar to what you are already watching? In the same manner, while you are watching a movie from Netflix, did you noticed \u201cBecause you watched \u2026\u201d section which offers different movies you may like. How are they doing this recommendation?<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"636\" height=\"394\" src=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/netflix_recom.png\" alt=\"\" class=\"wp-image-8\" srcset=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/netflix_recom.png 636w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/netflix_recom-300x186.png 300w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/figure><\/div>\n\n\n\n<p>Did you ever think companies such as Amazon choose the number and the location of their distribution points? Are they choosing randomly? Of course NO! They are make use of machine learning. Basically, they are deciding on those variables based on the locations of the orders and the customers. They are trying to cluster the locations of the orders so that the central point of the each cluster is a good candidate for being a distribution point. The number of those clusters is also a good estimate for the number of the distribution points. By doing so, Amazon will not only deliver the orders faster but also they spent less money for the distribution.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/clustering_example-1024x878.png\" alt=\"\" class=\"wp-image-9\" width=\"446\" height=\"382\" srcset=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/clustering_example-1024x878.png 1024w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/clustering_example-300x257.png 300w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/clustering_example-768x658.png 768w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/clustering_example-1200x1029.png 1200w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/clustering_example.png 1344w\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What is Machine Learning?<\/h2>\n\n\n\n<p>Arthur Samuel, who is a pioneer in AI, defined ML as&nbsp;<strong>\u201cField of study that gives computers the capability to learn without being explicitly programmed\u201d.<\/strong>&nbsp;That is, the computers make data-driven decisions rather than being explicitly programmed. The goal of the machine learning algorithms is to generate a model of the training data so that when new input is introduced to the algorithm, it can make predictions based on model. These predictions are later evaluated to decide whether the model is successful or not.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/ml_lifecycle-1024x300.jpg\" alt=\"\" class=\"wp-image-10\" srcset=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/ml_lifecycle-1024x300.jpg 1024w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/ml_lifecycle-300x88.jpg 300w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/ml_lifecycle-768x225.jpg 768w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/ml_lifecycle.jpg 1032w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Why is ML Important?<\/h2>\n\n\n\n<p>As the scale of the data increases, the difficulty of processing these data also increases. It requires more processing power and getting insights from the massive volumes is hard. With the help of Machine Learning models, it is possible to overcome this problem. Additionally, Machine Learning systems can adapt to new data, so they can handle fluctuating environments. Last but not least, the algorithms can give unexpected findings and uncover hidden insight without being specifically programmed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Types of Machine Learning<\/h2>\n\n\n\n<p>The presence or absence of human influence on raw data distinguishes machine learning models.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Supervised Learning:&nbsp;<\/strong>The training data you feed to the algorithm includes the labels.<\/li><li><strong>Unsupervised Learning:&nbsp;<\/strong>The training data is unlabeled. The system tries to learn without user supervision.<\/li><li><strong>Semisupervised Learning:&nbsp;<\/strong>The training data have a lot of unlabeled data and a little bit of labelled data.<\/li><li><strong>Reinforcement Learning:<\/strong>&nbsp;The dataset uses a \u201crewards\/punishments\u201d system and the algorithm must learn by itself what is the best strategy to get the most reward over time.<\/li><\/ul>\n\n\n\n<p>I hope the following figure taken from en.proft.me will create a better understanding.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"446\" src=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/types_of_ml-1024x446.png\" alt=\"\" class=\"wp-image-11\" srcset=\"https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/types_of_ml-1024x446.png 1024w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/types_of_ml-300x131.png 300w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/types_of_ml-768x335.png 768w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/types_of_ml-1200x523.png 1200w, https:\/\/blog.metu.edu.tr\/alevatak\/files\/2020\/07\/types_of_ml.png 1400w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Regardless of whether you know it or not, you have likely been exploiting the advantages of Machine Learning(ML) for quite a long time. ML, as being one of the best-known subfields of Artificial Intelligence(AI), is used in numerous areas so that it became&#8230;<\/p>\n","protected":false},"author":7083,"featured_media":27,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"class_list":["post-7","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/posts\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/users\/7083"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/media\/27"}],"wp:attachment":[{"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.metu.edu.tr\/alevatak\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}