automated decision making with predictive applications – big data hamburg

90

Upload: lars-trieloff

Post on 17-Jul-2015

635 views

Category:

Data & Analytics


1 download

TRANSCRIPT

Page 1: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 2: Automated Decision making with Predictive Applications – Big Data Hamburg

Automated Decision Making with Big DataLars Trieloff | @trieloff

Page 3: Automated Decision making with Predictive Applications – Big Data Hamburg

Automated Decision Making with Big Data Predictive ApplicationsLars Trieloff | @trieloff

Page 4: Automated Decision making with Predictive Applications – Big Data Hamburg

— Holger Kisker, Forrester Research

“Even after more than 20 years of using BI, they still base nearly 45% of business decisions on qualitative decision factors instead of quantitative, fact-based evidence. “

Page 5: Automated Decision making with Predictive Applications – Big Data Hamburg

If data is not used for decision making, what is used then?

Page 6: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 7: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 8: Automated Decision making with Predictive Applications – Big Data Hamburg

4%Worldwide average profit margin in retail: 4%

Page 9: Automated Decision making with Predictive Applications – Big Data Hamburg

4‰German average profit margin in retail: 4‰

Page 10: Automated Decision making with Predictive Applications – Big Data Hamburg

Your Customer gives you this

Page 11: Automated Decision making with Predictive Applications – Big Data Hamburg

All you got to keep is that

Page 12: Automated Decision making with Predictive Applications – Big Data Hamburg

— –Libby Rittenberg

“Economic profits in a system of perfectly competitive markets will, in the long run, be driven to zero in all industries.”

Page 13: Automated Decision making with Predictive Applications – Big Data Hamburg

Physiological

Safety

Love/Belonging

Esteem

Self-Actualization

Page 14: Automated Decision making with Predictive Applications – Big Data Hamburg

— Abraham Maslov – probably never said this. It’s true anyway.“Data has Human Needs, too”

Page 15: Automated Decision making with Predictive Applications – Big Data Hamburg

Collection

Storage

Analysis

Prediction

Decision

Page 16: Automated Decision making with Predictive Applications – Big Data Hamburg

Collection

Storage

Analysis

Prediction

Decision

Physiological

Safety

Love/Belonging

Esteem

Self-Actualization

Page 17: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 18: Automated Decision making with Predictive Applications – Big Data Hamburg

— W. Edward Deming

“In God we trust, all others bring data”

Page 19: Automated Decision making with Predictive Applications – Big Data Hamburg

How Data-Driven Decisions should work

Computer Collects

Computer Stores

Human Analyzes

Human Predicts

Human Decides

Page 20: Automated Decision making with Predictive Applications – Big Data Hamburg

— Daniel Kahneman

“Prejudice against algorithms is magnified when the decisions are consequential.”

Page 21: Automated Decision making with Predictive Applications – Big Data Hamburg

How Data-Driven Decisions REALLY work

Computer Collects

Computer Stores

Human Analyzes

C O M M U N I C AT I O N B R E A K D O W N

Human Decides

Page 22: Automated Decision making with Predictive Applications – Big Data Hamburg

— Led Zeppelin

Communication Breakdown, It's always the same, I'm having a nervous breakdown, Drive me insane!

Page 23: Automated Decision making with Predictive Applications – Big Data Hamburg

• Drill-down analysis … misunderstood or distorted

• Metrics dashboards … contradictory and confusing

• Monthly reports … ignored after two iterations

• In-house analyst teams … overworked and powerless

How Data-Driven Decisions REALLY work

C O M M U N I C AT I O N

B R E A K D O W N

Page 24: Automated Decision making with Predictive Applications – Big Data Hamburg

How Data-Driven Decisions REALLY work

http://dilbert.com/strips/comic/2007-05-16/

Page 25: Automated Decision making with Predictive Applications – Big Data Hamburg

How Decisions REALLY should work

Computer Collects

Computer Stores

Computer Analyzes

Computer Predicts

C O M P U T E R D E C I D E S

Page 26: Automated Decision making with Predictive Applications – Big Data Hamburg

— Everyone at Blue Yonder, all the time

99.9% of all business decisions can be automated

Page 27: Automated Decision making with Predictive Applications – Big Data Hamburg

How Decisions are Being Made

Page 28: Automated Decision making with Predictive Applications – Big Data Hamburg

90% No Decision is made

Page 29: Automated Decision making with Predictive Applications – Big Data Hamburg

— Robin Sharma

“Making no decision is a decision. To do nothing. And nothing always brings you nowhere..”

Page 30: Automated Decision making with Predictive Applications – Big Data Hamburg

Business Rules for Beginners

Not doing anything is the simplest business rule in the world – and also the most popular

Page 31: Automated Decision making with Predictive Applications – Big Data Hamburg

90% No Decision is made

Page 32: Automated Decision making with Predictive Applications – Big Data Hamburg

9% Decision Follows Rule

Page 33: Automated Decision making with Predictive Applications – Big Data Hamburg

Business Rules in Action

Page 34: Automated Decision making with Predictive Applications – Big Data Hamburg

Advanced Business Rules

Computers are machines following rules. This means business rules are programs.

Page 35: Automated Decision making with Predictive Applications – Big Data Hamburg

• Business rules are like programs – written by non-programmers

• Business rules can be contradictory, incomplete, and complex beyond comprehension

• Business rules have no built-in feedback mechanism: “It is the rule, because it is the rule”

Business rules are Programs, just not very good ones.

Page 36: Automated Decision making with Predictive Applications – Big Data Hamburg

— Mark Twain

“It ain’t what we don’t know that causes trouble, it’s what we know for sure that just ain’t so”

Page 37: Automated Decision making with Predictive Applications – Big Data Hamburg

1% Human Decision making

Page 38: Automated Decision making with Predictive Applications – Big Data Hamburg

Human Decision Making has two systems – and only one is rational.

Page 39: Automated Decision making with Predictive Applications – Big Data Hamburg

Not quite Almost there That’s it.

Page 40: Automated Decision making with Predictive Applications – Big Data Hamburg

Quick: What do you see here?

Page 41: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 42: Automated Decision making with Predictive Applications – Big Data Hamburg

— Steven Pinker, describing Moravec’s Paradox

“The hard problems are easy and the easy problems are hard.”

Page 43: Automated Decision making with Predictive Applications – Big Data Hamburg

Quick: Add all even numbers

65 7 1 0

60 63 18 80

547039100

69 20 26 73

Page 44: Automated Decision making with Predictive Applications – Big Data Hamburg

94 39 37 31

92 70 100 67

4956080

69 20 26 73

Page 45: Automated Decision making with Predictive Applications – Big Data Hamburg

51 60 23 22

5 48 43 14

9525669

23 67 1 43

Page 46: Automated Decision making with Predictive Applications – Big Data Hamburg

Correct Result:

Page 47: Automated Decision making with Predictive Applications – Big Data Hamburg

Correct Result: 1.024

Page 48: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 49: Automated Decision making with Predictive Applications – Big Data Hamburg

— Daniel Kahneman

“All of us would be better investors if we just made fewer decisions.”

Page 50: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 51: Automated Decision making with Predictive Applications – Big Data Hamburg

How we are making decisions (Like the big apes we are)

Anchoring effectIKEA effect

Confirmation bias

Bandwagon effect

Substitution

Availability heuristic Texas Sharpshooter Fallacy

Rhyme as reason effect

Over-justification effect

Zero-risk bias

Framing effect

Illusory correlationSunk cost fallacy

Overconfidence

Outcome bias

Inattentional Blindness

Benjamin Franklin effect

Hindsight bias

Gambler’s fallacy

Anecdotal evidenceNegativity bias

Loss aversion

Backfire effect

Page 52: Automated Decision making with Predictive Applications – Big Data Hamburg
Page 53: Automated Decision making with Predictive Applications – Big Data Hamburg

• Abraham Lincoln and John F. Kennedy were both presidents of the United States, elected 100 years apart. 

• Both were shot and killed by assassins who were known by three names with 15 letters, John Wilkes Booth and Lee Harvey Oswald, and neither killer would make it to trial.

• Lincoln had a secretary named Kennedy, and Kennedy had a secretary named Lincoln.

• They were both killed on a Friday while sitting next to their wives, Lincoln in the Ford Theater, Kennedy in a Lincoln made by Ford.

Page 54: Automated Decision making with Predictive Applications – Big Data Hamburg

K-Means Clustering

Naive BayesSupport Vector Machines

Affinity Propagation

Least Angle Regression

Nearest Neighbors

Decision Trees

Markov Chain Monte Carlo

Spectral clustering

Restricted Bolzmann Machines

Logistic Regression

Computers making decisions (cold, fast, cheap, rational)

Page 55: Automated Decision making with Predictive Applications – Big Data Hamburg

• A machine learning algorithm is a system that derives a set of rules based on a set of data

• It is based on systematic observation, double-checking and cross-validation

• There is no magic, just data – and without data there is no magic either

Machine Learning means Programs that write Programs

Page 56: Automated Decision making with Predictive Applications – Big Data Hamburg

Better Decisions through Predictive Applications

Page 57: Automated Decision making with Predictive Applications – Big Data Hamburg

How Predictive Applications Work

Collect & Store Analyze Correlations

Build Decision Model

Decide & Test Optimize

Page 58: Automated Decision making with Predictive Applications – Big Data Hamburg

Why Test?

Page 59: Automated Decision making with Predictive Applications – Big Data Hamburg

— Randall Munroe

“Correlation doesn’t imply causation, but it does waggle its eyebrows suggestively and gesture furtively while mouthing ‘look over there’”

Page 60: Automated Decision making with Predictive Applications – Big Data Hamburg

— Warren Buffett

“I checked the actuarial tables, and the lowest death rate is among six-year-olds, so I decided to eat like a six-year-old.”

Page 61: Automated Decision making with Predictive Applications – Big Data Hamburg

More than half of the apps on a typical iPhone home screen are predictive applications.

Page 62: Automated Decision making with Predictive Applications – Big Data Hamburg

Fast DataInsight

Big Data

Categorizing Analytics

Past Present Future

No DataHindsight

Foresight

1. By Data Volume 2. By Time Horizon

Page 63: Automated Decision making with Predictive Applications – Big Data Hamburg

1

Categorizing Analytics

Descriptive• Focused on gathering and

collecting data

• Key challenges: data volume and data variety

• Key outcome: hindsight

• Examples: reports, dashboards

• Answers “What happened?”

Predictive• Focused on understanding

and explaining data

• Key challenges: data velocity and complexity

• Key outcome: insight

• Examples: prediction models

• Answers: “Why did it happen and what will happen next?”

Prescriptive• Focused on anticipating and

recommending action

• Key challenges: execution

• Key outcome: foresight

• Examples: decision support, predictive apps

• Answers: “What should we do?”

2 3

Page 64: Automated Decision making with Predictive Applications – Big Data Hamburg

A

Categorizing Analytics

Explicit• Analytics are a key visible

feature of the program

• Programs are used by trained analysts and data scientists

• Regular interaction during business hours

Integrated• Analytics are included in

another program

• Analytics are consumed in-context by business users

• Frequent, but irregular consumption during business hours

Automated• Analytics are invisibly part of a

complex process

• Decisions are made and executed in the process

• Constant and ongoing optimization 24/7

B C

Page 65: Automated Decision making with Predictive Applications – Big Data Hamburg

Analytic Application Matrix

2

3

B

C

+

+

=

=

Predictive Integrated

AutomatedPrescriptive

Decision Support systems for infrequent strategic decision-making

Predictive Applications for massive, automated decision-making in operational processes

Page 66: Automated Decision making with Predictive Applications – Big Data Hamburg

Building Predictive Applications

Machine Learning ModelPredictive Application

Enterprise Integration

Page 67: Automated Decision making with Predictive Applications – Big Data Hamburg

Story Time(Not safe for vegetarians)

Page 68: Automated Decision making with Predictive Applications – Big Data Hamburg

The Ground Beef Dilemma

Page 69: Automated Decision making with Predictive Applications – Big Data Hamburg

How much ground beef are we going to

sell on Friday?

Page 70: Automated Decision making with Predictive Applications – Big Data Hamburg

How much ground beef are we going to sell on Friday?

And how much on Saturday?

Page 71: Automated Decision making with Predictive Applications – Big Data Hamburg

Challenge #1 Accurately predict demand

Page 72: Automated Decision making with Predictive Applications – Big Data Hamburg

Great. But how much do we need to order

each day?

Page 73: Automated Decision making with Predictive Applications – Big Data Hamburg

Great. But how much do we need to order

each day?

Let’s reduce the risk of running out of

stock to 20%

Page 74: Automated Decision making with Predictive Applications – Big Data Hamburg

Sales Forecasts for FridaySa

les P

roba

bilit

y

0

0,01

0,02

0,03

0,04

0 4 8 12 16

Friday Sales Amount

Page 75: Automated Decision making with Predictive Applications – Big Data Hamburg

Sales Forecasts for SaturdaySa

les P

roba

bilit

y

0

0,01

0,02

0,03

0,04

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Saturday Sales Amount

Page 76: Automated Decision making with Predictive Applications – Big Data Hamburg

Great. But how much do we need to order

each day?

Let’s reduce the risk of running out

of stock to 20%

So it’s 3 on Friday and 5,5 on Saturday.

Page 77: Automated Decision making with Predictive Applications – Big Data Hamburg

Sales Forecasts for Both DaysSa

les P

roba

bilit

y

0

0,01

0,02

0,03

0,04

0 4 8 12 16

Friday Sales Amount Saturday Sales Amount

Page 78: Automated Decision making with Predictive Applications – Big Data Hamburg

Bad news…

Page 79: Automated Decision making with Predictive Applications – Big Data Hamburg

Bad news…

We need to skip the Saturday delivery.

Page 80: Automated Decision making with Predictive Applications – Big Data Hamburg

Bad news…

We need to skip the Saturday delivery.

How big should we make the Friday delivery

instead?

Page 81: Automated Decision making with Predictive Applications – Big Data Hamburg

If you need 3 on Friday and 5,5 on Saturday to fulfill 80% of the demand, how much do you need to fulfill 80% of the combined demand?

Page 82: Automated Decision making with Predictive Applications – Big Data Hamburg

3 + 5,5 = 8,5 Common Sense isn’t it?

Page 83: Automated Decision making with Predictive Applications – Big Data Hamburg

— Albert Einstein

Common sense is what tells us the world is flat.

Page 84: Automated Decision making with Predictive Applications – Big Data Hamburg

Combined Sales ForecastsSa

les P

roba

bilit

y

0

0,01

0,02

0,03

0,04

0 4 8 12 16

Combined Sales Amount

Page 85: Automated Decision making with Predictive Applications – Big Data Hamburg

If you ordered 8,5 cases, you would waste a lot of meat, the ideal order amount is 8 cases.

Page 86: Automated Decision making with Predictive Applications – Big Data Hamburg

Predictive Apps in a NutshellBatch and streaming data ingestion, batch

and streaming delivery (with real-time option)

Reduce risk and cost » increase revenue and profit

Trend Estimation Classification Event Prediction

Optimize Returns

Collect Data Predict Results Drive Decisions

Page 87: Automated Decision making with Predictive Applications – Big Data Hamburg

— John Maynard Keynes

“When my information changes, I alter my conclusions. What do you do, sir?”

Page 88: Automated Decision making with Predictive Applications – Big Data Hamburg

One Common Platform for Predictive Applications

Your own and third-party data, easily integrated via API

Link

Build Machine Learning and

application code

Build

Automatically run and scale ML models

and applications

Run

Monitor and inspect resource usage and

model quality

View

Your data stored in high-performance

database as a service

Store

Page 89: Automated Decision making with Predictive Applications – Big Data Hamburg

— Kevin Kelly

“The business plans of the next 10,000 startups are easy to forecast: Take X and add AI”

Page 90: Automated Decision making with Predictive Applications – Big Data Hamburg

Lars Trieloff @trieloff (this guy is hiring)