38

Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?
Page 2: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

machine learning Magento

&

Page 3: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

About me

Page 4: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Dhruv Boruah

Co Founder, Reckless.io

Page 5: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Agenda

Page 6: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Agenda

• Your KPIs

• Session Goal

• Interesting Magento Data

• Magento Case

• Tools/How?

• Demo

• Q&A

Page 7: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Your KPIs

• Are you asking the right questions?

• How much do you know about your customers?

• AOV/LTV/GPM • Sales/Returns/Shipping • Churn Rate • Abandonment Rate • …

External Factors • Weather/ Forex/

Holiday/Newsletters • Census (birth/death/age) • …

Page 8: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Machine Learning

A branch of artificial intelligence, concerns the construction and study of systems that

can learn from data.

Source: http://en.wikipedia.org/wiki/Machine_learning

Page 9: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Session Goal

Page 10: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

How to predict customer behavior

using machine learning?

Page 11: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Interesting Magento Data

Page 12: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

1. log_visitor_online (visitor_id, type, ip, customer_id, last_url )

2. log_visitor (visitor_id, session_id, first & last visit, last_url, store)

Page 13: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

3. Viewed product (visitor_id, customer_id, product_id, store)

4. Aggregated viewed products(view_num, price, name, store)

Page 14: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

5. Quote tables

Page 15: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Magento Case

Page 16: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Case

“Retailer A” trades in:

Clothing/ Toys/Shoes/Home etc.

Goal: – Predict “checkout intent” of online customers

– Deliver personalize promotion to prevent cart abandonment

Page 17: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Tools

Page 18: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?
Page 19: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

How?

Page 20: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

How?

Listens for events Does delta sync Processes responses

Magento Extension

Scalable Infrastructure

Slave Database NoSQL Google/Amazon

Page 21: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

How?

YES/NO

• Slave Database

• Flatten Magento Tables

• NoSql database

Data Warehouse

• Transaction History

• Merchandising

• Operational

• Marketing

Modeling • Preparation

• Training

• Predict

Predict

Page 22: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Training Model

Successful Checkouts

Created date/time Remote IP Base subtotal Items Customer is guest Category Location …

Training Model

Unsuccessful Checkouts

Page 23: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Demo

Page 25: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Thank you

Page 26: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?
Page 27: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?
Page 28: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Actions/Common Patterns Products in stock but not enabled in website Products viewed by customer but not in stock Product is selling like hot cake, do we switch off PPC? Products enabled and in stock, but not assigned to any

category/website Potentially detect SEO issues, checking url-key of products Featured products not being viewed by customers,

something wrong, not interesting? Products with potentially missing data: Images, price,

weight (free shipping depending on magento config), VAT 404 pages

Page 29: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Sales Forecast

Page 30: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Other tools

Page 31: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Other Tables

Page 32: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Technology Stack

Django/ Python

AngularJS, D3

PHP5

MySQL/ MongoDB

Google BigQuery/ Dremel

Yhathq/ R-project/ Google Prediction API/ Predictions.io

Page 33: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Possible use cases Inbound and outbound logistics optimization Fraud detection and prevention Pricing Supply and demand analysis and forecast Various scheduling and optimal resource allocation Merchandising (this item goes with this item) Recommendation (you may like ...) Context analysis Cross-Selling and Upselling - If people who buy X, do they buy Y? If so,

how do these things drive my marketing campaigns? Understanding Individual Customers - What does a path way of a singular

customer look like? How can I improve their web experience and retain them even longer?

Page 34: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?

Merchandising

Stock Report

Sales Report

Sell-Through Report

Coupon Usage Analysis

Refunds

Shipping Reports

Product Shipping Costs per department etc.

Order shipping costs

Guest order in the last 7 days, not previously placed a guest order

Search Keywords Customers Top Customers by brand Top customers by region Customers who bought X Guest Customers Cohort Analysis Customer created date Customer first order Customer order count

Page 35: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?
Page 36: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?
Page 37: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?
Page 38: Magento machine learninginfo2.magento.com/rs/magentoenterprise/images/Predicting...Your KPIs • Are you asking the right questions? • How much do you know about your customers?