{"id":1873,"date":"2024-07-30T13:47:54","date_gmt":"2024-07-30T11:47:54","guid":{"rendered":"https:\/\/cogita.ai\/?p=1873"},"modified":"2026-02-25T17:27:07","modified_gmt":"2026-02-25T16:27:07","slug":"how-an-advanced-recommendation-system-revolutionized-sales-in-an-electronics-store","status":"publish","type":"post","link":"https:\/\/cogita.ai\/pl\/how-an-advanced-recommendation-system-revolutionized-sales-in-an-electronics-store\/","title":{"rendered":"How an Advanced Recommendation System Revolutionized Sales in an Electronics Store"},"content":{"rendered":"<p>Online stores must continuously tailor their offerings to the needs and preferences of customers to increase conversion rates and cart value.<\/p>\n\n\n\n<p>Below, we will discuss step by step a hypothetical project to implement an advanced recommendation system in an electronics store, which could significantly improve sales metrics and the customer shopping experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Problem Description and Project Objective<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Business Context<\/h3>\n\n\n\n<p>An online store specializing in electronics (laptops, smartphones, TVs, and accessories) observed that many customers were leaving the site without making a purchase. Despite a wide range of products, users struggled to find items that suited their needs. As a result, the conversion rates and average cart value were lower than expected, negatively impacting the store's revenue and profitability.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Project Goals<\/h3>\n\n\n\n<p>The project aimed to develop and implement an advanced recommendation system to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Personalize product listings on category pages to present products most aligned with users' preferences and browsing history.<\/li>\n\n\n\n<li>Introduce product recommendations on main pages and product subpages, suggesting items based on previous purchases and site behavior.<\/li>\n\n\n\n<li>Segment users according to their shopping behaviors and preferences, allowing for better-targeted offers and marketing campaigns.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Expected Outcomes:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Increase the conversion rate by 15% within the first 6 months.<\/li>\n\n\n\n<li>Raise the average cart value by 10%.<\/li>\n\n\n\n<li>Improve overall customer shopping experience, leading to greater loyalty and more frequent returns to the store.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Data Preparation<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Data Sources<\/h3>\n\n\n\n<p>The project utilized various data sources crucial for the successful implementation of the recommendation system:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Purchase History<\/strong><br>A CSV file containing the purchase history of users over a two-year period. The data included product information, purchase dates, prices, and product categories.<\/li>\n\n\n\n<li><strong>Product Feed<\/strong><br>A regularly updated product feed from the store's API, containing detailed information on available products (names, descriptions, prices, availability, technical attributes, and categories).<\/li>\n\n\n\n<li><strong>Eventserver<\/strong><br>The Eventserver collected data from the online store and stored it in a dedicated database. The events collected included product views (about 100 million records), clicks (about 1 million records), cart additions, and purchases (about 100 thousand records).<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Data Quality<\/h3>\n\n\n\n<p>To ensure data quality, actions were taken to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Data Completeness:<\/strong> Integrating and normalizing data from various sources (CSV, API, eventserver).<\/li>\n\n\n\n<li><strong>Data Cleansing:<\/strong> Removing duplicates, filling in missing values, and correcting errors.<\/li>\n<\/ul>\n\n\n\n<p><strong>Data Preparation and Processing<\/strong><br>Before building the recommendation system, several actions were taken to gain valuable business insights:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Data Integration:<\/strong> Data from different sources were integrated into a unified processing system, allowing the combination of product information with purchase history and user behaviors.<\/li>\n\n\n\n<li><strong>User Segmentation:<\/strong> Users were assigned to segments based on their shopping behaviors and preferences (e.g., tech enthusiasts, deal seekers, premium customers).<\/li>\n\n\n\n<li><strong>Behavior Analysis:<\/strong> The collected data allowed for the analysis of user behavior on the site, identification of the most viewed and purchased products, and determination of shopping patterns.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation and Integration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Technologies and Tools<\/h3>\n\n\n\n<p>The implementation of the recommendation system utilized various models and artificial intelligence technologies:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Embeddings with OpenAI:<\/strong> Transforming product descriptions and user reviews into numerical format.<\/li>\n\n\n\n<li><strong>XGBoost:<\/strong> A predictive model for determining which products are most likely to be purchased.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"214\" src=\"https:\/\/cogita.ai\/wp-content\/uploads\/2024\/07\/Zrzut-ekranu-2024-07-31-o-09.53.27-1024x214.png\" alt=\"\" class=\"wp-image-1874\" srcset=\"https:\/\/cogita.ai\/wp-content\/uploads\/2024\/07\/Zrzut-ekranu-2024-07-31-o-09.53.27-1024x214.png 1024w, https:\/\/cogita.ai\/wp-content\/uploads\/2024\/07\/Zrzut-ekranu-2024-07-31-o-09.53.27-300x63.png 300w, https:\/\/cogita.ai\/wp-content\/uploads\/2024\/07\/Zrzut-ekranu-2024-07-31-o-09.53.27-768x160.png 768w, https:\/\/cogita.ai\/wp-content\/uploads\/2024\/07\/Zrzut-ekranu-2024-07-31-o-09.53.27.png 1188w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>SHAP:<\/strong> A tool for interpreting model results, helping to understand which user characteristics most influence the recommendation model's decisions.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Integration with Existing Systems:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>E-commerce Platform Integration:<\/strong> The recommendation system was directly integrated with the store's e-commerce platform, AtomStore, allowing real-time recommendation display.<\/li>\n\n\n\n<li><strong>API:<\/strong> Enabled dynamic retrieval of product and user data and sending generated recommendations to the store's frontend.<\/li>\n\n\n\n<li><strong>Eventserver:<\/strong> Collected data on user activities, ensuring the continuous updating of recommendation models.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Results Achieved<\/h3>\n\n\n\n<p>After the system was implemented, A\/B tests were conducted. The recommendation system returned its results for 50% of randomly selected users, while the rest received the usual product order (by popularity). This allowed for precise measurement of the model's quality.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Increase in Average Cart Value<\/strong><br>Thanks to recommended upsells, the average cart value increased by 4%. The comparison was made during two weeks of A\/B testing. Assuming the average cart value before implementation was 500 PLN and there were 10,000 purchases per month, the monthly profit from this increase amounted to 200,000 PLN.<\/li>\n\n\n\n<li><strong>Increase in CR on the Website<\/strong><br>Users received more tailored product suggestions, leading to fewer site exits and more frequent purchases. The conversion rate (CR) increased by 4%, resulting in 800 additional monthly conversions and a profit of 416,000 PLN.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Costs and Resources<\/h3>\n\n\n\n<p>The main costs of the project were the wages of the development team.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Human Resources<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Data Scientists:<\/strong> Three Data Scientists, with a total team cost of 300,000 PLN.<\/li>\n\n\n\n<li><strong>Project Manager:<\/strong> PM part-time, included in the overall team cost.<\/li>\n<\/ul>\n\n\n\n<p><strong>Project Duration:<\/strong> 2 months.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Infrastructure Costs<\/h3>\n\n\n\n<p>As the entire system was implemented in the cloud, additional costs included:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>AWS EC2 Instances:<\/strong> Training model costs (2500 PLN) and deployment (450 PLN).<\/li>\n\n\n\n<li><strong>S3 Storage:<\/strong> Data storage costs (360 PLN).<\/li>\n\n\n\n<li><strong>Amazon RDS:<\/strong> Database storage costs (560 PLN).<\/li>\n<\/ul>\n\n\n\n<p><strong>Total Project Cost:<\/strong> 303,870 PLN.<\/p>\n\n\n\n<p>Thus, the investment paid off two weeks after the solution was implemented.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Monitoring and Optimization<\/h3>\n\n\n\n<p>After implementing the machine learning model, it was crucial to monitor its performance and make necessary adjustments.<\/p>\n\n\n\n<p>Monitoring was implemented using Amazon CloudWatch. Due to the introduction of new products and changing user preferences, automatic weekly model retraining was implemented. Additionally, an alert system was introduced to report anomalies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Feedback Loop<\/h3>\n\n\n\n<p>For each recommended product, users could click a thumbs up or down to rate the recommendation's quality. This provided an additional source of information useful for retraining the AI model.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>The hypothetical implementation of an advanced recommendation system in an electronics store was a key step in improving customer shopping experiences and increasing sales efficiency.<\/p>\n\n\n\n<p>By personalizing the product offering based on user preferences, noticeable improvements were achieved in conversion rates and average cart value.<\/p>\n\n\n\n<p>The project required integrating data from various sources and applying advanced machine learning technologies, such as XGBoost, which enabled effective processing and analysis of large volumes of data and generating accurate product recommendations in real-time.<\/p>","protected":false},"excerpt":{"rendered":"<p>In today's era, e-commerce plays a crucial role in retail, and personalization is key to success.<\/p>","protected":false},"author":1,"featured_media":1867,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1873","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-category"],"acf":[],"_links":{"self":[{"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/posts\/1873","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/comments?post=1873"}],"version-history":[{"count":6,"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/posts\/1873\/revisions"}],"predecessor-version":[{"id":2249,"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/posts\/1873\/revisions\/2249"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/media\/1867"}],"wp:attachment":[{"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/media?parent=1873"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/categories?post=1873"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cogita.ai\/pl\/wp-json\/wp\/v2\/tags?post=1873"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}