SlideShare une entreprise Scribd logo
1  sur  19
Machine Learning in
Magento 2
WHAT
Customer retention
 Recommendations during product choosing
 Cross-sell during purchasing process
 Realtime personal discounts
 Personalized search results
Customer returns
 Predict following sales and offer the customer
 Personalized discounts and hot-sales e-mails
 Work with abandoned baskets
 After-sale support by e-mail of phone
Customer behavior analytics
 Customers segmentation
 Automatic clusterization
 Searching for hidden behavior patterns
 Signalizing about unusual customer activities
Customer behavior prediction
 Predict customer preferences
 Predict unknown data about customer
 Predict future purchases
 Predict lost customers
 Predict anything for what you can find correlations
The Main goal:
personalization
Convert visitors to HAPPY buyers
1. Analyze visitor
2. Predict visitor needs
3. Determine visitor behavior pattern
4. Inject into salesflow the most effective additional points of influence personalized
for the visitor
5. Suggest exactly what the visitor wants
6. Make the visitor happy buyer
7. Thank him for the purchasing and suggest more
HOW
Magento 2.0
instance
Data Sources
Events flow
Generate events
ES
Persist events to
datastore
321 …
Event consumers
Machine Learning
standalone service
Data required for
prediction models
Consumer asks by SOAP
for a prediction results
Create sub-events
Calls to API in order to ML
decisions
Communicates
with visitors
Realtime calls to ML service API
to obtain predicted data
Hadoop Spark ML
Batch and realtime long-term history analysis,
heavy reporting
Customer activities, internal data changes
Data Flow
Data sources
1. Products catalog, inventory
2. Pages visit logs
3. Purchases, abandoned baskets
4. Ratings, reviews
5. External data sources like Twitter, Amazon, public datasets, etc.
6. Timeseries with
• history of changes of product’s prices
• customers activity log
Events FLOW
1. Common event bus using RabbitMQ for small customers and Apache Kafka for a
large
2. It’s a horizontal highly scalable solution
3. All data inside events should get to the persistent datastore according to
consumers rules
4. After that consumers may trigger sub-event for the ML algorithms that depends
on changed data
5. If ML algorithm should call some API method in Magento (for example add
customer to a new segment), it would publish event for the appropriate consumer
6. On each step we have the opportunity to integrate any external systems into our
process flow through the event bus
Persistent datastore
1. Datastore should have three levels
I. In-memory datastore to cache operational data for realtime queries
II. Operational datastore to persists all appropriate data for machine learning algorithms
III. Analytical datastore for all historical data which will be used for a heavy reporting and
deep ML analysis
2. Due to the probabilistic nature of the ML algorithm, in datastore architecture we
can sacrifice Consistency of CAP theory and guarantee Availability and Partition
tolerance
3. On the first step of discussing I propose to use Redis(VoltDB, Aerospike,
Tarantool), ElasticSearch(Solr, MySQL, HBase) and Hadoop
Machine learning service
1. Will be implemented as standalone service
2. Binary/SOAP/REST protocols using HTTP/TCP transport layer
3. Direct read-only access to all data sources
4. ACL checks should be implemented on clients
5. Horizontally scalable nothing-shared architecture
6. Calculated models will be synced using binary protocol without master-node
(Zookeeper)
7. Each node has its own memory pool to store internal datasets for calculations
Hadoop + Spark
 Should be implemented only for extremely large stores
 Hadoop is a very slow datastore
 But Hadoop and Spark together allow us to use machine learning algorithms in
near-realtime and distributed manner
 Using event bus we can write all the data to Hadoop and run ML tasks on unlimited
volumes of data:
 Reporting
 Batch clustering
 Searching for patterns and outliers
Use CASES
Realtime Recommendations
 Using all historical data about user’s activity and internal datasources we can predict
customer needs
 User activities:
 Page views log with duration of an each page view
 Visitor returns
 Registrations
 Ratings and reviews
 Purchases
 Abandoned shopping cart
 Internal datasources
 Product’s prices with changes
 Discounts
 Customer segments
Personal discounts
 Create behavior patterns and detect cases when merchant should give a personal
discount to customer on a particular product
 Discounts will be shown to customer in realtime during catalog browsing
 If customer didn’t purchase discounted product, algorithm should take this into
consideration in further work with this customer
Personalized product catalog
 Besides product recommendations ML algorithms can determine customer’s
preferences and generate product catalog page according to them
 Product’s list may naturally include starred products from predicted list
 Another way is sorting list by “the best choice”

Contenu connexe

Tendances

FineAI Recommendation Engine
FineAI Recommendation EngineFineAI Recommendation Engine
FineAI Recommendation EngineManan Shah
 
Cortana Analytics Workshop: Cortana Analytics for Marketing
Cortana Analytics Workshop: Cortana Analytics for MarketingCortana Analytics Workshop: Cortana Analytics for Marketing
Cortana Analytics Workshop: Cortana Analytics for MarketingMSAdvAnalytics
 
Google Analytics vs. Omniture Comparative Guide
Google Analytics vs. Omniture Comparative GuideGoogle Analytics vs. Omniture Comparative Guide
Google Analytics vs. Omniture Comparative GuideJimmy Jay
 
web metric glossary omniture
web metric glossary omnitureweb metric glossary omniture
web metric glossary omnitureLalitendu Sahoo
 
Omniture 101 - Digital Analytics - iProspect Canada
Omniture 101 - Digital Analytics - iProspect CanadaOmniture 101 - Digital Analytics - iProspect Canada
Omniture 101 - Digital Analytics - iProspect CanadaLemesle Gautier
 
Adobe analytics presentation abhi boyanpalli sept 2013
Adobe analytics presentation   abhi boyanpalli sept 2013Adobe analytics presentation   abhi boyanpalli sept 2013
Adobe analytics presentation abhi boyanpalli sept 2013Karl Schneider
 
Novel analytics for gas stations
Novel analytics for gas stationsNovel analytics for gas stations
Novel analytics for gas stationsNovelAnalytics
 
Web analytics an intro
Web analytics   an introWeb analytics   an intro
Web analytics an introAshokkumar T A
 

Tendances (8)

FineAI Recommendation Engine
FineAI Recommendation EngineFineAI Recommendation Engine
FineAI Recommendation Engine
 
Cortana Analytics Workshop: Cortana Analytics for Marketing
Cortana Analytics Workshop: Cortana Analytics for MarketingCortana Analytics Workshop: Cortana Analytics for Marketing
Cortana Analytics Workshop: Cortana Analytics for Marketing
 
Google Analytics vs. Omniture Comparative Guide
Google Analytics vs. Omniture Comparative GuideGoogle Analytics vs. Omniture Comparative Guide
Google Analytics vs. Omniture Comparative Guide
 
web metric glossary omniture
web metric glossary omnitureweb metric glossary omniture
web metric glossary omniture
 
Omniture 101 - Digital Analytics - iProspect Canada
Omniture 101 - Digital Analytics - iProspect CanadaOmniture 101 - Digital Analytics - iProspect Canada
Omniture 101 - Digital Analytics - iProspect Canada
 
Adobe analytics presentation abhi boyanpalli sept 2013
Adobe analytics presentation   abhi boyanpalli sept 2013Adobe analytics presentation   abhi boyanpalli sept 2013
Adobe analytics presentation abhi boyanpalli sept 2013
 
Novel analytics for gas stations
Novel analytics for gas stationsNovel analytics for gas stations
Novel analytics for gas stations
 
Web analytics an intro
Web analytics   an introWeb analytics   an intro
Web analytics an intro
 

En vedette

A brief history of artificial intelligence for business
A brief history of artificial intelligence for businessA brief history of artificial intelligence for business
A brief history of artificial intelligence for businessJack C Crawford
 
Deep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceDeep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceLukas Masuch
 
Codefest 2016 - Go в Openprovider
Codefest 2016 - Go в OpenproviderCodefest 2016 - Go в Openprovider
Codefest 2016 - Go в OpenproviderIgor Dolzhikov
 
Go в автобусе
Go в автобусеGo в автобусе
Go в автобусеArtem Kovardin
 
Обзорная экскурсия по runit
Обзорная экскурсия по runitОбзорная экскурсия по runit
Обзорная экскурсия по runitAlexander Shcherbinin
 
Basic Understanding of the Deep
Basic Understanding of the DeepBasic Understanding of the Deep
Basic Understanding of the DeepMad Scientists
 
РИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнес
РИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнесРИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнес
РИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнесAnton Piskunov
 
Как ВКонтакте использует Go
Как ВКонтакте использует GoКак ВКонтакте использует Go
Как ВКонтакте использует GoArtem Kovardin
 
Reproducibility and automation of machine learning process
Reproducibility and automation of machine learning processReproducibility and automation of machine learning process
Reproducibility and automation of machine learning processDenis Dus
 
Dynamic Ruby. Lesson #1: Object model
Dynamic Ruby. Lesson #1: Object modelDynamic Ruby. Lesson #1: Object model
Dynamic Ruby. Lesson #1: Object modelAlex Mikitenko
 
Go meetup smotri+ 23.04.2015
Go meetup smotri+ 23.04.2015Go meetup smotri+ 23.04.2015
Go meetup smotri+ 23.04.2015Mikhail Salosin
 
BeeGo для веб приложений, API и демонов
BeeGo для веб приложений, API и демоновBeeGo для веб приложений, API и демонов
BeeGo для веб приложений, API и демоновAnton Piskunov
 
kranonit S15 Vladimir Melnik - Ruby on Rails, BDD
kranonit S15 Vladimir Melnik - Ruby on Rails, BDDkranonit S15 Vladimir Melnik - Ruby on Rails, BDD
kranonit S15 Vladimir Melnik - Ruby on Rails, BDDKrivoy Rog IT Community
 
Вторая лекция по основам ruby для студентов itc73.ru
Вторая лекция по основам ruby для студентов itc73.ruВторая лекция по основам ruby для студентов itc73.ru
Вторая лекция по основам ruby для студентов itc73.ruAlexander Shcherbinin
 
kranonitS20 Сергей Бурма. Django - легко, быстро, эффективно
kranonitS20 Сергей Бурма. Django - легко, быстро, эффективноkranonitS20 Сергей Бурма. Django - легко, быстро, эффективно
kranonitS20 Сергей Бурма. Django - легко, быстро, эффективноKrivoy Rog IT Community
 
Ruby: работа с массивами
Ruby: работа с массивамиRuby: работа с массивами
Ruby: работа с массивамиEvgeny Smirnov
 

En vedette (20)

A brief history of artificial intelligence for business
A brief history of artificial intelligence for businessA brief history of artificial intelligence for business
A brief history of artificial intelligence for business
 
Deep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceDeep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial Intelligence
 
Naive ML Overview
Naive ML OverviewNaive ML Overview
Naive ML Overview
 
Codefest 2016 - Go в Openprovider
Codefest 2016 - Go в OpenproviderCodefest 2016 - Go в Openprovider
Codefest 2016 - Go в Openprovider
 
Go в автобусе
Go в автобусеGo в автобусе
Go в автобусе
 
Обзорная экскурсия по runit
Обзорная экскурсия по runitОбзорная экскурсия по runit
Обзорная экскурсия по runit
 
Basic Understanding of the Deep
Basic Understanding of the DeepBasic Understanding of the Deep
Basic Understanding of the Deep
 
Golang
GolangGolang
Golang
 
РИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнес
РИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнесРИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнес
РИФ+КИБ 2016: как потратить почти 2 миллиона рублей и так и не сделать бизнес
 
Как ВКонтакте использует Go
Как ВКонтакте использует GoКак ВКонтакте использует Go
Как ВКонтакте использует Go
 
Reproducibility and automation of machine learning process
Reproducibility and automation of machine learning processReproducibility and automation of machine learning process
Reproducibility and automation of machine learning process
 
Dynamic Ruby. Lesson #1: Object model
Dynamic Ruby. Lesson #1: Object modelDynamic Ruby. Lesson #1: Object model
Dynamic Ruby. Lesson #1: Object model
 
Ruby строки
Ruby строкиRuby строки
Ruby строки
 
OOP в Go
OOP в GoOOP в Go
OOP в Go
 
Go meetup smotri+ 23.04.2015
Go meetup smotri+ 23.04.2015Go meetup smotri+ 23.04.2015
Go meetup smotri+ 23.04.2015
 
BeeGo для веб приложений, API и демонов
BeeGo для веб приложений, API и демоновBeeGo для веб приложений, API и демонов
BeeGo для веб приложений, API и демонов
 
kranonit S15 Vladimir Melnik - Ruby on Rails, BDD
kranonit S15 Vladimir Melnik - Ruby on Rails, BDDkranonit S15 Vladimir Melnik - Ruby on Rails, BDD
kranonit S15 Vladimir Melnik - Ruby on Rails, BDD
 
Вторая лекция по основам ruby для студентов itc73.ru
Вторая лекция по основам ruby для студентов itc73.ruВторая лекция по основам ruby для студентов itc73.ru
Вторая лекция по основам ruby для студентов itc73.ru
 
kranonitS20 Сергей Бурма. Django - легко, быстро, эффективно
kranonitS20 Сергей Бурма. Django - легко, быстро, эффективноkranonitS20 Сергей Бурма. Django - легко, быстро, эффективно
kranonitS20 Сергей Бурма. Django - легко, быстро, эффективно
 
Ruby: работа с массивами
Ruby: работа с массивамиRuby: работа с массивами
Ruby: работа с массивами
 

Similaire à Machine Learning in Magento 2

All you wanted to know about analytics in e commerce- amazon, ebay, flipkart
All you wanted to know about analytics in e commerce- amazon, ebay, flipkartAll you wanted to know about analytics in e commerce- amazon, ebay, flipkart
All you wanted to know about analytics in e commerce- amazon, ebay, flipkartAnju Gothwal
 
Demand forecasting case study
Demand forecasting case studyDemand forecasting case study
Demand forecasting case studyRupam Devnath
 
Datawarehouse Overview
Datawarehouse OverviewDatawarehouse Overview
Datawarehouse Overviewashok kumar
 
Contextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & ExperiencesContextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & ExperiencesJason Lobel
 
Spark Summit Keynote by Seshu Adunuthula
Spark Summit Keynote by Seshu AdunuthulaSpark Summit Keynote by Seshu Adunuthula
Spark Summit Keynote by Seshu AdunuthulaSpark Summit
 
Deep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For EcommerceDeep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For EcommerceDeep.BI
 
Hadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural PatternsHadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural PatternsDataWorks Summit
 
Real time machine learning
Real time machine learningReal time machine learning
Real time machine learningVinoth Kannan
 
Predictive Marketing Engine
Predictive Marketing EnginePredictive Marketing Engine
Predictive Marketing EngineKonversation
 
Solutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsSolutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsWSO2
 
Business Intelligence solution for Retail
Business Intelligence solution for RetailBusiness Intelligence solution for Retail
Business Intelligence solution for RetailHemang Rindani
 
Unlocking Operational Intelligence from the Data Lake
Unlocking Operational Intelligence from the Data LakeUnlocking Operational Intelligence from the Data Lake
Unlocking Operational Intelligence from the Data LakeMongoDB
 
Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016Arun Karthick Manoharan
 
A developer's introduction to big data processing with Azure Databricks
A developer's introduction to big data processing with Azure DatabricksA developer's introduction to big data processing with Azure Databricks
A developer's introduction to big data processing with Azure DatabricksMicrosoft Tech Community
 
sap hana|sap hana database| Introduction to sap hana
sap hana|sap hana database| Introduction to sap hanasap hana|sap hana database| Introduction to sap hana
sap hana|sap hana database| Introduction to sap hanaJames L. Lee
 
Ecommerce by bhawani nandan prasad
Ecommerce by bhawani nandan prasadEcommerce by bhawani nandan prasad
Ecommerce by bhawani nandan prasadBhawani N Prasad
 
Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...
Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...
Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...HostedbyConfluent
 
Boosting Personalization In SaaS Using Machine Learning.pdf
Boosting Personalization  In SaaS Using Machine Learning.pdfBoosting Personalization  In SaaS Using Machine Learning.pdf
Boosting Personalization In SaaS Using Machine Learning.pdfReza Rahimi
 
RedisConf17 - Redis Powers Next-gen Ambient Intelligence Platform
RedisConf17 - Redis Powers Next-gen Ambient Intelligence PlatformRedisConf17 - Redis Powers Next-gen Ambient Intelligence Platform
RedisConf17 - Redis Powers Next-gen Ambient Intelligence PlatformRedis Labs
 
How To Pick The Best Analytics Tool.pdf
How To Pick The Best Analytics Tool.pdfHow To Pick The Best Analytics Tool.pdf
How To Pick The Best Analytics Tool.pdfSatawaretechnologies1
 

Similaire à Machine Learning in Magento 2 (20)

All you wanted to know about analytics in e commerce- amazon, ebay, flipkart
All you wanted to know about analytics in e commerce- amazon, ebay, flipkartAll you wanted to know about analytics in e commerce- amazon, ebay, flipkart
All you wanted to know about analytics in e commerce- amazon, ebay, flipkart
 
Demand forecasting case study
Demand forecasting case studyDemand forecasting case study
Demand forecasting case study
 
Datawarehouse Overview
Datawarehouse OverviewDatawarehouse Overview
Datawarehouse Overview
 
Contextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & ExperiencesContextually Relevant Retail APIs for Dynamic Insights & Experiences
Contextually Relevant Retail APIs for Dynamic Insights & Experiences
 
Spark Summit Keynote by Seshu Adunuthula
Spark Summit Keynote by Seshu AdunuthulaSpark Summit Keynote by Seshu Adunuthula
Spark Summit Keynote by Seshu Adunuthula
 
Deep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For EcommerceDeep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
 
Hadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural PatternsHadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural Patterns
 
Real time machine learning
Real time machine learningReal time machine learning
Real time machine learning
 
Predictive Marketing Engine
Predictive Marketing EnginePredictive Marketing Engine
Predictive Marketing Engine
 
Solutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsSolutions Using WSO2 Analytics
Solutions Using WSO2 Analytics
 
Business Intelligence solution for Retail
Business Intelligence solution for RetailBusiness Intelligence solution for Retail
Business Intelligence solution for Retail
 
Unlocking Operational Intelligence from the Data Lake
Unlocking Operational Intelligence from the Data LakeUnlocking Operational Intelligence from the Data Lake
Unlocking Operational Intelligence from the Data Lake
 
Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016Apache Eagle Strata Hadoop World London 2016
Apache Eagle Strata Hadoop World London 2016
 
A developer's introduction to big data processing with Azure Databricks
A developer's introduction to big data processing with Azure DatabricksA developer's introduction to big data processing with Azure Databricks
A developer's introduction to big data processing with Azure Databricks
 
sap hana|sap hana database| Introduction to sap hana
sap hana|sap hana database| Introduction to sap hanasap hana|sap hana database| Introduction to sap hana
sap hana|sap hana database| Introduction to sap hana
 
Ecommerce by bhawani nandan prasad
Ecommerce by bhawani nandan prasadEcommerce by bhawani nandan prasad
Ecommerce by bhawani nandan prasad
 
Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...
Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...
Scalable E-Commerce Data Pipelines with Kafka: Real-Time Analytics, Batch, ML...
 
Boosting Personalization In SaaS Using Machine Learning.pdf
Boosting Personalization  In SaaS Using Machine Learning.pdfBoosting Personalization  In SaaS Using Machine Learning.pdf
Boosting Personalization In SaaS Using Machine Learning.pdf
 
RedisConf17 - Redis Powers Next-gen Ambient Intelligence Platform
RedisConf17 - Redis Powers Next-gen Ambient Intelligence PlatformRedisConf17 - Redis Powers Next-gen Ambient Intelligence Platform
RedisConf17 - Redis Powers Next-gen Ambient Intelligence Platform
 
How To Pick The Best Analytics Tool.pdf
How To Pick The Best Analytics Tool.pdfHow To Pick The Best Analytics Tool.pdf
How To Pick The Best Analytics Tool.pdf
 

Dernier

VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 

Dernier (20)

VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 

Machine Learning in Magento 2

  • 3. Customer retention  Recommendations during product choosing  Cross-sell during purchasing process  Realtime personal discounts  Personalized search results
  • 4. Customer returns  Predict following sales and offer the customer  Personalized discounts and hot-sales e-mails  Work with abandoned baskets  After-sale support by e-mail of phone
  • 5. Customer behavior analytics  Customers segmentation  Automatic clusterization  Searching for hidden behavior patterns  Signalizing about unusual customer activities
  • 6. Customer behavior prediction  Predict customer preferences  Predict unknown data about customer  Predict future purchases  Predict lost customers  Predict anything for what you can find correlations
  • 8. Convert visitors to HAPPY buyers 1. Analyze visitor 2. Predict visitor needs 3. Determine visitor behavior pattern 4. Inject into salesflow the most effective additional points of influence personalized for the visitor 5. Suggest exactly what the visitor wants 6. Make the visitor happy buyer 7. Thank him for the purchasing and suggest more
  • 9. HOW
  • 10. Magento 2.0 instance Data Sources Events flow Generate events ES Persist events to datastore 321 … Event consumers Machine Learning standalone service Data required for prediction models Consumer asks by SOAP for a prediction results Create sub-events Calls to API in order to ML decisions Communicates with visitors Realtime calls to ML service API to obtain predicted data Hadoop Spark ML Batch and realtime long-term history analysis, heavy reporting Customer activities, internal data changes Data Flow
  • 11. Data sources 1. Products catalog, inventory 2. Pages visit logs 3. Purchases, abandoned baskets 4. Ratings, reviews 5. External data sources like Twitter, Amazon, public datasets, etc. 6. Timeseries with • history of changes of product’s prices • customers activity log
  • 12. Events FLOW 1. Common event bus using RabbitMQ for small customers and Apache Kafka for a large 2. It’s a horizontal highly scalable solution 3. All data inside events should get to the persistent datastore according to consumers rules 4. After that consumers may trigger sub-event for the ML algorithms that depends on changed data 5. If ML algorithm should call some API method in Magento (for example add customer to a new segment), it would publish event for the appropriate consumer 6. On each step we have the opportunity to integrate any external systems into our process flow through the event bus
  • 13. Persistent datastore 1. Datastore should have three levels I. In-memory datastore to cache operational data for realtime queries II. Operational datastore to persists all appropriate data for machine learning algorithms III. Analytical datastore for all historical data which will be used for a heavy reporting and deep ML analysis 2. Due to the probabilistic nature of the ML algorithm, in datastore architecture we can sacrifice Consistency of CAP theory and guarantee Availability and Partition tolerance 3. On the first step of discussing I propose to use Redis(VoltDB, Aerospike, Tarantool), ElasticSearch(Solr, MySQL, HBase) and Hadoop
  • 14. Machine learning service 1. Will be implemented as standalone service 2. Binary/SOAP/REST protocols using HTTP/TCP transport layer 3. Direct read-only access to all data sources 4. ACL checks should be implemented on clients 5. Horizontally scalable nothing-shared architecture 6. Calculated models will be synced using binary protocol without master-node (Zookeeper) 7. Each node has its own memory pool to store internal datasets for calculations
  • 15. Hadoop + Spark  Should be implemented only for extremely large stores  Hadoop is a very slow datastore  But Hadoop and Spark together allow us to use machine learning algorithms in near-realtime and distributed manner  Using event bus we can write all the data to Hadoop and run ML tasks on unlimited volumes of data:  Reporting  Batch clustering  Searching for patterns and outliers
  • 17. Realtime Recommendations  Using all historical data about user’s activity and internal datasources we can predict customer needs  User activities:  Page views log with duration of an each page view  Visitor returns  Registrations  Ratings and reviews  Purchases  Abandoned shopping cart  Internal datasources  Product’s prices with changes  Discounts  Customer segments
  • 18. Personal discounts  Create behavior patterns and detect cases when merchant should give a personal discount to customer on a particular product  Discounts will be shown to customer in realtime during catalog browsing  If customer didn’t purchase discounted product, algorithm should take this into consideration in further work with this customer
  • 19. Personalized product catalog  Besides product recommendations ML algorithms can determine customer’s preferences and generate product catalog page according to them  Product’s list may naturally include starred products from predicted list  Another way is sorting list by “the best choice”