{"id":15784,"date":"2019-09-05T17:29:55","date_gmt":"2019-09-06T00:29:55","guid":{"rendered":"https:\/\/devwww.3cloudsolutions.com\/post\/introduction-to-personalized-marketing-with-azure-machine-learning-3\/"},"modified":"2024-01-08T13:45:50","modified_gmt":"2024-01-08T21:45:50","slug":"introduction-to-personalized-marketing-with-azure-machine-learning","status":"publish","type":"post","link":"https:\/\/3cloudsolutions.com\/resources\/introduction-to-personalized-marketing-with-azure-machine-learning\/","title":{"rendered":"Introduction to Personalized Marketing with Azure Machine Learning"},"content":{"rendered":"<p><em>This post contains highlights of our <\/em><em>recent &#8220;Intro to Personalized Marketing&#8221; webinar.<\/em><\/p>\n<p><!--more--><\/p>\n<p>The continued growth of e-commerce, social media, and streaming services, combined with growing data volumes related to digital activity, has made it possible \u2013 and even an expectation \u2013 for brands to provide personal experiences to their customers. Global research giant Gartner estimates that organizations using online personalization will outsell companies that aren\u2019t by 30%, and, that by 2020, 90% of brands will practice at least one form of personalized marketing[1]. Effective digital marketing provides richer insights from customer interactions, allowing organizations to create better content, develop deeper prospect relationships, and ultimately achieve greater return on investment (ROI) from advertising.<\/p>\n<p><img decoding=\"async\" style=\"width: 456px; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/cdn2.hubspot.net\/hubfs\/257922\/personalized%20marketing%201.png\" alt=\"personalized marketing 1\" width=\"456\" \/>Personalized marketing utilizes modern tools, like machine learning (ML) and AI, then operationalizes insights from those tools. Common barriers to success when using data science technology include difficulty collaborating among team members, managing experiments and other modeling artifacts, scalability, and using predictions in applications. This post will discuss some introductory concepts for digital marketing professionals and data scientists to overcome these challenges.<\/p>\n<p>What does a consumer want to see next and how likely are they to purchase? What information about the product should be presented? Personalized marketing refers to deciding what content should be shown to different groups of customers based on your knowledge of those groups. That knowledge can come from what the customer has told you about themselves, how they\u2019ve behaved in the past (their purchases and online activity), and details about the products or services you\u2019re offering. Above all, this content should be more interesting and relevant to your customer than if you were treating them \u201clike everyone else.\u201d Benefits of this type of modern marketing approach include increased open rates, conversions, and page views, shorter sales cycle times and lower overall marketing costs. HubSpot, a leading customer relationship management (CRM) provider, finds 68% of marketers say that personalization based on behavioral data has a high impact on ROI, while 74% say it has a high impact on engagement. But only 19% do it[2]. So, what are the challenges?<\/p>\n<p><img decoding=\"async\" style=\"width: 474px; display: block; margin-left: auto; margin-right: auto;\" src=\"https:\/\/cdn2.hubspot.net\/hubfs\/257922\/personalized%20marketing%202.png\" alt=\"personalized marketing 2\" width=\"474\" \/>Personalized marketing depends on the quality and volume of data available \u2013 about your customers and their preferences \u2013 and the analytic tools and talent to make sense of it. Defining different groups, or segments, can be performed in various levels of sophistication and detail. For example, basic customer list segmentation can be performed manually using information your users have volunteered about themselves, usually from registration forms. However, moving beyond the basics is best accomplished with advanced tools like machine learning. The essence of machine learning is using prior examples to predict outcomes of future occurrences, without being explicitly programmed. It\u2019s pattern recognition from the data, but this can involve complex patterns across multiple data sets and variables.<\/p>\n<p>A common machine learning technique used for personalized marketing is a recommendation system. Most of us have been on the receiving end of a recommendation system if we\u2019ve been advised of the \u201cnext best\u201d product or movie we might like. What makes recommendation systems so powerful is the breadth and volume of data they can incorporate. In addition to the registered customer preferences discussed in the basic example, we can also include transaction history, click-stream data (i.e., Google Analytics), demographics from a third party, and ratings or sentiment from social media. Recommendation systems can use data sets and algorithms that, like personalization in general, can vary in complexity. You can read more about recommender systems <a href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/building-recommender-systems-with-azure-machine-learning-service\/\">here<\/a> on this Microsoft data science blog[3].<\/p>\n<p>Let\u2019s discuss a basic recommendation scenario. You are preparing an email campaign for a new product. Your data set includes a customer list, purchase history, and product information about your existing products, as well as your new product. Patterns within this data set can reveal clues about the likelihood of each customer making a purchase. How recently has the customer made any purchase from you, and how much have they spent? Is this new product related to the customer\u2019s interests \u2013 is it attractive for their age, geography, income level, and activities? How similar is the new product to products previously purchased? From this data, we can use a machine learning technique called classification \u2013 a type of recommendation system \u2013 that will predict the probability of purchase for each customer. With that, we can prioritize the mailing list, and maybe even avoid sending to large groups of customers unlikely to buy. It\u2019s like lining up only our best customers (for that product) to come through the door first, and not bothering the rest. This preserves and improves relationships with customers over time, developing trust that we know what they do, and do not, like. In data science for marketing, capitalizing on predictions like this is called \u201clift.\u201d If we have relatively accurate predictions, we can capture a large percentage of the relevant audience through contact with a comparatively smaller portion of the total customer base. In the illustration below, we achieve more than 30% lift by using machine learning compared to random guessing.<\/p>\n<p><img decoding=\"async\" style=\"width: 1173px;\" src=\"https:\/\/cdn2.hubspot.net\/hubfs\/257922\/personalized%20marketing%203.png\" alt=\"personalized marketing 3\" width=\"1173\" \/><\/p>\n<p>We still haven\u2019t directly addressed all the challenges that might be inferred by only 19% of marketers using personalization. Data availability is one. Creating predictions using machine learning is another. But perhaps the biggest challenge is using the predictions in an operational system for real-time recommendations or decision making. Assuming you have the proper data, creating a classification model requires just a few lines of code in tools like Python or R. But in most organizations, these lines of code and the predictions they create remain in a data scientist\u2019s local environment. Problems arise when trying to use big data sets like Google Analytics, collaborating with distributed teams, and keeping track of myriad development artifacts. For most organizations, getting real use out of a machine learning approach is an issue of scale and using best practices from software development like DevOps[4]. This is where a service such as <a href=\"https:\/\/3cloudsolutions.com\/resources\/how-to-choose-algorithms-for-azure-machine-learning\/\">Azure Machine Learning<\/a>[5] can help.<\/p>\n<p>Azure Machine Learning service (Azure ML) is Microsoft\u2019s cloud service for managing and deploying <a href=\"https:\/\/3cloudsolutions.com\/resources\/machine-learning-models-what-you-need-to-know\/\">machine learning models<\/a>, which can lead to major gains in terms of ML value and data scientist productivity. For model development, it allows data scientists to use their current code via the Python SDK and preferred frameworks (like PyTorch, TensorFlow, and scikit-learn) with scalable and on-demand compute environments like Spark and CPU\/GPU clusters. Data scientists can stick with familiar development tools like local integrated development environments (IDEs) and notebooks, or use cloud-based notebook virtual machines (VMs)[6] that integrate directly with the service and are great for collaboration. Training experiments and results are registered in a workspace, and artifacts can be retrieved through the SDK, command-line interface (CLI), or web portal. The image below illustrates how a user can track experiment results across different model settings, such as hyperparameter values. This view can be accessed with a notebook widget or through the Azure portal.<\/p>\n<p><img decoding=\"async\" style=\"width: 1388px;\" src=\"https:\/\/cdn2.hubspot.net\/hubfs\/257922\/personalized%20marketing%204.png\" alt=\"personalized marketing 4\" width=\"1388\" \/><\/p>\n<p>Once a model has been trained and selected, a model object and associated metadata can be registered on the service. I like to think of this stage as the bridge between traditional data science development and operational deployment. With the registered model, Azure ML provides great tools to deploy it as a web service. The model, along with information about the compute environment, are used to create a Docker image. These images can then be deployed as containers for testing or production as web services in applications[7] \u2013 serving your model and its predictions where they\u2019re needed most. Even better, Azure ML provides tools to automate this production process into ML pipelines[8], DevOps-style. An overview of the service and its benefits are below:<\/p>\n<p><img decoding=\"async\" style=\"width: 1158px;\" src=\"https:\/\/cdn2.hubspot.net\/hubfs\/257922\/personalized%20marketing%205.png\" alt=\"personalized marketing 5\" width=\"1158\" \/><\/p>\n<p>As I was preparing for this post and the associated webinar, I was inspired by the wealth of resources Microsoft provides for getting started with personalized marketing. A great place to begin is this post <a href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/building-recommender-systems-with-azure-machine-learning-service\/\">here<\/a> about building recommender systems with Azure Machine Learning service[9]. \u00a0It discusses different types of recommenders, multiple machine learning algorithms, and considerations for deployment. It also has a companion GitHub repository, <a href=\"https:\/\/github.com\/microsoft\/recommenders\/blob\/master\/README.md\">here<\/a>,[10] with a rich set of recommender code examples, best practices, and utilities along the spectrum of development environments and ML frameworks. It has great setup instructions, whether you\u2019re using a local machine or a more complex environment like Azure Databricks.<\/p>\n<p>I hope you found this post helpful. The <a href=\"https:\/\/www.blue-granite.com\/personalized-marketing-azure-machine-learning\">companion webinar<\/a> also includes a live demonstration of using Azure ML from model training to deployment and accessing the web service in <a href=\"https:\/\/docs.microsoft.com\/en-us\/power-bi\/service-machine-learning-integration\">Power BI<\/a>[11].<\/p>\n<p>For more information on getting started with Azure Machine Learning, including a free Azure account, click <a href=\"http:\/\/aka.ms\/AMLfree\">here<\/a> to visit Microsoft\u2019s Azure account sign-up page.<\/p>\n<p>Feel free to <a href=\"\/contact-us\" rel=\" noopener\">Contact Us<\/a> with any questions regarding this blog post or the webinar.<\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\">[1] <a href=\"https:\/\/blogs.gartner.com\/noah-elkin\/the-long-and-winding-road-to-real-time-marketing\/\"><em>https:\/\/blogs.gartner.com\/noah-elkin\/the-long-and-winding-road-to-real-time-marketing\/<\/em><\/a><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\">[2] <em><a href=\"https:\/\/blog.hubspot.com\/blog\/tabid\/6307\/bid\/32848\/Why-List-Segmentation-Matters-in-Email-Marketing.aspx\">https:\/\/blog.hubspot.com\/blog\/tabid\/6307\/bid\/32848\/Why-List-Segmentation-Matters-in-Email-Marketing.aspx<\/a><\/em><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\"><em>[3] <a href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/building-recommender-systems-with-azure-machine-learning-service\/\">https:\/\/azure.microsoft.com\/en-us\/blog\/building-recommender-systems-with-azure-machine-learning-service\/<\/a> <\/em><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\">[4] <a href=\"https:\/\/en.wikipedia.org\/wiki\/DevOps\">https:\/\/en.wikipedia.org\/wiki\/DevOps<\/a><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\">[5] <a href=\"https:\/\/azure.microsoft.com\/en-us\/services\/machine-learning-service\/\">https:\/\/azure.microsoft.com\/en-us\/services\/machine-learning-service\/<\/a><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\"><em>[6] <a href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/three-things-to-know-about-azure-machine-learning-notebook-vm\/\">https:\/\/azure.microsoft.com\/en-us\/blog\/three-things-to-know-about-azure-machine-learning-notebook-vm\/<\/a><\/em><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\">[7] <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/machine-learning\/service\/how-to-deploy-and-where\">https:\/\/docs.microsoft.com\/en-us\/azure\/machine-learning\/service\/how-to-deploy-and-where<\/a><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\">[8] <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/machine-learning\/service\/concept-ml-pipelines\">https:\/\/docs.microsoft.com\/en-us\/azure\/machine-learning\/service\/concept-ml-pipelines<\/a><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\"><em>[9]\u00a0<a href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/building-recommender-systems-with-azure-machine-learning-service\/\">https:\/\/azure.microsoft.com\/en-us\/blog\/building-recommender-systems-with-azure-machine-learning-service\/<\/a> <\/em><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\">[10] <a href=\"https:\/\/github.com\/microsoft\/recommenders\/blob\/master\/README.md\">https:\/\/github.com\/microsoft\/recommenders\/blob\/master\/README.md<\/a><\/span><\/p>\n<p style=\"line-height: 1;\"><span style=\"font-size: 12px;\"><em>[11] <a href=\"https:\/\/docs.microsoft.com\/en-us\/power-bi\/service-machine-learning-integration\">https:\/\/docs.microsoft.com\/en-us\/power-bi\/service-machine-learning-integration<\/a> <\/em><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Personalized marketing utilizes modern tools, like machine learning (ML) and AI, then operationalizes insights from those tools. This post will discuss some introductory concepts for digital marketing professionals and data scientists in regards to personalized marketing.<\/p>\n","protected":false},"author":21,"featured_media":13224,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[260],"tags":[284,319,321],"class_list":["post-15784","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-ai","tag-azure","tag-machine-learning-ai","tag-retail-consumer-goods","topics-blog","industries-retail"],"acf":[],"_links":{"self":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/15784","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/comments?post=15784"}],"version-history":[{"count":0,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/posts\/15784\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media\/13224"}],"wp:attachment":[{"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/media?parent=15784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/categories?post=15784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/3cloudsolutions.com\/wp-json\/wp\/v2\/tags?post=15784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}