{"id":3112,"date":"2018-10-29T08:00:11","date_gmt":"2018-10-29T13:00:11","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/?p=3112"},"modified":"2018-10-30T17:00:49","modified_gmt":"2018-10-30T22:00:49","slug":"ever-need-to-explain-machine-learning-in-a-nutshell","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2018\/10\/29\/ever-need-to-explain-machine-learning-in-a-nutshell\/","title":{"rendered":"Ever Need to Explain&#8230; Machine Learning in a Nutshell?"},"content":{"rendered":"<div class=\"content\"><h3>Ever Need to Explain... Machine Learning in a Nutshell?<\/h3><p>Do you ever need to explain something to others unfamiliar with your work what it's about? One situation I frequently face is explaining machine learning to audiences who want to learn more about it but are not yet particularly conversant in it.  This is regardless of the audience, be they students, professors, researchers, or folks working in government and industry as scientists and engineers. So, what do I do?<\/p><p>A few years ago I wanted to find a way to explain machine learning in a way that would make it understandable and fun. I came up with an explanation that illustrates what's going on in machine learning without any of the mathematical details.<\/p><p>Most people I know learned regression somewhere along the way, often in a stats class, or perhaps they were exposed to clustering and classification using the famous Fisher Iris dataset (here are our <a href=\"https:\/\/www.mathworks.com\/help\/stats\/examples\/classification.html\">classification<\/a> and <a href=\"https:\/\/www.mathworks.com\/help\/deeplearning\/examples\/iris-clustering.html\">clustering<\/a> examples).  I tried this approach a few times and, as much as I like flowers and sepal length and petal width, I thought I could do better to make machine learning concepts easier to grasp.<\/p><p>I came up with an idea of using animals.  Who doesn&#8217;t like dogs, cats, and birds, or at least some of these?  Well it worked out well and over the last couple years I&#8217;ve showed this over a hundred times and always get positive feedback from the audience.  A few months ago some colleagues asked me what I was showing customers these days.  When I described my animal story they were pretty excited and thought I should record a video to help others understand this machine learning area that everyone seems to want to know more about.<\/p><p>Well, to cut to the chase<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/mlanimals.png\" alt=\"\"> <\/p><p>(spoiler alert: a cheetah is the regression winner), you can now watch the <a href=\"https:\/\/www.youtube.com\/watch?v=xr5LeWKbVnY\">video<\/a>.<\/p><p><b>Does This Explanation Help?<\/b><\/p><p>Did you find this explanation useful, either for yourself, or to pass along to others?  What other concepts have you needed to \"illustrate\"? Let me know <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=3112#respond\">here<\/a>.<\/p><script language=\"JavaScript\"> <!-- \r\n    function grabCode_57d3c8c582844e8ab8a6d605e3b2c506() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='57d3c8c582844e8ab8a6d605e3b2c506 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 57d3c8c582844e8ab8a6d605e3b2c506';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        copyright = 'Copyright 2018 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add copyright line at the bottom if specified.\r\n        if (copyright.length > 0) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n\r\n        d.title = title + ' (MATLAB code)';\r\n        d.close();\r\n    }   \r\n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_57d3c8c582844e8ab8a6d605e3b2c506()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; R2018b<br><\/p><\/div><!--\r\n57d3c8c582844e8ab8a6d605e3b2c506 ##### SOURCE BEGIN #####\r\n%% Ever Need to Explain... Machine Learning in a Nutshell?\r\n% Do you ever need to explain something to others unfamiliar with your work\r\n% what it's about? One situation I frequently face is explaining machine\r\n% learning to audiences who want to learn more about it but are not yet\r\n% particularly conversant in it.  This is regardless of the audience, be\r\n% they students, professors, researchers, or folks working in government\r\n% and industry as scientists and engineers. So, what do I do?\r\n% \r\n% A few years ago I wanted to find a way to explain machine learning in a\r\n% way that would make it understandable and fun. I came up with an\r\n% explanation that illustrates what's going on in machine learning without\r\n% any of the mathematical details.  \r\n%\r\n% Most people I know learned regression somewhere along the way, often in a\r\n% stats class, or perhaps they were exposed to clustering and\r\n% classification using the famous Fisher Iris dataset (here are our\r\n% <https:\/\/www.mathworks.com\/help\/stats\/examples\/classification.html\r\n% classification> and\r\n% <https:\/\/www.mathworks.com\/help\/deeplearning\/examples\/iris-clustering.html\r\n% clustering> examples).  I tried this approach a few times\r\n% and, as much as I like flowers and sepal length and petal width, I\r\n% thought I could do better to make machine learning concepts easier to\r\n% grasp.\r\n%  \r\n% I came up with an idea of using animals.  Who doesn\u00e2\u20ac&#x2122;t like dogs, cats,\r\n% and birds, or at least some of these?  Well it worked out well and over\r\n% the last couple years I\u00e2\u20ac&#x2122;ve showed this over a hundred times and always\r\n% get positive feedback from the audience.  A few months ago\r\n% some colleagues asked me what I was showing customers\r\n% these days.  When I described my animal story they were pretty excited\r\n% and thought I should record a video to help others understand this machine\r\n% learning area that everyone seems to want to know more about.\r\n%  \r\n% Well, to cut to the chase \r\n%\r\n% <<mlanimals.png>>\r\n% \r\n%\r\n% (spoiler alert: a cheetah is the regression\r\n% winner), you can now watch the\r\n% <https:\/\/www.youtube.com\/watch?v=xr5LeWKbVnY video>.\r\n%\r\n% *Does This Explanation Help?*\r\n%\r\n% Did you find this explanation useful, either for yourself, or to pass\r\n% along to others?  What other concepts have you needed to \"illustrate\"?\r\n% Let me know <https:\/\/blogs.mathworks.com\/loren\/?p=3112#respond here>.\r\n\r\n\r\n##### SOURCE END ##### 57d3c8c582844e8ab8a6d605e3b2c506\r\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"http:\/\/blogs.mathworks.com\/images\/loren\/2018\/mlanimals.png\" onError=\"this.style.display ='none';\" \/><\/div><p>Ever Need to Explain... Machine Learning in a Nutshell?Do you ever need to explain something to others unfamiliar with your work what it's about? One situation I frequently face is explaining machine... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2018\/10\/29\/ever-need-to-explain-machine-learning-in-a-nutshell\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[33,6,40],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/3112"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=3112"}],"version-history":[{"count":3,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/3112\/revisions"}],"predecessor-version":[{"id":3118,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/3112\/revisions\/3118"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=3112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=3112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=3112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}