{"id":28216,"date":"2019-10-09T00:00:00","date_gmt":"2019-10-08T22:00:00","guid":{"rendered":"https:\/\/blexin.com\/il-machine-learning-e-una-lavatrice-programmabile\/"},"modified":"2021-05-20T18:51:37","modified_gmt":"2021-05-20T16:51:37","slug":"is-machine-learning-a-programmable-washing-machine","status":"publish","type":"post","link":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/","title":{"rendered":"Is Machine Learning a programmable washing machine?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"608\" data-attachment-id=\"28189\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/40615952-b9ae-4422-9571-f1c0b6a5123d-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&amp;ssl=1\" data-orig-size=\"1024,608\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"40615952-b9ae-4422-9571-f1c0b6a5123d\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?resize=1024%2C608&#038;ssl=1\" alt=\"\" class=\"wp-image-28189\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png 1024w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d-980x582.png 980w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d-480x285.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Data, data everywhere! Our apps collect information from any kind of service and produce new data themselves. Data that need to be stored and then? A grid, an Excel report, some plot: that\u2019s what we usually do with them. As developers, we stop to the button \u201cSave as Excel\u201d trying to find a clever way to map our sophisticated domain objects into this archaic and flattening format where everything is put on a row, repeated millions of times.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is a&nbsp;mantra repeated everywhere: the more data we have, the best we can analyze them to find hidden patterns bringing to the solution of real problems. Unfortunately, these patterns are too much complex to be found by human eyes. This is exactly what Machine Learning does: it examines large amounts of data looking for patterns, then generates code that lets you recognize those patterns in new data. The goal is to get&nbsp;back to our apps and make them smarter. For example, we want to predict failures on an assembly line or to find malwares in our e-mail.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It sounds fantastic, but if you ask around&nbsp;it seems that Machine Learning is like a programmable washing machine. You throw the dirty laundry (the data) inside it, choose a cycle, add some detergents, turn on, go around for a while, come back and\u2026 voil\u00e0 your&nbsp;<strong>Model<\/strong>&nbsp;is ready! \u201cDid you add some neural networks? Next time, a little bit more!\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The full process is shown in this threatening and complex picture (source:&nbsp;<a href=\"https:\/\/download.microsoft.com\/download\/3\/B\/9\/3B9FBA69-8AAD-4707-830F-6C70A545C389\/Introducing_Azure_Machine_Learning.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Introducing Azure Machine Learning<\/a>)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"255\" data-attachment-id=\"28193\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image1-3-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image1-3.png?fit=625%2C255&amp;ssl=1\" data-orig-size=\"625,255\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image1-3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image1-3.png?fit=625%2C255&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image1-3.png?resize=625%2C255&#038;ssl=1\" alt=\"\" class=\"wp-image-28193\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image1-3.png 625w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image1-3-480x196.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 625px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u201cYou just need to know a little bit of statistical techniques to analyze data\u201d. This is the second naive assumption you\u2019ll hear around. Everyone knows how to calculate an average (right?) but very few people remember the Bayes\u2019 theorem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the idea to go back to the books is accepted, we face a third problem. Every training course shows dataset analyzing classical problems: the taxi tips in New York, the flat price per square meter, the correlation between the weight of an unborn child and the data available about the mother. The model creation flows in a very smooth way, like a washing machine cycle. But when we pass to our data, everything seems to make no sense at all.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Internet is full of articles speaking about bizarre correlations (look&nbsp;<a href=\"https:\/\/www.buzzfeednews.com\/article\/kjh2110\/the-10-most-bizarre-correlations\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>).). The most interesting is the&nbsp;<a href=\"https:\/\/stackoverflow.blog\/2017\/06\/15\/developers-use-spaces-make-money-use-tabs\/\" target=\"_blank\" rel=\"noreferrer noopener\">one<\/a>&nbsp;claiming that developers who use&nbsp;<em>spaces<\/em>&nbsp;make more money than those who use<em>&nbsp;tabs<\/em>&nbsp;(a more in-depth analysis of this data by Evelina Gabasova is available&nbsp;<a href=\"http:\/\/evelinag.com\/blog\/2017\/06-20-stackoverflow-tabs-spaces-and-salary\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>) .<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"372\" data-attachment-id=\"28195\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image2-3-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image2-3.png?fit=540%2C372&amp;ssl=1\" data-orig-size=\"540,372\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image2-3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image2-3.png?fit=540%2C372&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image2-3.png?resize=540%2C372&#038;ssl=1\" alt=\"\" class=\"wp-image-28195\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image2-3.png 540w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image2-3-480x331.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 540px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The starting point of this article (and the next ones) will be some data collected in the last few months concerning football matches and players.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We want to focus on data pre-processing: all that we need to create clean and optimized datasets, to be passed to the famous algorithms producing predictive models to be used on new data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019ll start from a file containing in each row the following information related to a football match played by a single player:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"631\" height=\"186\" data-attachment-id=\"28197\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image3-3-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image3-3.png?fit=631%2C186&amp;ssl=1\" data-orig-size=\"631,186\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image3-3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image3-3.png?fit=631%2C186&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image3-3.png?resize=631%2C186&#038;ssl=1\" alt=\"\" class=\"wp-image-28197\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image3-3.png 631w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image3-3-480x141.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 631px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In details, we have the player\u2019s age in the day of the match, how many minutes he played, his role (for example DC is a centre-back), the match result, the teams involved, number of goals, assists, own-goals. etc.<br>Are these data (originating from a simple scraping of html pages) valid? Are they suitable for a statistical analysis?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019ll use a cloud service, Azure Machine Learning, to try to understand it. Why we need to use it? Because we need some help with a lot of trivial but time-consuming tasks. The starting address is the following:&nbsp;<a href=\"https:\/\/studio.azureml.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/studio.azureml.net<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once registered, we meet the following dashboard:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"633\" height=\"325\" data-attachment-id=\"28200\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image4-3-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image4-3.png?fit=633%2C325&amp;ssl=1\" data-orig-size=\"633,325\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image4-3\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image4-3.png?fit=633%2C325&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image4-3.png?resize=633%2C325&#038;ssl=1\" alt=\"\" class=\"wp-image-28200\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image4-3.png 633w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image4-3-480x246.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 633px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We can upload a dataset in .csv format from a local file on our pc.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"253\" data-attachment-id=\"28202\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image5-1-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image5-1.png?fit=621%2C253&amp;ssl=1\" data-orig-size=\"621,253\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image5-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image5-1.png?fit=621%2C253&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image5-1.png?resize=621%2C253&#038;ssl=1\" alt=\"\" class=\"wp-image-28202\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image5-1.png 621w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image5-1-480x196.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 621px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"641\" height=\"115\" data-attachment-id=\"28204\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image6-2-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image6-2.png?fit=641%2C115&amp;ssl=1\" data-orig-size=\"641,115\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image6-2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image6-2.png?fit=641%2C115&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image6-2.png?resize=641%2C115&#038;ssl=1\" alt=\"\" class=\"wp-image-28204\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image6-2.png 641w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image6-2-480x86.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 641px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once uploaded a dataset on the portal, we can create a Jupyter notebook to study it. It\u2019s an interactive interface for data analysis based on an open source standard. With Azure portal, you can choose between R, Python 2 or Python 3 as languages to insert commands. I choose&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.r-project.org\/\" target=\"_blank\">R<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"432\" data-attachment-id=\"28207\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image8-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image8.png?fit=655%2C432&amp;ssl=1\" data-orig-size=\"655,432\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image8\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image8.png?fit=655%2C432&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image8.png?resize=655%2C432&#038;ssl=1\" alt=\"\" class=\"wp-image-28207\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image8.png 655w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image8-480x317.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 655px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The<em>&nbsp;head<\/em>&nbsp;command shows the first few rows of our dataset. If you type&nbsp;<em>summary (name of the dataset variable)<\/em>, a statistical summary is shown in each column.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"510\" data-attachment-id=\"28209\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image9-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image9.png?fit=576%2C510&amp;ssl=1\" data-orig-size=\"576,510\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image9\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image9.png?fit=576%2C510&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image9.png?resize=576%2C510&#038;ssl=1\" alt=\"\" class=\"wp-image-28209\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image9.png 576w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image9-480x425.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 576px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Some data make sense. For example,&nbsp;<strong>year<\/strong>&nbsp;values are in a range of 2006-2019.&nbsp;<strong>minutes<\/strong>&nbsp;range is from 1 to 120 (some matches extended to overtime).&nbsp;<strong>age<\/strong>&nbsp;range is from 15,3 to a maximum of 32,55. The&nbsp;<strong>month<\/strong>&nbsp;column has a 0 minimum value while it should vary between 1 and 12. We found a typical bug in the data extraction that need to be corrected.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some columns have no meaning at all from the statistical perspective. For example,&nbsp;<strong>result<\/strong>&nbsp;is a property assuming three possible values:&nbsp;<strong>W (win), L (loss), D (deuce)<\/strong>. We say that&nbsp;<strong>result<\/strong>&nbsp;is a categorical feature. Most of machine learning algorithms expect numerical values as input.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We need to transform&nbsp;<strong>result<\/strong>&nbsp;in a numerical property. The most used technique is called&nbsp;<strong>one-hot encoding<\/strong>. Rather than replacing the categorical value with an arbitrary numeric one, we define three new numerical variables. Let\u2019s call them&nbsp;<strong>is_win, is_loss, is_deuce<\/strong>. Each of them will assume a value that will be 0 or 1.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The same procedure will be applied to the player\u2019s role. Unfortunately, there are only 12 roles, causing a rather tedious normalization. In these articles, we\u2019ll focus just on three roles:&nbsp;<strong>is_defender, is_midfield<\/strong>&nbsp;and&nbsp;<strong>is_forward<\/strong>. The&nbsp;<strong>role<\/strong>&nbsp;normalization showed that we don\u2019t have data about the goalkeepers. Besides, in several rows, the data about the role is missing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There isn\u2019t a standard formula to manage missing data because the solution depends on the context and how data were extracted. You could simply fully remove the rows as soon they have missing values on a column. This solution is not very popular because you risk losing a lot of data and because the loss of data could hide a pattern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another technique is the one replacing null values with our best estimate. In our case, if we could query a database, we could extract the typical player\u2019s role and replace the missing data. I choose simply to add a new property called&nbsp;<strong>is_norole<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, a simple example could hide pitfalls and it might make us make decisions we may come to regret. Data are never perfect!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The&nbsp;<strong>name<\/strong>&nbsp;property showing the player\u2019s name probably makes no sense unless you are not interested in analyzing the player\u2019s career (but this is more a data visualization problem). I choose also to remove the team names, leaving only the information about the player belonging or not to the home team (<strong>is_home<\/strong>&nbsp;with two possible values: 0 or 1).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Machine Learning algorithms benefit from numerical values normalization, ranging in a well-known range. For example,&nbsp;<strong>minutes<\/strong>&nbsp;could be expressed as a number ranging between 0 and 1, dividing it by 120 (the maximal match duration). We applied the same procedure to&nbsp;<strong>age<\/strong>, dividing it by 16425 (number obtained multiplying 45 years by 365 days): another choice!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The final result of our first attempt of data normalization can be loaded again on Azure Machine Learning Studio.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"665\" height=\"581\" data-attachment-id=\"28211\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image10-6-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image10-6.png?fit=665%2C581&amp;ssl=1\" data-orig-size=\"665,581\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image10-6\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image10-6.png?fit=665%2C581&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image10-6.png?resize=665%2C581&#038;ssl=1\" alt=\"\" class=\"wp-image-28211\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image10-6.png 665w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image10-6-480x419.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 665px, 100vw\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"553\" data-attachment-id=\"28213\" data-permalink=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/attachment\/image11-5-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image11-5.png?fit=711%2C553&amp;ssl=1\" data-orig-size=\"711,553\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image11-5\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image11-5.png?fit=711%2C553&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/image11-5.png?resize=711%2C553&#038;ssl=1\" alt=\"\" class=\"wp-image-28213\" srcset=\"https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image11-5.png 711w, https:\/\/blexin.com\/wp-content\/uploads\/2020\/12\/image11-5-480x373.png 480w\" sizes=\"auto, (min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 711px, 100vw\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We can now load the data regarding other teams. All the files can be found in the following Github repository:&nbsp;<a href=\"https:\/\/github.com\/sorrentmutie\/FootballDataForMachineLearning\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/sorrentmutie\/FootballDataForMachineLearning<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In total, we have 50770 rows. Are they enough? Can we \u201cload the washing machine\u201d? As developers, we use the term properties while in machine learning we define them as&nbsp;<strong>features<\/strong>. Do we have good features? When a feature can be defined as good? The answer is in the following five points:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>the feature must be related to the objective;<\/li><li>it must be known at prediction time;<\/li><li>it must be numeric with meaningful magnitude;<\/li><li>we should have enough examples;<\/li><li>we must bring human insight in the problem.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">As you could easily realize, there is still a long way to go. Today, we stop here, and we\u2019ll continue our journey&nbsp;in the next post.<\/p>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s try to understand what is Machine Learning nowadays and how important are data to create our model<\/p>\n","protected":false},"author":196716245,"featured_media":28189,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","inline_featured_image":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[688637524],"tags":[688637381,688637450,688637452],"class_list":["post-28216","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog-en","tag-azure-en","tag-cloud-en","tag-machinelearning-en"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Is Machine Learning a programmable washing machine? - Blexin<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Is Machine Learning a programmable washing machine? - Blexin\" \/>\n<meta property=\"og:description\" content=\"Let&#039;s try to understand what is Machine Learning nowadays and how important are data to create our model\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/\" \/>\n<meta property=\"og:site_name\" content=\"Blexin\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-08T22:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-20T16:51:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"608\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Salvatore Sorrentino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Salvatore Sorrentino\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/\"},\"author\":{\"name\":\"Salvatore Sorrentino\",\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/#\\\/schema\\\/person\\\/354db2bc97cac71c2ceeca21a92d5bed\"},\"headline\":\"Is Machine Learning a programmable washing machine?\",\"datePublished\":\"2019-10-08T22:00:00+00:00\",\"dateModified\":\"2021-05-20T16:51:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/\"},\"wordCount\":1382,\"image\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/blexin.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1\",\"keywords\":[\"Azure\",\"Cloud\",\"Machinelearning\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/\",\"url\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/\",\"name\":\"Is Machine Learning a programmable washing machine? - Blexin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/blexin.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1\",\"datePublished\":\"2019-10-08T22:00:00+00:00\",\"dateModified\":\"2021-05-20T16:51:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/#\\\/schema\\\/person\\\/354db2bc97cac71c2ceeca21a92d5bed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/blexin.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/blexin.com\\\/wp-content\\\/uploads\\\/2020\\\/12\\\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1\",\"width\":1024,\"height\":608},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/blog-en\\\/is-machine-learning-a-programmable-washing-machine\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blexin.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Is Machine Learning a programmable washing machine?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/blexin.com\\\/en\\\/\",\"name\":\"Blexin\",\"description\":\"Con noi \u00e8 semplice\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blexin.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blexin.com\\\/en\\\/#\\\/schema\\\/person\\\/354db2bc97cac71c2ceeca21a92d5bed\",\"name\":\"Salvatore Sorrentino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a6ec0dc827d2acaa55df9dbf1007e23f6fcb8c9436df52ab48274bb2221085bf?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a6ec0dc827d2acaa55df9dbf1007e23f6fcb8c9436df52ab48274bb2221085bf?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a6ec0dc827d2acaa55df9dbf1007e23f6fcb8c9436df52ab48274bb2221085bf?s=96&d=identicon&r=g\",\"caption\":\"Salvatore Sorrentino\"},\"url\":\"https:\\\/\\\/blexin.com\\\/en\\\/author\\\/salvatore-sorrentinoblexin-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Is Machine Learning a programmable washing machine? - Blexin","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/","og_locale":"en_US","og_type":"article","og_title":"Is Machine Learning a programmable washing machine? - Blexin","og_description":"Let's try to understand what is Machine Learning nowadays and how important are data to create our model","og_url":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/","og_site_name":"Blexin","article_published_time":"2019-10-08T22:00:00+00:00","article_modified_time":"2021-05-20T16:51:37+00:00","og_image":[{"width":1024,"height":608,"url":"https:\/\/i1.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1","type":"image\/png"}],"author":"Salvatore Sorrentino","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Salvatore Sorrentino","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/#article","isPartOf":{"@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/"},"author":{"name":"Salvatore Sorrentino","@id":"https:\/\/blexin.com\/en\/#\/schema\/person\/354db2bc97cac71c2ceeca21a92d5bed"},"headline":"Is Machine Learning a programmable washing machine?","datePublished":"2019-10-08T22:00:00+00:00","dateModified":"2021-05-20T16:51:37+00:00","mainEntityOfPage":{"@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/"},"wordCount":1382,"image":{"@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1","keywords":["Azure","Cloud","Machinelearning"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/","url":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/","name":"Is Machine Learning a programmable washing machine? - Blexin","isPartOf":{"@id":"https:\/\/blexin.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/#primaryimage"},"image":{"@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1","datePublished":"2019-10-08T22:00:00+00:00","dateModified":"2021-05-20T16:51:37+00:00","author":{"@id":"https:\/\/blexin.com\/en\/#\/schema\/person\/354db2bc97cac71c2ceeca21a92d5bed"},"breadcrumb":{"@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/#primaryimage","url":"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1","contentUrl":"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1","width":1024,"height":608},{"@type":"BreadcrumbList","@id":"https:\/\/blexin.com\/en\/blog-en\/is-machine-learning-a-programmable-washing-machine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blexin.com\/en\/"},{"@type":"ListItem","position":2,"name":"Is Machine Learning a programmable washing machine?"}]},{"@type":"WebSite","@id":"https:\/\/blexin.com\/en\/#website","url":"https:\/\/blexin.com\/en\/","name":"Blexin","description":"Con noi \u00e8 semplice","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blexin.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blexin.com\/en\/#\/schema\/person\/354db2bc97cac71c2ceeca21a92d5bed","name":"Salvatore Sorrentino","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a6ec0dc827d2acaa55df9dbf1007e23f6fcb8c9436df52ab48274bb2221085bf?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a6ec0dc827d2acaa55df9dbf1007e23f6fcb8c9436df52ab48274bb2221085bf?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a6ec0dc827d2acaa55df9dbf1007e23f6fcb8c9436df52ab48274bb2221085bf?s=96&d=identicon&r=g","caption":"Salvatore Sorrentino"},"url":"https:\/\/blexin.com\/en\/author\/salvatore-sorrentinoblexin-com\/"}]}},"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pcyUBx-7l6","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/blexin.com\/wp-content\/uploads\/2020\/12\/40615952-b9ae-4422-9571-f1c0b6a5123d.png?fit=1024%2C608&ssl=1","_links":{"self":[{"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/posts\/28216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/users\/196716245"}],"replies":[{"embeddable":true,"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/comments?post=28216"}],"version-history":[{"count":6,"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/posts\/28216\/revisions"}],"predecessor-version":[{"id":31967,"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/posts\/28216\/revisions\/31967"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/media\/28189"}],"wp:attachment":[{"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/media?parent=28216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/categories?post=28216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blexin.com\/en\/wp-json\/wp\/v2\/tags?post=28216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}