SlideShare ist ein Scribd-Unternehmen logo
1 von 59
Downloaden Sie, um offline zu lesen
Using AI for Ecommerce Analytics
Toronto June 24th 2019
Alex Galea
Senior Data Analyst | Ayima
● Full stack data analytics
● Author of Beginning Data Science with Python and
Jupyter
● M.Sc. Physics
● Leafs fan
What is AI?
“Artificial
Intelligence”
technologies
essentially
boil down to
one thing:
Making Predictions
What is AI?
Virtual assistant
Self-driving cars
Recommendation engines
Digital advertising
Predict answers to questions
Predict how to steer a car
Predict what things to show users
Predict what people see your ad
Artificial Intelligence: Hype VS Reality
“Artificial intelligence is not that artificial; it’s human beings
that are doing the work”
- Anonymous Google employee [source]
Artificial Intelligence: Hype VS Reality
Artificial Intelligence: Hype VS Reality
Hype:
● “100% REAL ARTIFICIAL
INTELLIGENCE”
● “JUST CONNECT, AUTOMATE
AND INCREASE CONVERSIONS
BY 100%!”
● “SIT BACK AND RELAX WHILE
THE MAGIC WORKS”
● “AI technologies free up human
brain power and intellect”
Artificial Intelligence: Hype VS Reality
Reality:
● Even the best AI solutions are
highly specialized and limited
● No guaranteed wins. Each case is
different.
● Black box technologies make it
easy to build bad models.
● AI models rely on domain
expertise.
Artificial Intelligence: Hype VS Reality
AI Applications in Digital Marketing
Provide insights to help determine:
● Product
● Promotion
● Price
● Place
Example: a promotional email
● What products to include?
● What is the price?
● How many emails to send? Who are they sent to?
Top Areas of Impact
1. Matching customers to products
- Showing ads & promotions to the right people
- Good product recommendations
2. Determining offerings
- Product price points
- What products / bundles to sell
- Timing promotions
3. Optimizing UX and content
- Personalized experiences
- Webpage / blog topics & keywords
Today’s Topics
1. Matching customers to products
- Showing ads & promotions to the right people
- Good product recommendations
2. Determining offerings
- Product price points
- What products / bundles to sell
- Timing promotions
3. Optimizing UX and content
- Personalized experiences
- Webpage / blog topics & keywords
Outline
● Google Merchandise Store
● Sales Forecasting
● What’s in your customers shopping carts?
● What are your customers searching for?
Exploring the
Google Merch Store
● We explore these data modeling
topics using Google Merch Store
analytics data
● GA sample data from 2016-2017 is
available on BigQuery [1]
● Analysis in the following slides
can be applied to your website,
but the story will be different.
https://shop.googlemerchandisestore.com
[1] https://support.google.com/analytics/answer/7586738?hl=en
● Google Merch Store Data Mining
https://github.com/Ayima/google-merch-data-mining
http://ayi.ma/s6u0y
● Onsite Search API Data Extraction & Modeling
https://github.com/Ayima/onsite-search-data-mining
http://ayi.ma/gkbt8
Everything you see Today is
Available on our GitHub
Sales Forecasting
● Plan for the future
- Data driven motivation for big-picture marketing efforts
● Compare sales expectation to actual
- Justify marketing spend
- Be accountable for wins and losses
● Product forecasts
- Inform when and which products to promote
● Anomaly detection
- Identify and fix issues fast
Open Source Approach to Forecasting
Forecast
● Modeling daily sales
data, to forecast
revenue in
upcoming quarters
● Facebook’s open
source Python/R
library Prophet
● Alternatives:
- PowerBI
- Tableau
- Excel (ARIMA)
Quantify Expectations
Forecast
● What do we expect, based on
momentum and trends from prior
years?
Justify Marketing Spend
● How did actual sales compare with the prediction?
● Especially helpful when during downtrends, when forecast
YoY is negative
Use Segments to Narrow Your Focus
Device Traffic Source Region
● Forecast on a per-segment basis to inform marketing plan & assess outcomes
- e.g. Forecast mobile + homepage to compare cell phone UX upgrade with expected
performance
● Fine tune forecasts by removing segments
- e.g. Remove previous campaign traffic to show “clean slate”
Data Driven Product Strategies
Men’s Zip Hoodie
Google Sunglasses
Forecast peak / minimum
demand
● 💡 Time paid advertising
campaigns on a per-product basis
(can be automated)
Data Driven Product Strategies
Men’s Zip Hoodie
Google Sunglasses
Understand long-term trends
● Useful for product design teams
● Attempt to correct trends with new
marketing angles (“fresh coat of paint”)
Data Driven Product Strategies
Men’s Zip Hoodie
Google Sunglasses
Quantify expectations
Sales Forecasting
● Forecasts are a highly applicable use case for AI in marketing
● By using open source, your forecasts can be:
- Automated & integrated with other processes
- Customizable
- Free
- 100% owned by your company
What’s in your customers shopping carts?
● Identify similar products
- Use knowledge of prior purchases for targeted marketing campaigns
- Identify promotional bundle opportunities
- Implement / audit realtime recommendation engine
- Inform UX design
Obvious Patterns = Quick Wins: Buying in Bulk
● People prefer to buy in
multiples of 5...
● 💡 Offer bulk discount rates?
Obvious Patterns = Quick Wins: Paired for Success
Top product pairs in transactions:
Men’s and Women’s Hoodies
➔ 💡 Link to other gender pair
item on PDPs?
Obvious Patterns = Quick Wins: Paired for Success
Top product pairs in transactions:
Youtube Products
➔ 💡 Offer discounted bundles of
YouTube items?
Obvious Patterns = Quick Wins: Associative Heatmap
More
frequently
bought
together
(colorbar)
Popular product
combinations:
Stickers
➔ 💡 Make stickers
available as
add-on item?
Mix and Match
Popular Google
Sunglasses colour
combinations:
More
frequently
bought
together
(colorbar)
Red +
Blue
● 77% of red
orders have
blue
● 60% of blue
orders have red
Association Rule Pattern Mining
Association Rule Pattern Mining
Association rules
Association Rule Pattern Mining
How many times is the rule observed?
Association Rule Pattern Mining
How often does the rule hold true?
Association Rule Pattern Mining
Is the confidence trending up or down?
Confidence trending up!
Rule: 15 oz Mug + Sticker Sheet Laptop and Cell Phone Stickers
Confidence trending up!
Rule: 15 oz Mug + Sticker Sheet Laptop and Cell Phone Stickers
A transaction
broke the rule
:(
Confidence trending up!
Rule: 15 oz Mug + Sticker Sheet Laptop and Cell Phone Stickers
What’s in your customers shopping carts?
● Basic transaction patterns can be inspiration for
promotions (add ons, bundles, etc…)
● Algorithmic pattern mining finds more
complicated patterns
- Can be fully autonomous:
- Given shopping cart X, what items to
recommend?
- Constantly update rules based on
customer behaviour
● Looking at onsite search data
● Understand customer point of view
- Are there navigation pain points?
- Should you think about stocking new products?
● Identify and track trends to inform marketing efforts
- Time promotions with periodic peak interest
- Look at overall trends. Are these specific to your website or global?
- Build content for upwards trending topics (+ SEO keywords 📈)
What are your customers searching for?
Onsite Search Dataset
● Google Merch Store onsite search
is not publically available
● We extracted onsite search data
from GA for a top European
fashion retailer
● Full source code for data
extraction via GA API with Python
is available on our GitHub [1]
[1] https://github.com/Ayima/onsite-search-data-mining
Understanding your Customer: Right Brain Thinking
● Word clouds
offer a visually
stimulating way
to interpret
information
● Appealing to
“right brain”
● SEO keyword
research + blog
topic inspiration
Understanding your Customer: Right Brain Thinking
Onsite Search - Summer
Understanding your Customer: Right Brain Thinking
Onsite Search - Winter
Word clouds kind of suck though...
● No context, hard to read, very
little data, etc…
● Better strategy: model and
visualize topics
Natural Language Processing (NLP)
1. “Supervised” approach:
a. Manually bucket sample of
search terms into topics
b. Train model
c. Apply to full dataset
2. “Unsupervised” approach:
a. Train model to automatically
group related words from search
terms into topic groups
b. Apply to full dataset
1. “Supervised” approach:
a. Manually bucket sample of
search terms into topics
b. Train model
c. Apply to full dataset
2. “Unsupervised” approach:
a. Train model to automatically
cluster related words from search
terms into topic groups
b. Apply to full dataset
We’ll use Latent Dirichlet Allocation (LDA)
Natural Language Processing (NLP)
Brain Power Required
● Without “domain knowledge”,
the model outputs are useless...
● Iterative process:
a. Review clusters by eye
b. Adjust model parameters
and/or training data
c. Retrain model
● Once happy with results,
manually add topic labels
Let there be Topics!
● Map labelled topic model
back onto source data
(onsite searches)
Look for trends 🔎 “Dresses” and “Exotic Styles” most
popular in the summer
Look for trends 🔎
Jeans on the other hand...
Paint a Clear Picture with Forecasting
Paint a Clear Picture with Forecasting
● Seasonal trend
projections for
coming year(s)
Paint a Clear Picture with Forecasting
● Long term trends
up or down
Look for Opportunities or Diagnose Issues
with Google Trends
● Google trends data* is good
reference for how your
users “should” behave
* CSV tables available online or via unofficial APIs
Hmm, we would expect more
searches for “long sleeve tops” in
the Fall …
● Onsite search provides a rich dataset where AI techniques can be applied to
help understand your customers and inform marketing decisions
- Keyword research & content inspiration
- Topic discovery
- Trending topic analysis
What are your customers searching for?
● We looked at an assortment of general AI topics
- Note: AI excels at solving specific problems
● Sales forecasting
- Using open-source tools to customize,
automate and own your forecasts
● What’s in your customers shopping carts?
- Generating product recommendations
- Identifying products & bundles to promote
● What are your customers searching for?
- Timing promotions
- Topic discovery & trend analysis
Summary
Everything you saw Today is
Available on our GitHub
Thank you to the open-source Python development
community for building the tools I use! 👏
● Google Merch Store Data Mining
https://github.com/Ayima/google-merch-data-mining
http://ayi.ma/s6u0y
● Onsite Search API Data Extraction & Modeling
https://github.com/Ayima/onsite-search-data-mining
http://ayi.ma/gkbt8
Thank you for your time!

Weitere ähnliche Inhalte

Ähnlich wie Using AI for Ecommerce Analytics

AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...
AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...
AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...Webspec Design
 
Machine Learning - Startup weekend UCSB 2018
Machine Learning - Startup weekend UCSB 2018Machine Learning - Startup weekend UCSB 2018
Machine Learning - Startup weekend UCSB 2018Raul Eulogio
 
Intro to Google Analytics
Intro to Google AnalyticsIntro to Google Analytics
Intro to Google AnalyticsGeorgiaPinner
 
Growth marketing
Growth marketingGrowth marketing
Growth marketingOnur Polat
 
Lessons learnt from applying PyData to GetYourGuide marketing
Lessons learnt from applying PyData to GetYourGuide marketingLessons learnt from applying PyData to GetYourGuide marketing
Lessons learnt from applying PyData to GetYourGuide marketingJose Luis Lopez Pino
 
Adwords Implementation
Adwords ImplementationAdwords Implementation
Adwords Implementationtgr3gory
 
Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...
Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...
Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...DATAVERSITY
 
Internet Summit 2014 - Windsor Circle Summary
Internet Summit 2014 - Windsor Circle SummaryInternet Summit 2014 - Windsor Circle Summary
Internet Summit 2014 - Windsor Circle SummaryWhatConts
 
American Marketing Assocation 2021 Marketing Week - Clark Boyd Keynote
American Marketing Assocation 2021 Marketing Week - Clark Boyd KeynoteAmerican Marketing Assocation 2021 Marketing Week - Clark Boyd Keynote
American Marketing Assocation 2021 Marketing Week - Clark Boyd KeynoteClark Boyd
 
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016MLconf
 
2023-04-11-who-ai-win-fbg.pdf
2023-04-11-who-ai-win-fbg.pdf2023-04-11-who-ai-win-fbg.pdf
2023-04-11-who-ai-win-fbg.pdfJonti Bolles
 
Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...
Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...
Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...Clark Boyd
 
Prospecting into New Revenue-Generating Audiences for Your Brand
Prospecting into New Revenue-Generating Audiences for Your BrandProspecting into New Revenue-Generating Audiences for Your Brand
Prospecting into New Revenue-Generating Audiences for Your BrandTinuiti
 
Digital marketing idea ppt
Digital marketing idea pptDigital marketing idea ppt
Digital marketing idea pptNeetuChaubey
 
Using Data To Inform Product Decisions - Cape Town, 26 March '15
Using Data To Inform Product Decisions - Cape Town, 26 March '15Using Data To Inform Product Decisions - Cape Town, 26 March '15
Using Data To Inform Product Decisions - Cape Town, 26 March '15Marc Abraham
 
SEO - What is it?
SEO - What is it?SEO - What is it?
SEO - What is it?Woj Kwasi
 
Digitalni trendi za 2023_Alastair Banks.pptx
Digitalni trendi za 2023_Alastair Banks.pptxDigitalni trendi za 2023_Alastair Banks.pptx
Digitalni trendi za 2023_Alastair Banks.pptxDIGGIT
 
SearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of Shopping
SearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of ShoppingSearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of Shopping
SearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of ShoppingBranded3
 

Ähnlich wie Using AI for Ecommerce Analytics (20)

AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...
AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...
AMA Experience 2016: Google & Your Business: Planning for Today, Tomorrow and...
 
Optimizing Your SEO
Optimizing Your SEOOptimizing Your SEO
Optimizing Your SEO
 
Machine Learning - Startup weekend UCSB 2018
Machine Learning - Startup weekend UCSB 2018Machine Learning - Startup weekend UCSB 2018
Machine Learning - Startup weekend UCSB 2018
 
Intro to Google Analytics
Intro to Google AnalyticsIntro to Google Analytics
Intro to Google Analytics
 
Growth marketing
Growth marketingGrowth marketing
Growth marketing
 
Lessons learnt from applying PyData to GetYourGuide marketing
Lessons learnt from applying PyData to GetYourGuide marketingLessons learnt from applying PyData to GetYourGuide marketing
Lessons learnt from applying PyData to GetYourGuide marketing
 
Adwords Implementation
Adwords ImplementationAdwords Implementation
Adwords Implementation
 
Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...
Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...
Data Architecture Strategies: Artificial Intelligence - Real-World Applicatio...
 
AI in Retail
AI in RetailAI in Retail
AI in Retail
 
Internet Summit 2014 - Windsor Circle Summary
Internet Summit 2014 - Windsor Circle SummaryInternet Summit 2014 - Windsor Circle Summary
Internet Summit 2014 - Windsor Circle Summary
 
American Marketing Assocation 2021 Marketing Week - Clark Boyd Keynote
American Marketing Assocation 2021 Marketing Week - Clark Boyd KeynoteAmerican Marketing Assocation 2021 Marketing Week - Clark Boyd Keynote
American Marketing Assocation 2021 Marketing Week - Clark Boyd Keynote
 
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
Elena Grewal, Data Science Manager, Airbnb at MLconf SF 2016
 
2023-04-11-who-ai-win-fbg.pdf
2023-04-11-who-ai-win-fbg.pdf2023-04-11-who-ai-win-fbg.pdf
2023-04-11-who-ai-win-fbg.pdf
 
Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...
Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...
Your smarter data analytics strategy - Social Media Strategies Summit (SMSS) ...
 
Prospecting into New Revenue-Generating Audiences for Your Brand
Prospecting into New Revenue-Generating Audiences for Your BrandProspecting into New Revenue-Generating Audiences for Your Brand
Prospecting into New Revenue-Generating Audiences for Your Brand
 
Digital marketing idea ppt
Digital marketing idea pptDigital marketing idea ppt
Digital marketing idea ppt
 
Using Data To Inform Product Decisions - Cape Town, 26 March '15
Using Data To Inform Product Decisions - Cape Town, 26 March '15Using Data To Inform Product Decisions - Cape Town, 26 March '15
Using Data To Inform Product Decisions - Cape Town, 26 March '15
 
SEO - What is it?
SEO - What is it?SEO - What is it?
SEO - What is it?
 
Digitalni trendi za 2023_Alastair Banks.pptx
Digitalni trendi za 2023_Alastair Banks.pptxDigitalni trendi za 2023_Alastair Banks.pptx
Digitalni trendi za 2023_Alastair Banks.pptx
 
SearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of Shopping
SearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of ShoppingSearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of Shopping
SearchLeeds 2018 - Elizabeth Clark - Dream Agility - The future of Shopping
 

Kürzlich hochgeladen

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
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
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
 
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
 
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
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
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
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
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
 
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
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 

Kürzlich hochgeladen (20)

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
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
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...
 
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
 
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
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .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
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
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
 
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...
 
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
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 

Using AI for Ecommerce Analytics

  • 1. Using AI for Ecommerce Analytics Toronto June 24th 2019
  • 2. Alex Galea Senior Data Analyst | Ayima ● Full stack data analytics ● Author of Beginning Data Science with Python and Jupyter ● M.Sc. Physics ● Leafs fan
  • 4. What is AI? Virtual assistant Self-driving cars Recommendation engines Digital advertising Predict answers to questions Predict how to steer a car Predict what things to show users Predict what people see your ad
  • 6. “Artificial intelligence is not that artificial; it’s human beings that are doing the work” - Anonymous Google employee [source] Artificial Intelligence: Hype VS Reality
  • 8. Hype: ● “100% REAL ARTIFICIAL INTELLIGENCE” ● “JUST CONNECT, AUTOMATE AND INCREASE CONVERSIONS BY 100%!” ● “SIT BACK AND RELAX WHILE THE MAGIC WORKS” ● “AI technologies free up human brain power and intellect” Artificial Intelligence: Hype VS Reality
  • 9. Reality: ● Even the best AI solutions are highly specialized and limited ● No guaranteed wins. Each case is different. ● Black box technologies make it easy to build bad models. ● AI models rely on domain expertise. Artificial Intelligence: Hype VS Reality
  • 10. AI Applications in Digital Marketing Provide insights to help determine: ● Product ● Promotion ● Price ● Place Example: a promotional email ● What products to include? ● What is the price? ● How many emails to send? Who are they sent to?
  • 11. Top Areas of Impact 1. Matching customers to products - Showing ads & promotions to the right people - Good product recommendations 2. Determining offerings - Product price points - What products / bundles to sell - Timing promotions 3. Optimizing UX and content - Personalized experiences - Webpage / blog topics & keywords
  • 12. Today’s Topics 1. Matching customers to products - Showing ads & promotions to the right people - Good product recommendations 2. Determining offerings - Product price points - What products / bundles to sell - Timing promotions 3. Optimizing UX and content - Personalized experiences - Webpage / blog topics & keywords
  • 13. Outline ● Google Merchandise Store ● Sales Forecasting ● What’s in your customers shopping carts? ● What are your customers searching for?
  • 14. Exploring the Google Merch Store ● We explore these data modeling topics using Google Merch Store analytics data ● GA sample data from 2016-2017 is available on BigQuery [1] ● Analysis in the following slides can be applied to your website, but the story will be different. https://shop.googlemerchandisestore.com [1] https://support.google.com/analytics/answer/7586738?hl=en
  • 15. ● Google Merch Store Data Mining https://github.com/Ayima/google-merch-data-mining http://ayi.ma/s6u0y ● Onsite Search API Data Extraction & Modeling https://github.com/Ayima/onsite-search-data-mining http://ayi.ma/gkbt8 Everything you see Today is Available on our GitHub
  • 16. Sales Forecasting ● Plan for the future - Data driven motivation for big-picture marketing efforts ● Compare sales expectation to actual - Justify marketing spend - Be accountable for wins and losses ● Product forecasts - Inform when and which products to promote ● Anomaly detection - Identify and fix issues fast
  • 17. Open Source Approach to Forecasting Forecast ● Modeling daily sales data, to forecast revenue in upcoming quarters ● Facebook’s open source Python/R library Prophet ● Alternatives: - PowerBI - Tableau - Excel (ARIMA)
  • 18. Quantify Expectations Forecast ● What do we expect, based on momentum and trends from prior years?
  • 19. Justify Marketing Spend ● How did actual sales compare with the prediction? ● Especially helpful when during downtrends, when forecast YoY is negative
  • 20. Use Segments to Narrow Your Focus Device Traffic Source Region ● Forecast on a per-segment basis to inform marketing plan & assess outcomes - e.g. Forecast mobile + homepage to compare cell phone UX upgrade with expected performance ● Fine tune forecasts by removing segments - e.g. Remove previous campaign traffic to show “clean slate”
  • 21. Data Driven Product Strategies Men’s Zip Hoodie Google Sunglasses Forecast peak / minimum demand ● 💡 Time paid advertising campaigns on a per-product basis (can be automated)
  • 22. Data Driven Product Strategies Men’s Zip Hoodie Google Sunglasses Understand long-term trends ● Useful for product design teams ● Attempt to correct trends with new marketing angles (“fresh coat of paint”)
  • 23. Data Driven Product Strategies Men’s Zip Hoodie Google Sunglasses Quantify expectations
  • 24. Sales Forecasting ● Forecasts are a highly applicable use case for AI in marketing ● By using open source, your forecasts can be: - Automated & integrated with other processes - Customizable - Free - 100% owned by your company
  • 25. What’s in your customers shopping carts? ● Identify similar products - Use knowledge of prior purchases for targeted marketing campaigns - Identify promotional bundle opportunities - Implement / audit realtime recommendation engine - Inform UX design
  • 26. Obvious Patterns = Quick Wins: Buying in Bulk ● People prefer to buy in multiples of 5... ● 💡 Offer bulk discount rates?
  • 27. Obvious Patterns = Quick Wins: Paired for Success Top product pairs in transactions: Men’s and Women’s Hoodies ➔ 💡 Link to other gender pair item on PDPs?
  • 28. Obvious Patterns = Quick Wins: Paired for Success Top product pairs in transactions: Youtube Products ➔ 💡 Offer discounted bundles of YouTube items?
  • 29. Obvious Patterns = Quick Wins: Associative Heatmap More frequently bought together (colorbar) Popular product combinations: Stickers ➔ 💡 Make stickers available as add-on item?
  • 30. Mix and Match Popular Google Sunglasses colour combinations: More frequently bought together (colorbar) Red + Blue ● 77% of red orders have blue ● 60% of blue orders have red
  • 32. Association Rule Pattern Mining Association rules
  • 33. Association Rule Pattern Mining How many times is the rule observed?
  • 34. Association Rule Pattern Mining How often does the rule hold true?
  • 35. Association Rule Pattern Mining Is the confidence trending up or down?
  • 36. Confidence trending up! Rule: 15 oz Mug + Sticker Sheet Laptop and Cell Phone Stickers
  • 37. Confidence trending up! Rule: 15 oz Mug + Sticker Sheet Laptop and Cell Phone Stickers A transaction broke the rule :(
  • 38. Confidence trending up! Rule: 15 oz Mug + Sticker Sheet Laptop and Cell Phone Stickers
  • 39. What’s in your customers shopping carts? ● Basic transaction patterns can be inspiration for promotions (add ons, bundles, etc…) ● Algorithmic pattern mining finds more complicated patterns - Can be fully autonomous: - Given shopping cart X, what items to recommend? - Constantly update rules based on customer behaviour
  • 40. ● Looking at onsite search data ● Understand customer point of view - Are there navigation pain points? - Should you think about stocking new products? ● Identify and track trends to inform marketing efforts - Time promotions with periodic peak interest - Look at overall trends. Are these specific to your website or global? - Build content for upwards trending topics (+ SEO keywords 📈) What are your customers searching for?
  • 41. Onsite Search Dataset ● Google Merch Store onsite search is not publically available ● We extracted onsite search data from GA for a top European fashion retailer ● Full source code for data extraction via GA API with Python is available on our GitHub [1] [1] https://github.com/Ayima/onsite-search-data-mining
  • 42. Understanding your Customer: Right Brain Thinking ● Word clouds offer a visually stimulating way to interpret information ● Appealing to “right brain” ● SEO keyword research + blog topic inspiration
  • 43. Understanding your Customer: Right Brain Thinking Onsite Search - Summer
  • 44. Understanding your Customer: Right Brain Thinking Onsite Search - Winter
  • 45. Word clouds kind of suck though... ● No context, hard to read, very little data, etc… ● Better strategy: model and visualize topics
  • 46. Natural Language Processing (NLP) 1. “Supervised” approach: a. Manually bucket sample of search terms into topics b. Train model c. Apply to full dataset 2. “Unsupervised” approach: a. Train model to automatically group related words from search terms into topic groups b. Apply to full dataset
  • 47. 1. “Supervised” approach: a. Manually bucket sample of search terms into topics b. Train model c. Apply to full dataset 2. “Unsupervised” approach: a. Train model to automatically cluster related words from search terms into topic groups b. Apply to full dataset We’ll use Latent Dirichlet Allocation (LDA) Natural Language Processing (NLP)
  • 48. Brain Power Required ● Without “domain knowledge”, the model outputs are useless... ● Iterative process: a. Review clusters by eye b. Adjust model parameters and/or training data c. Retrain model ● Once happy with results, manually add topic labels
  • 49. Let there be Topics! ● Map labelled topic model back onto source data (onsite searches)
  • 50. Look for trends 🔎 “Dresses” and “Exotic Styles” most popular in the summer
  • 51. Look for trends 🔎 Jeans on the other hand...
  • 52. Paint a Clear Picture with Forecasting
  • 53. Paint a Clear Picture with Forecasting ● Seasonal trend projections for coming year(s)
  • 54. Paint a Clear Picture with Forecasting ● Long term trends up or down
  • 55. Look for Opportunities or Diagnose Issues with Google Trends ● Google trends data* is good reference for how your users “should” behave * CSV tables available online or via unofficial APIs Hmm, we would expect more searches for “long sleeve tops” in the Fall …
  • 56. ● Onsite search provides a rich dataset where AI techniques can be applied to help understand your customers and inform marketing decisions - Keyword research & content inspiration - Topic discovery - Trending topic analysis What are your customers searching for?
  • 57. ● We looked at an assortment of general AI topics - Note: AI excels at solving specific problems ● Sales forecasting - Using open-source tools to customize, automate and own your forecasts ● What’s in your customers shopping carts? - Generating product recommendations - Identifying products & bundles to promote ● What are your customers searching for? - Timing promotions - Topic discovery & trend analysis Summary
  • 58. Everything you saw Today is Available on our GitHub Thank you to the open-source Python development community for building the tools I use! 👏 ● Google Merch Store Data Mining https://github.com/Ayima/google-merch-data-mining http://ayi.ma/s6u0y ● Onsite Search API Data Extraction & Modeling https://github.com/Ayima/onsite-search-data-mining http://ayi.ma/gkbt8
  • 59. Thank you for your time!