Anda di halaman 1dari 13

Machine Learning in the

Elastic Stack

Dr Stephen Dodson, Tech Lead, Machine Learning


Sophie Chang, Team Lead, Machine Learning
Predict

Learn Operationalise

Expected value @ 15:05 = 1859


The Anatomy of
Machine Learning

4
Production architecture

Job
- bucket span
- function

Datafeed
- search

5
Smart job placement

ML node 1 ML node 2 ML node 3

6
Machine Learning
Demo

7
Multidimensional Outlier Detection
Online Retail Data

InvoiceN StockCod Quantit UnitPric CustomerI


Description InvoiceDate Country
o e y e D
YELLOW COAT RACK PARIS
536368 22912 3 01/12/10 08:34 4.95 13047 United Kingdom
FASHION
BLUE COAT RACK PARIS
536368 22914 3 01/12/10 08:34 4.95 13047 United Kingdom
FASHION
536369 21756 BATH BUILDING BLOCK WORD 3 01/12/10 08:35 5.95 13047 United Kingdom
536370 22728 ALARM CLOCK BAKELIKE PINK 24 01/12/10 08:45 3.75 12583 France
536370 22727 ALARM CLOCK BAKELIKE RED 24 01/12/10 08:45 3.75 12583 France
• Identify unusual customers
ALARMe.g.
CLOCK BAKELIKE
536370 22726 12 01/12/10 08:45 3.75 12583 France
GREEN
• Big spenders (large volumes of high price items)
PANDA AND BUNNIES STICKER
536370 21724 (large volumes of diverse items)
• Wholesalers 12 01/12/10 08:45 0.85 12583 France
SHEET
• etc.
• Segment products according to characteristics e.g.
• Most popular products by country and time of day
• Least popular products

8
Multidimensional Outlier Detection
Create Feature Vector
InvoiceN StockCo Quantit UnitPric CustomerI
Description InvoiceDate Country
o de y e D
YELLOW COAT RACK PARIS 01/12/10 United
536368 22912 3 4.95 13047
FASHION 08:34 Kingdom
BLUE COAT RACK PARIS 01/12/10 United
536368 22914 3 4.95 13047
FASHION 08:34 Kingdom
01/12/10 United
536369 21756 BATH BUILDING BLOCK WORD 3 5.95 13047
08:35 Kingdom
01/12/10
536370 22728 ALARM CLOCK BAKELIKE PINK 24 3.75 12583 France
08:45
01/12/10
536370 22727 ALARM CLOCK BAKELIKE RED 24 3.75 12583 France
08:45
ALARM CLOCK BAKELIKE 01/12/10
536370 22726 12 3.75 12583 France
GREEN 08:45
PANDA AND BUNNIES STICKER 01/12/10
536370 21724 12 0.85 12583 France
SHEET 08:45

Average Count of
Sum of
Description of CustomerI
Quantity
UnitPrice D
4 PURPLE FLOCK DINNER
£2.46 39 144
CANDLES
50'S CHRISTMAS GIFT BAG
£1.43 110 1913
LARGE
DOLLY GIRL BEAKER £1.50 140 2448
I LOVE LONDON MINI
£4.61 70 389
BACKPACK
9
Multidimensional Outlier Detection
Create Model from Feature Vector

Average Count of
Sum of
Description of CustomerI
Quantity
UnitPrice D
4 PURPLE FLOCK DINNER
£2.46 39 144
CANDLES
50'S CHRISTMAS GIFT BAG
£1.43 110 1913
LARGE
DOLLY GIRL BEAKER £1.50 140 2448
I LOVE LONDON MINI
£4.61 70 389
BACKPACK

10
Multidimensional Outlier Detection
Create Model from Feature Vector

Average Count of
Sum of
Description of CustomerI
Quantity
UnitPrice D
4 PURPLE FLOCK DINNER
£2.46 39 144
CANDLES
50'S CHRISTMAS GIFT BAG
£1.43 110 1913
LARGE
DOLLY GIRL BEAKER £1.50 140 2448
I LOVE LONDON MINI
£4.61 70 389
BACKPACK

11
Multidimensional Outlier Detection
Create Model from Feature Vector

Average Count of
Sum of
Description of CustomerI
Quantity
UnitPrice D
4 PURPLE FLOCK DINNER
£2.46 39 144
CANDLES
50'S CHRISTMAS GIFT BAG
£1.43 110 1913
LARGE
DOLLY GIRL BEAKER £1.50 140 2448
I LOVE LONDON MINI
£4.61 70 389
BACKPACK

12
THANK YOU!

SEE YOU AT AMA!

Anda mungkin juga menyukai