{"id":317159,"date":"2021-12-26T03:14:26","date_gmt":"2021-12-26T03:14:26","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=317159"},"modified":"2024-10-11T13:43:33","modified_gmt":"2024-10-11T13:43:33","slug":"product-recommendation-with-machine-learning","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/","title":{"rendered":"Product Recommendation with Machine Learning"},"content":{"rendered":"\n<p>Machine Learning has many techniques for product recommendation like Matrix Factorization, User-User similarity, Item-Item similarity, Content based filtering, etc. All have some pros and cons. <\/p>\n\n\n\n<p>So in real world companies generally combine most of them to get a better result. <\/p>\n\n\n\n<p>Here I have created a <a href=\"https:\/\/store.webkul.com\/magento2-ai-product-recommendation.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Product Recommendation<\/a> module which will recommend based <strong>Item-Item similarity<\/strong>. That means it will recommend similar products based on past purchases.<\/p>\n\n\n\n<p>First I have loaded the product, customer and order collection to create the user-item matrix. <\/p>\n\n\n\n<p>Here, I have created a binary matrix where 1 means the customer has purchased the product and 0 means otherwise.<\/p>\n\n\n\n<p>For example check the <strong>user-item interaction matrix<\/strong> below. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"701\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png\" alt=\"B570233D-C8FE-4D03-977F-1AD61C388515\" class=\"wp-image-317438\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-300x175.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-250x146.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-768x449.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1536x897.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515.png 1604w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">User-Item Interaction Matrix<\/figcaption><\/figure>\n\n\n\n<p>We can get the vector representation of the items from the matrix as shown below,<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"370\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2-1200x370.png\" alt=\"94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2\" class=\"wp-image-317439\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2-1200x370.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2-300x92.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2-250x77.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2-768x237.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2-1536x474.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/94750C1F-2AB9-4F3E-90BD-70E1F3F4E8E2.png 1557w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Item vectors<\/figcaption><\/figure>\n\n\n\n<p>Then I have calculated the product similarities between each product with<strong> cosine similarity <\/strong>technique. <\/p>\n\n\n\n<p>I have used the cosine similarity formula because the item vector will be of high dimension. <\/p>\n\n\n\n<p>And for high dimensional case cosine similarity perform better as compared to euclidean distance. I have used sciphp\/numphp library for this calculation.<\/p>\n\n\n\n<p>For example you can check how we can calculate the cosine similarity between the items using the item vector.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"503\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/786E1A17-B18B-48E6-95F6-6B802AC0825F-1200x503.png\" alt=\"786E1A17-B18B-48E6-95F6-6B802AC0825F\" class=\"wp-image-317440\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/786E1A17-B18B-48E6-95F6-6B802AC0825F-1200x503.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/786E1A17-B18B-48E6-95F6-6B802AC0825F-300x126.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/786E1A17-B18B-48E6-95F6-6B802AC0825F-250x105.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/786E1A17-B18B-48E6-95F6-6B802AC0825F-768x322.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/786E1A17-B18B-48E6-95F6-6B802AC0825F.png 1496w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Cosine Similarity<\/figcaption><\/figure>\n\n\n\n<p>As you can see in the above calculation the cosine-similarity between<em> item 1<\/em> and <em>item 2<\/em> is higher than the cosine-similarity between <em>item 3 <\/em>and<em> item 2<\/em>. That means the <em>item 1<\/em> is more similar to<em> item 2 <\/em>than <em>item 3<\/em>.<\/p>\n\n\n\n<p>So to the <em>user 5<\/em>, who has purchased only <em>item 2<\/em>, we will recommend the <em>item 1<\/em>. (see the user-item matrix)<\/p>\n\n\n\n<p>Similarly for each customer, I have extracted top k similar products based on past orders and the similarity score. And I have mailed the product recommendations to the customers like shown below,<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"885\" height=\"996\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/2021-12-28_08-21.png\" alt=\"2021-12-28_08-21\" class=\"wp-image-317441\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/2021-12-28_08-21.png 885w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/2021-12-28_08-21-267x300.png 267w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/2021-12-28_08-21-221x249.png 221w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/2021-12-28_08-21-768x864.png 768w\" sizes=\"(max-width: 885px) 100vw, 885px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Recommendations<\/figcaption><\/figure>\n\n\n\n<p>This is a simple implementation of the recommendation system. <\/p>\n\n\n\n<p>We could combine results from User-User similarity to get more diverse results. Also instead of considering all the orders, we could only use last x days data to get new results.<\/p>\n\n\n\n<p>This strategy will be more helpful in case of User-User similarity because the user behaviour changes over time.<\/p>\n\n\n\n<p>There will be issues when we have new items. Because there are going to be very few or zero orders for the new products. <\/p>\n\n\n\n<p>So for the new items most or all of the values will be zero in the item vector. And the cosine similarities will be close to zero. This is called <strong>cold start problem<\/strong>.<\/p>\n\n\n\n<p>To tackle the cold start problems for new users and new items, we could do content based filtering. Where we use product information such as name, price, category to find similar products.<\/p>\n\n\n\n<p>Thanks for reading the blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Machine Learning has many techniques for product recommendation like Matrix Factorization, User-User similarity, Item-Item similarity, Content based filtering, etc. All have some pros and cons. So in real world companies generally combine most of them to get a better result. Here I have created a Magento 2 Product Recommendation module which will recommend based Item-Item <a href=\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":201,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121],"tags":[2070,580,1165],"class_list":["post-317159","post","type-post","status-publish","format-standard","hentry","category-magento-2","tag-magento2","tag-product","tag-suggestion"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Product Recommendation with Machine Learning - Webkul Blog<\/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:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Product Recommendation with Machine Learning - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Machine Learning has many techniques for product recommendation like Matrix Factorization, User-User similarity, Item-Item similarity, Content based filtering, etc. All have some pros and cons. So in real world companies generally combine most of them to get a better result. Here I have created a Magento 2 Product Recommendation module which will recommend based Item-Item [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-26T03:14:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-11T13:43:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png\" \/>\n<meta name=\"author\" content=\"Sanjay Chouhan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sanjay Chouhan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\"},\"author\":{\"name\":\"Sanjay Chouhan\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/645580979f637b0e355deea21bd07462\"},\"headline\":\"Product Recommendation with Machine Learning\",\"datePublished\":\"2021-12-26T03:14:26+00:00\",\"dateModified\":\"2024-10-11T13:43:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\"},\"wordCount\":443,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png\",\"keywords\":[\"Magento2\",\"product\",\"Suggestion\"],\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\",\"url\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\",\"name\":\"Product Recommendation with Machine Learning - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png\",\"datePublished\":\"2021-12-26T03:14:26+00:00\",\"dateModified\":\"2024-10-11T13:43:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515.png\",\"width\":1604,\"height\":937,\"caption\":\"B570233D-C8FE-4D03-977F-1AD61C388515\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Product Recommendation with Machine Learning\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/645580979f637b0e355deea21bd07462\",\"name\":\"Sanjay Chouhan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Sanjay Chouhan\"},\"sameAs\":[\"https:\/\/www.instagram.com\/sanjaychouhansc\/\",\"https:\/\/in.linkedin.com\/in\/scchouhansanjay\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/sanjay-chouhan180\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Product Recommendation with Machine Learning - Webkul Blog","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:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/","og_locale":"en_US","og_type":"article","og_title":"Product Recommendation with Machine Learning - Webkul Blog","og_description":"Machine Learning has many techniques for product recommendation like Matrix Factorization, User-User similarity, Item-Item similarity, Content based filtering, etc. All have some pros and cons. So in real world companies generally combine most of them to get a better result. Here I have created a Magento 2 Product Recommendation module which will recommend based Item-Item [...]","og_url":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2021-12-26T03:14:26+00:00","article_modified_time":"2024-10-11T13:43:33+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png","type":"","width":"","height":""}],"author":"Sanjay Chouhan","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Sanjay Chouhan","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/"},"author":{"name":"Sanjay Chouhan","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/645580979f637b0e355deea21bd07462"},"headline":"Product Recommendation with Machine Learning","datePublished":"2021-12-26T03:14:26+00:00","dateModified":"2024-10-11T13:43:33+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/"},"wordCount":443,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png","keywords":["Magento2","product","Suggestion"],"articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/","url":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/","name":"Product Recommendation with Machine Learning - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515-1200x701.png","datePublished":"2021-12-26T03:14:26+00:00","dateModified":"2024-10-11T13:43:33+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/12\/B570233D-C8FE-4D03-977F-1AD61C388515.png","width":1604,"height":937,"caption":"B570233D-C8FE-4D03-977F-1AD61C388515"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/product-recommendation-with-machine-learning\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Product Recommendation with Machine Learning"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/645580979f637b0e355deea21bd07462","name":"Sanjay Chouhan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cd6ee19f99bd1fcafef819135529c952d7c875d06fedd9fd4c4eb0996bafc1bd?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Sanjay Chouhan"},"sameAs":["https:\/\/www.instagram.com\/sanjaychouhansc\/","https:\/\/in.linkedin.com\/in\/scchouhansanjay"],"url":"https:\/\/webkul.com\/blog\/author\/sanjay-chouhan180\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/317159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/201"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=317159"}],"version-history":[{"count":4,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/317159\/revisions"}],"predecessor-version":[{"id":468495,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/317159\/revisions\/468495"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=317159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=317159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=317159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}