{"id":3600,"date":"2018-06-22T11:47:59","date_gmt":"2018-06-22T10:47:59","guid":{"rendered":"http:\/\/insideintercom.io\/?p=3600"},"modified":"2020-07-30T12:55:37","modified_gmt":"2020-07-30T11:55:37","slug":"machine-learning-way-easier-than-it-looks","status":"publish","type":"post","link":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/","title":{"rendered":"Is machine learning hard? Not always"},"content":{"rendered":"<p class=\"opening_paragraph\">There\u2019s a common misconception that you have to be an AI wizard or mathematician to use machine learning in your work. That machine learning requires hard calculus.<\/p>\n<p>After all, you\u2019re teaching machines that work in ones and zeros to reach their own conclusions about the world. You\u2019re teaching them how to think!<\/p>\n<p>But like many frameworks we have for understanding our world \u2013 Newton\u2019s Laws of Motion, <a href=\"https:\/\/www.intercom.com\/blog\/books\/jobs-to-be-done\" target=\"_blank\" rel=\"noopener noreferrer\">Jobs to be Done<\/a>, Supply &amp; Demand \u2013 the fundamental ideas at the heart of machine learning are relatively straightforward.<\/p>\n<p>Our own machine learning expert, <a href=\"https:\/\/www.intercom.com\/blog\/podcasts\/intercom-fergal-reid-ai-machine-learning\/\" target=\"_blank\" rel=\"noopener noreferrer\">Fergal Reid<\/a>, describes it this way: &#8220;You have a problem, you\u2019re trying to solve it, and then you have a system where the performance improves when you give it more training data&#8230;The more data you get, the better your estimate.&#8221;<\/p>\n<p>If you\u2019ve got a well-defined problem that can be solved given enough time and example data, you should give machine learning a try. Here\u2019s an example.<\/p>\n<h2 id=\"example-problem-without-using-machine-learning\">Example problem \u2013 without using machine learning<\/h2>\n<p>Say we want to include a \u201cYou might also like\u201d section at the bottom of this post. How should we go about doing this?<\/p>\n<div class=\"post_image_wrapper\"><img decoding=\"async\" title=\"if-you-like-this-you-might-also-like\" src=\"https:\/\/intercom.com\/blog\/wp-content\/uploads\/2013\/11\/if-you-like-this-you-might-also-like.png\" alt=\"Machine learning example\" \/><\/div>\n<p>If you\u2019re avoiding machine learning at all cost, you might opt for this approach:<\/p>\n<ol>\n<li>Split the current post title into its individual words.<\/li>\n<li>Get all other posts.<\/li>\n<li>Sort all other posts by those with the most words in their body in common with our title.<\/li>\n<\/ol>\n<p>Or, in Ruby:<\/p>\n<p><script src=\"https:\/\/gist.github.com\/benmcredmond\/0dec520b6ab2ce7c59d5.js?file=naive-similar-posts.rb\"><\/script><\/p>\n<p>But look at the results you get when you apply this method to our blog post \u201cHow the support team improves the product\u201d:<\/p>\n<ul>\n<li>How to launch with a validated idea<\/li>\n<li>Know your customers and how they decide<\/li>\n<li>Designing first run experiences to delight users<\/li>\n<li>How to hire designers<\/li>\n<li>The dribbblisation of design<\/li>\n<li>An interview with Ryan Singer<\/li>\n<li>Why being first doesn&#8217;t matter<\/li>\n<li>Proactive <a href=\"https:\/\/www.intercom.com\/blog\/customer-support-software\/proactive-support\" target=\"_blank\" rel=\"noopener noreferrer\">customer support<\/a> with Intercom<\/li>\n<li>An interview with Joshua Porter<\/li>\n<li>Retention, cohorts, and visualisations<\/li>\n<\/ul>\n<p>We can do better &#8212; posts about running an <a href=\"https:\/\/www.intercom.com\/blog\/customer-support\/\" target=\"_blank\" rel=\"noopener noreferrer\">effective support process<\/a> have little in common with cohort analysis, or debate around the merits of design.<\/p>\n<h2 id=\"the-same-example-using-basic-machine-learning\">The same example using basic machine learning<\/h2>\n<p>Let&#8217;s try a machine learning approach. We&#8217;re going to break this into two parts:<\/p>\n<ol>\n<li>Represent posts mathematically.<\/li>\n<li>Cluster these mathematical representations with K-Means.<\/li>\n<\/ol>\n<h3>1. Representing posts mathematically<\/h3>\n<p>If we can represent our posts mathematically, we can plot the posts, compare distances between posts, and identify clusters of similar posts.<\/p>\n<div class=\"post_image_wrapper\"><img decoding=\"async\" src=\"https:\/\/intercom.com\/blog\/wp-content\/uploads\/2013\/11\/plotting-posts.001.png\" alt=\"Machine learning - representing posts mathematically\" \/><\/div>\n<p>Mapping each post to a mathematical representation is easy. We can do it in two steps:<\/p>\n<ol>\n<li>Find all words in all posts.<\/li>\n<li>Convert each post into an array. Each element is a 1 or a 0, denoting presence of a word. This array is of the same order for each post, as it&#8217;s based off step #1.<\/li>\n<\/ol>\n<p>Or, in Ruby:<\/p>\n<p><script src=\"https:\/\/gist.github.com\/benmcredmond\/0dec520b6ab2ce7c59d5.js?file=post-vector.rb\"><\/script><\/p>\n<p>If <code>@words<\/code> equaled:<\/p>\n<pre>['hello', 'inside', 'intercom', 'readers', 'blog', 'post']<\/pre>\n<p>A post with the body <em>&#8220;hello blog post readers&#8221;<\/em> would be mapped to:<\/p>\n<pre>[1,0,0,1,1,1]<\/pre>\n<p>We don&#8217;t have simple tools for plotting vectors in 6-dimensions, like we do for those in 2-dimensions \u2014 but concepts like distance are easily extrapolated. (It&#8217;s also still useful to use the 2-dimensional example.)<\/p>\n<h3>2. Clustering posts with the K-Means algorithm<\/h3>\n<p>Now we have a mathematical representation of our blog posts, we can find clusters of similar posts. For our problem, we&#8217;ll use a simple clustering algorithm called <a href=\"https:\/\/www.datascience.com\/blog\/k-means-clustering\" target=\"_blank\" rel=\"noopener noreferrer\">K-Means<\/a>:<\/p>\n<ol>\n<li>Set \u2018K\u2019 to the number of clusters you want.<\/li>\n<li>Choose \u2018K\u2019 random points.<\/li>\n<li>Assign each document to its closest point.<\/li>\n<li>Choose \u2018K\u2019 new points, from the \u2018average\u2019 of all documents assigned to each point.<\/li>\n<li>Repeat steps 3-4. Until documents&#8217; assignments stop changing.<\/li>\n<\/ol>\n<p>Let&#8217;s visualize these steps. First, we choose 2 (i.e. k = 2) random points, in the same space as our posts:<\/p>\n<div class=\"post_image_wrapper\"><img decoding=\"async\" src=\"https:\/\/intercom.com\/blog\/wp-content\/uploads\/2013\/11\/plotting-posts.002.png\" alt=\"Machine learning clustering posts step 1\" \/><\/div>\n<p>We assign each document to its closest point:<\/p>\n<div class=\"post_image_wrapper\"><img decoding=\"async\" src=\"https:\/\/intercom.com\/blog\/wp-content\/uploads\/2013\/11\/plotting-posts.003.png\" alt=\"Machine learning clustering posts step 2\" \/><\/div>\n<p>We re-evaluate the center of each of these clusters, to be the average of all posts in that cluster:<\/p>\n<div class=\"post_image_wrapper\"><img decoding=\"async\" src=\"https:\/\/intercom.com\/blog\/wp-content\/uploads\/2013\/11\/plotting-posts.004.png\" alt=\"Machine learning clustering posts step 3\" \/><\/div>\n<p>That&#8217;s the end of our first iteration. Now we re-assign each post to its new closest point:<\/p>\n<div class=\"post_image_wrapper\"><img decoding=\"async\" src=\"https:\/\/intercom.com\/blog\/wp-content\/uploads\/2013\/11\/plotting-posts.005.png\" alt=\"Machine learning clustering posts step 4\" \/><\/div>\n<p>We&#8217;ve found our clusters! We know this because it&#8217;s obvious in further iterations that the assignments would not change.<\/p>\n<p>Or, in Ruby:<\/p>\n<p><script src=\"https:\/\/gist.github.com\/benmcredmond\/0dec520b6ab2ce7c59d5.js?file=kmeans.rb\"><\/script><\/p>\n<p>Here are the top 10 posts similar to &#8220;How the support team improves the product&#8221; produced with this method:<\/p>\n<ul>\n<li>Are you being clear, or clever?<\/li>\n<li>3 rules for customer feedback<\/li>\n<li>Asking customers what you want to hear<\/li>\n<li>Shipping is the beginning of a process<\/li>\n<li>What does feature creep look like?<\/li>\n<li>Getting insight into your userbase<\/li>\n<li>Converting customers with the right message at the right time<\/li>\n<li>Conversations with your customers<\/li>\n<li>Does your app have a message schedule?<\/li>\n<li>Have you tried talking to your customers?<\/li>\n<\/ul>\n<p>The results speak for themselves. Now, with more statistics, we can keep optimizing the algorithm and improve our results, but this isn\u2019t a bad start for roughly 40 lines of code! Other problems may require different clustering algorithms.<\/p>\n<h2 id=\"give-it-a-try\">Give it a try<\/h2>\n<p>Machine learning has led to breakthroughs in highly technical areas like computer vision, audio recognition, and natural language translation. But machine learning isn\u2019t only just applicable to large abstract problems. It\u2019s great at generating suggestions to help users with different workflows. Want to add tags in your project management app? Or assignees in your customer support tool? Or members of a group on a social network? Chances are an easy algorithm can help you out.<\/p>\n<p>So, when faced with a challenge in your product where you believe machine learning can help, don&#8217;t feel you have to master the math behind complex algorithms before giving it a try. These resources can help you get started:<\/p>\n<ul>\n<li>Relatively high-level programming libraries like <a href=\"http:\/\/scikit-learn.org\/stable\/tutorial\/basic\/tutorial.html\" target=\"_blank\" rel=\"noopener noreferrer\">Python&#8217;s Scikit Learn<\/a><\/li>\n<li>Books written for programmers like <a href=\"http:\/\/www.amazon.com\/Programming-Collective-Intelligence-Building-Applications\/dp\/0596529325\"><em>Programming Collective Intelligence<\/em><\/a> by Toby Segaran<\/li>\n<li>Online courses like <a href=\"https:\/\/www.coursera.org\/learn\/machine-learning\" target=\"_blank\" rel=\"noopener noreferrer\">Andrew Ng&#8217;s Coursera course<\/a><\/li>\n<\/ul>\n<p>Machine learning might be more applicable and doable than you think.<\/p>\n<p><em>With thanks to <a href=\"https:\/\/twitter.com\/fergal_reid\" target=\"_blank\" rel=\"noopener noreferrer\">Fergal Reid<\/a> for his input<\/em><\/p>\n<hr \/>\n<p class=\"inline-cta-quote\">We like to break things down to their fundamental principles. If that&#8217;s the way you like to work too, join our team<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>There\u2019s a common misconception that you have to be an AI wizard or mathematician to use machine learning in your work. That machine learning requires hard calculus. After all, you\u2019re teaching machines that work in ones&hellip;<\/p>\n","protected":false},"author":12,"featured_media":9687,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"category":[12898],"tags":[158,159,160],"coauthors":[378],"class_list":["post-3600","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineering","tag-machine-learning","tag-math","tag-ruby"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Is machine learning hard? Not always - The Intercom Blog<\/title>\n<meta name=\"description\" content=\"There\u2019s a common misconception that you have to be a mathematician to do machine learning, that machine learning is hard. As it turns out, like many frameworks we have for understanding our world, the fundamentals of machine learning are straightforward.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Is machine learning hard? Not always\" \/>\n<meta property=\"og:description\" content=\"It&#039;s easy to believe that machine learning is hard. An arcane craft known only to a select few academics. As it turns out, like all of the best frameworks we have for understanding our world, e.g. Newton&#039;s Laws of Motion, Jobs to be Done, Supply &amp; Demand \u2014 the best ideas and concepts in machine learning are simple.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/\" \/>\n<meta property=\"og:site_name\" content=\"The Intercom Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/intercominc\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-22T10:47:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-30T11:55:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2016\/07\/Machine_Learning_Related_V2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1248\" \/>\n\t<meta property=\"og:image:height\" content=\"591\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ben McRedmond\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@benmcredmond\" \/>\n<meta name=\"twitter:site\" content=\"@intercom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ben McRedmond\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/\"},\"author\":{\"name\":\"Ben McRedmond\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#\\\/schema\\\/person\\\/1292731151f3b3129e71f428642e086f\"},\"headline\":\"Is machine learning hard? Not always\",\"datePublished\":\"2018-06-22T10:47:59+00:00\",\"dateModified\":\"2020-07-30T11:55:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/\"},\"wordCount\":995,\"publisher\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/07\\\/Machine_Learning_Related_V2.png\",\"keywords\":[\"machine learning\",\"math\",\"Ruby\"],\"articleSection\":[\"Engineering\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/\",\"url\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/\",\"name\":\"Is machine learning hard? Not always - The Intercom Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/07\\\/Machine_Learning_Related_V2.png\",\"datePublished\":\"2018-06-22T10:47:59+00:00\",\"dateModified\":\"2020-07-30T11:55:37+00:00\",\"description\":\"There\u2019s a common misconception that you have to be a mathematician to do machine learning, that machine learning is hard. As it turns out, like many frameworks we have for understanding our world, the fundamentals of machine learning are straightforward.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/machine-learning-way-easier-than-it-looks\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/07\\\/Machine_Learning_Related_V2.png\",\"contentUrl\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/07\\\/Machine_Learning_Related_V2.png\",\"width\":1248,\"height\":591},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/\",\"name\":\"The Intercom Blog\",\"description\":\"Articles and Podcasts on Customer Service, AI and Automation, Product, and more\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#organization\",\"name\":\"The Intercom Blog\",\"url\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Intercom-logo-sq-black-trans.png\",\"contentUrl\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/Intercom-logo-sq-black-trans.png\",\"width\":1000,\"height\":1000,\"caption\":\"The Intercom Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/intercominc\",\"https:\\\/\\\/x.com\\\/intercom\",\"https:\\\/\\\/www.instagram.com\\\/intercom\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/2491343\",\"https:\\\/\\\/www.pinterest.ie\\\/intercom\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCJG0MvLP03kyzzAkD-w98aQ\",\"https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Intercom_(company)\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/#\\\/schema\\\/person\\\/1292731151f3b3129e71f428642e086f\",\"name\":\"Ben McRedmond\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6a5d60d0290a8257ba1bf5ce1ba889d6d2e62e410e96c40bc3285cbc5bccf17d?s=96&d=mm&r=pg16e1182a37d8dd5457bcef98dc323aab\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6a5d60d0290a8257ba1bf5ce1ba889d6d2e62e410e96c40bc3285cbc5bccf17d?s=96&d=mm&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/6a5d60d0290a8257ba1bf5ce1ba889d6d2e62e410e96c40bc3285cbc5bccf17d?s=96&d=mm&r=pg\",\"caption\":\"Ben McRedmond\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/benmcredmond\"],\"url\":\"https:\\\/\\\/www.intercom.com\\\/blog\\\/author\\\/ben\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Is machine learning hard? Not always - The Intercom Blog","description":"There\u2019s a common misconception that you have to be a mathematician to do machine learning, that machine learning is hard. As it turns out, like many frameworks we have for understanding our world, the fundamentals of machine learning are straightforward.","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:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/","og_locale":"en_US","og_type":"article","og_title":"Is machine learning hard? Not always","og_description":"It's easy to believe that machine learning is hard. An arcane craft known only to a select few academics. As it turns out, like all of the best frameworks we have for understanding our world, e.g. Newton's Laws of Motion, Jobs to be Done, Supply & Demand \u2014 the best ideas and concepts in machine learning are simple.","og_url":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/","og_site_name":"The Intercom Blog","article_publisher":"https:\/\/www.facebook.com\/intercominc","article_published_time":"2018-06-22T10:47:59+00:00","article_modified_time":"2020-07-30T11:55:37+00:00","og_image":[{"width":1248,"height":591,"url":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2016\/07\/Machine_Learning_Related_V2.png","type":"image\/png"}],"author":"Ben McRedmond","twitter_card":"summary_large_image","twitter_creator":"@benmcredmond","twitter_site":"@intercom","twitter_misc":{"Written by":"Ben McRedmond","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/#article","isPartOf":{"@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/"},"author":{"name":"Ben McRedmond","@id":"https:\/\/www.intercom.com\/blog\/#\/schema\/person\/1292731151f3b3129e71f428642e086f"},"headline":"Is machine learning hard? Not always","datePublished":"2018-06-22T10:47:59+00:00","dateModified":"2020-07-30T11:55:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/"},"wordCount":995,"publisher":{"@id":"https:\/\/www.intercom.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2016\/07\/Machine_Learning_Related_V2.png","keywords":["machine learning","math","Ruby"],"articleSection":["Engineering"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/","url":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/","name":"Is machine learning hard? Not always - The Intercom Blog","isPartOf":{"@id":"https:\/\/www.intercom.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/#primaryimage"},"image":{"@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2016\/07\/Machine_Learning_Related_V2.png","datePublished":"2018-06-22T10:47:59+00:00","dateModified":"2020-07-30T11:55:37+00:00","description":"There\u2019s a common misconception that you have to be a mathematician to do machine learning, that machine learning is hard. As it turns out, like many frameworks we have for understanding our world, the fundamentals of machine learning are straightforward.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intercom.com\/blog\/machine-learning-way-easier-than-it-looks\/#primaryimage","url":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2016\/07\/Machine_Learning_Related_V2.png","contentUrl":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2016\/07\/Machine_Learning_Related_V2.png","width":1248,"height":591},{"@type":"WebSite","@id":"https:\/\/www.intercom.com\/blog\/#website","url":"https:\/\/www.intercom.com\/blog\/","name":"The Intercom Blog","description":"Articles and Podcasts on Customer Service, AI and Automation, Product, and more","publisher":{"@id":"https:\/\/www.intercom.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.intercom.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.intercom.com\/blog\/#organization","name":"The Intercom Blog","url":"https:\/\/www.intercom.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.intercom.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2019\/08\/Intercom-logo-sq-black-trans.png","contentUrl":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2019\/08\/Intercom-logo-sq-black-trans.png","width":1000,"height":1000,"caption":"The Intercom Blog"},"image":{"@id":"https:\/\/www.intercom.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/intercominc","https:\/\/x.com\/intercom","https:\/\/www.instagram.com\/intercom\/","https:\/\/www.linkedin.com\/company\/2491343","https:\/\/www.pinterest.ie\/intercom\/","https:\/\/www.youtube.com\/channel\/UCJG0MvLP03kyzzAkD-w98aQ","https:\/\/en.wikipedia.org\/wiki\/Intercom_(company)"]},{"@type":"Person","@id":"https:\/\/www.intercom.com\/blog\/#\/schema\/person\/1292731151f3b3129e71f428642e086f","name":"Ben McRedmond","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/6a5d60d0290a8257ba1bf5ce1ba889d6d2e62e410e96c40bc3285cbc5bccf17d?s=96&d=mm&r=pg16e1182a37d8dd5457bcef98dc323aab","url":"https:\/\/secure.gravatar.com\/avatar\/6a5d60d0290a8257ba1bf5ce1ba889d6d2e62e410e96c40bc3285cbc5bccf17d?s=96&d=mm&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a5d60d0290a8257ba1bf5ce1ba889d6d2e62e410e96c40bc3285cbc5bccf17d?s=96&d=mm&r=pg","caption":"Ben McRedmond"},"sameAs":["https:\/\/x.com\/benmcredmond"],"url":"https:\/\/www.intercom.com\/blog\/author\/ben\/"}]}},"jetpack_featured_media_url":"https:\/\/www.intercom.com\/blog\/wp-content\/uploads\/2016\/07\/Machine_Learning_Related_V2.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/posts\/3600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/comments?post=3600"}],"version-history":[{"count":0,"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/posts\/3600\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/media\/9687"}],"wp:attachment":[{"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/media?parent=3600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/category?post=3600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/tags?post=3600"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.intercom.com\/blog\/wp-json\/wp\/v2\/coauthors?post=3600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}