SlideShare une entreprise Scribd logo
1  sur  71
Télécharger pour lire hors ligne
Future of AI-powered automation
in business
@louisdorard
#APIdays - December 9, 2015
AI is everywhere
@louisdorard
Lars Trieloff
@trieloff
(see source)
Amazon for David Jones (@d_jones, see source)
Amazon for David Jones (@d_jones, see source)
ChurnSpotter.io
How does it work?
Data + Machine Learning
Bedrooms Bathrooms Surface (foot²) Year built Type Price ($)
3 1 860 1950 house 565,000
3 1 1012 1951 house
2 1.5 968 1976 townhouse 447,000
4 1315 1950 house 648,000
3 2 1599 1964 house
3 2 987 1951 townhouse 790,000
1 1 530 2007 condo 122,000
4 2 1574 1964 house 835,000
4 2001 house 855,000
3 2.5 1472 2005 house
4 3.5 1714 2005 townhouse
2 2 1113 1999 condo
1 769 1999 condo 315,000
Bedrooms Bathrooms Surface (foot²) Year built Type Price ($)
3 1 860 1950 house 565,000
3 1 1012 1951 house
2 1.5 968 1976 townhouse 447,000
4 1315 1950 house 648,000
3 2 1599 1964 house
3 2 987 1951 townhouse 790,000
1 1 530 2007 condo 122,000
4 2 1574 1964 house 835,000
4 2001 house 855,000
3 2.5 1472 2005 house
4 3.5 1714 2005 townhouse
2 2 1113 1999 condo
1 769 1999 condo 315,000
ML is a set of AI techniques where
“intelligence” is built by referring to
examples
“Weak AI” vs. “Strong AI”
27
Everyday use cases
• Real-estate
• Spam
• Priority inbox
• Crowd prediction
property price
email spam indicator
email importance indicator
location & context #people
Zillow
Gmail
Gmail
Tranquilien
28
Business use cases
• Reduce churn
• Cross-sell
• Optimize pricing
• Predict demand
customer churn indicator
customer & product purchase indicator
product & price #sales
context demand
RULES
–Katherine Barr, Partner at VC-firm MDV
"Pairing human workers with
machine learning and automation
will transform knowledge work
and unleash new levels of human
productivity and creativity."
Decisions from predictions
1. Descriptive
2. Predictive
3. Prescriptive
31
Phases of data analysis
1. Show churn rate against time
2. Predict which customers will churn next
3. Suggest what to do about each customer

(e.g. propose to switch plan, send promotional offer, etc.)
32
Churn analysis
1. Show returned goods against {type, customer segment}
2. Predict risk shopper will return goods
3. ?
33
E-commerce returns
“Suggest what to do about each customer”→ prioritised list of actions,
based on…
• Customer representation + context
• Churn prediction & action prediction
• Uncertainty in predictions
• Revenue brought by customer & Cost of actions
• Constraints on frequency of solicitations
34
Churn analysis
35
Pricing optimisation
Again, from David Jones (@d_jones, see source)
Decide price given product and context…
• For several price candidates (within constrained range):
• Predict # sales given product, context, price
• Multiply by price to estimate revenue
36
Pricing optimisation
Decide price given product and context…
• For several price candidates (within constrained range):
• Predict 95%-confidence lower bound on # sales given
product, context, price
• Multiply by price to estimate revenue
37
Pricing optimisation
1. Show past demand against calendar
2. Predict demand for [product] at [store] in next 2 days
3. Suggest how much to ship
• Trade-off: cost of storage vs risk of lost sales
• Constraints on order size, truck volume, capacity of people
putting stuff into shelves
38
Replenishment
• Context
• Predictions
• Uncertainty in predictions
• Constraints
• Costs / benefits
• Competing objectives ( trade-offs to make)
• Business rules
39
Decisions are based on…
40
Who performs better?
+vs.
Star Wars: The Flat Awakens
by Filipe de Carvalho
vs.
41
AI + Human perform better
+
42
Human alone performs better: dexterity
43
AI alone performs better: replenishment
Decisions are faster, cheaper, and better
44
AI alone performs better: replenishment
Again, from Lars Trieloff @trieloff (see source)
Decision Quality
Status Quo Predictive Prescriptive Automation
Decisionquality
1. Descriptive analysis
2. Predictive analysis
3. Prescriptive analysis
4. Automated decisions
45
Beyond prescriptive analysis
• Spam filter → decide to skip inbox
• Autonomous Vehicles → decide who to kill
46
Autonomous decision-making systems
“Tool AI”vs“High-stakes autonomous AI”
47
Autonomous Vehicles
• Morality in decision-making algorithm:
• Minimize loss of life
• Account for probabilities of survival, age of occupants…

→ optimal formula?
• Sacrifice owner?
• “People are in favor of cars that sacrifice the occupant to save other
lives—as long they don’t have to drive one themselves.”
48
Autonomous Vehicles
• Need wide acceptation to get adoption and provide benefit (e.g.
save lives with AVs)
• “The public is much more likely to go along with a scenario that aligns
with their own views”
• What will the public tolerate? → experimental ethics
• Similar issues whenever AI decides for us and impacts many
“Domain-specific/business rules”in decision making
49
High-stakes autonomous AIs
Role of APIs
51
Communication between AIs
01000101101
Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
52
Separation of concerns
Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
53
Operations Research component
Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
54
Machine Learning components
Software components for automated decisions:
• Create training dataset from historical data (merge sources, aggregate…)
• Provide predictive model from given training set (i.e. learn)
• Provide prediction against model for given context
• Provide optimal decision from given contextual data, predictions,
uncertainties, constraints, objectives, costs
• Apply given decision
55
Predictive APIs
56
Predictive APIs
The two phases of machine learning:
• TRAIN a model
• PREDICT with a model
57
Predictive APIs
The two methods of predictive APIs:
• TRAIN a model
• PREDICT with a model
58
Predictive APIs
The two methods of predictive APIs:
• model = create_model(‘training.csv’)
• predicted_output = create_prediction(model,
new_input)
59
Predictive APIs
Amazon ML
BigML
Google Prediction
PredicSis
…
60
Providers of REST http Predictive APIs
Going further
• Define desired and acceptable behaviour

→ objectives and constraints/bounds
• Monitor accuracy & bottomline
• Self-monitoring & anomaly detection

→ thresholds and fallbacks
62
Ensuring performance of autonomous AI systems
63
Performance guarantees?
“construction worker in orange safety vest
is working on road”
95%-accurate scene description
64
Performance guarantees
“black and white dog jumps over bar”
95%-accurate scene description
65
Performance guarantees
“a young boy is holding a baseball bat”
95%-accurate scene description
66
Performance guarantees
“a young boy is holding a baseball bat”
weapon
SIR, DROP THE WEAPON!
• Lars Trieloff:“Business reasons for automating decisions”
• Daniel Kahneman: “Thinking, Fast and Slow”
• Tom Dietterich:“Artificial Intelligence Progress”
• MIT Technology Review:“Why Self-Driving Cars Must Be
Programmed to Kill”
• Conference: PAPIs Connect
67
Learn more
• Free ML resources: louisdorard.com
• PAPIs updates: @papisdotio
@louisdorard
LIKED
IT?
THEN

Contenu connexe

En vedette

Data Summit Brussels: Introduction
Data Summit Brussels: IntroductionData Summit Brussels: Introduction
Data Summit Brussels: Introduction
Louis Dorard
 
Nothing will ever be the same again ABP webinar
Nothing will ever be the same again  ABP webinarNothing will ever be the same again  ABP webinar
Nothing will ever be the same again ABP webinar
Anton Fishman
 
A.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishraA.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishra
Suvinsh Mishra
 

En vedette (20)

From Data to AI with the Machine Learning Canvas
From Data to AI with the Machine Learning CanvasFrom Data to AI with the Machine Learning Canvas
From Data to AI with the Machine Learning Canvas
 
Real-world applications of AI - Daniel Hulme @ PAPIs Connect
Real-world applications of AI - Daniel Hulme @ PAPIs ConnectReal-world applications of AI - Daniel Hulme @ PAPIs Connect
Real-world applications of AI - Daniel Hulme @ PAPIs Connect
 
Exploration & Exploitation Challenge 2011
Exploration & Exploitation Challenge 2011Exploration & Exploitation Challenge 2011
Exploration & Exploitation Challenge 2011
 
Data Summit Brussels: Introduction
Data Summit Brussels: IntroductionData Summit Brussels: Introduction
Data Summit Brussels: Introduction
 
Big Data 2.0
Big Data 2.0Big Data 2.0
Big Data 2.0
 
The Promise of Artificial Intelligence
The Promise of Artificial IntelligenceThe Promise of Artificial Intelligence
The Promise of Artificial Intelligence
 
Association for the Advancement of Artificial Intelligence: Panel Discussion ...
Association for the Advancement of Artificial Intelligence: Panel Discussion ...Association for the Advancement of Artificial Intelligence: Panel Discussion ...
Association for the Advancement of Artificial Intelligence: Panel Discussion ...
 
Database
DatabaseDatabase
Database
 
Being Practical About Artificial Intelligence (Forbes U30 Summit 2016)
Being Practical About Artificial Intelligence (Forbes U30 Summit 2016)Being Practical About Artificial Intelligence (Forbes U30 Summit 2016)
Being Practical About Artificial Intelligence (Forbes U30 Summit 2016)
 
Techexpo bigdata ml_ai_hanoi
Techexpo bigdata ml_ai_hanoiTechexpo bigdata ml_ai_hanoi
Techexpo bigdata ml_ai_hanoi
 
Nothing will ever be the same again ABP webinar
Nothing will ever be the same again  ABP webinarNothing will ever be the same again  ABP webinar
Nothing will ever be the same again ABP webinar
 
Demystify big data data science
Demystify big data  data scienceDemystify big data  data science
Demystify big data data science
 
Smart Data Webinar: A Roadmap for Deploying Modern AI in Business
Smart Data Webinar: A Roadmap for Deploying Modern AI in BusinessSmart Data Webinar: A Roadmap for Deploying Modern AI in Business
Smart Data Webinar: A Roadmap for Deploying Modern AI in Business
 
GLOA:A New Job Scheduling Algorithm for Grid Computing
GLOA:A New Job Scheduling Algorithm for Grid ComputingGLOA:A New Job Scheduling Algorithm for Grid Computing
GLOA:A New Job Scheduling Algorithm for Grid Computing
 
API, WhizzML and Apps
API, WhizzML and AppsAPI, WhizzML and Apps
API, WhizzML and Apps
 
Trusting AI with important decisions
Trusting AI with important decisionsTrusting AI with important decisions
Trusting AI with important decisions
 
Ch 07 information and decision making
Ch 07 information and decision makingCh 07 information and decision making
Ch 07 information and decision making
 
The New Normal - 25 Lessons To Help Your Tourism Organization Thrive In The A...
The New Normal - 25 Lessons To Help Your Tourism Organization Thrive In The A...The New Normal - 25 Lessons To Help Your Tourism Organization Thrive In The A...
The New Normal - 25 Lessons To Help Your Tourism Organization Thrive In The A...
 
Maximizing Digital/Social Value in Agency New Business Webinar
Maximizing Digital/Social Value in Agency New Business WebinarMaximizing Digital/Social Value in Agency New Business Webinar
Maximizing Digital/Social Value in Agency New Business Webinar
 
A.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishraA.i. ppt by suvinsh mishra
A.i. ppt by suvinsh mishra
 

Similaire à Future of AI-powered automation in business

Automated Hyperparameter Tuning, Scaling and Tracking
Automated Hyperparameter Tuning, Scaling and TrackingAutomated Hyperparameter Tuning, Scaling and Tracking
Automated Hyperparameter Tuning, Scaling and Tracking
Databricks
 

Similaire à Future of AI-powered automation in business (20)

A business level introduction to Artificial Intelligence - Louis Dorard @ PAP...
A business level introduction to Artificial Intelligence - Louis Dorard @ PAP...A business level introduction to Artificial Intelligence - Louis Dorard @ PAP...
A business level introduction to Artificial Intelligence - Louis Dorard @ PAP...
 
An intelligent framework using hybrid social media and market data, for stock...
An intelligent framework using hybrid social media and market data, for stock...An intelligent framework using hybrid social media and market data, for stock...
An intelligent framework using hybrid social media and market data, for stock...
 
900 keynote abbott
900 keynote abbott900 keynote abbott
900 keynote abbott
 
Summit EU Machine Learning
Summit EU Machine LearningSummit EU Machine Learning
Summit EU Machine Learning
 
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
Big Data Spain 2018: How to build Weighted XGBoost ML model for Imbalance dat...
 
Introduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regressionIntroduction to machine learning and model building using linear regression
Introduction to machine learning and model building using linear regression
 
Artificial intelligence professor jinsong dong 2 august 2017
Artificial intelligence professor jinsong dong 2 august 2017Artificial intelligence professor jinsong dong 2 august 2017
Artificial intelligence professor jinsong dong 2 august 2017
 
AI-900 Slides.pptx
AI-900 Slides.pptxAI-900 Slides.pptx
AI-900 Slides.pptx
 
The importance of model fairness and interpretability in AI systems
The importance of model fairness and interpretability in AI systemsThe importance of model fairness and interpretability in AI systems
The importance of model fairness and interpretability in AI systems
 
predictive analysis and usage in procurement ppt 2017
predictive analysis and usage in procurement  ppt 2017predictive analysis and usage in procurement  ppt 2017
predictive analysis and usage in procurement ppt 2017
 
Automated Hyperparameter Tuning, Scaling and Tracking
Automated Hyperparameter Tuning, Scaling and TrackingAutomated Hyperparameter Tuning, Scaling and Tracking
Automated Hyperparameter Tuning, Scaling and Tracking
 
AI In Actuarial Science
AI In Actuarial ScienceAI In Actuarial Science
AI In Actuarial Science
 
ML master class
ML master classML master class
ML master class
 
[系列活動] 資料探勘速遊 - Session4 case-studies
[系列活動] 資料探勘速遊 - Session4 case-studies[系列活動] 資料探勘速遊 - Session4 case-studies
[系列活動] 資料探勘速遊 - Session4 case-studies
 
Analytics in Online Retail
Analytics in Online RetailAnalytics in Online Retail
Analytics in Online Retail
 
Ml ppt at
Ml ppt atMl ppt at
Ml ppt at
 
AI - To get an overview
AI   - To get an overviewAI   - To get an overview
AI - To get an overview
 
Why And How To Leverage Predictive APIs In Any Application
Why And How To Leverage Predictive APIs In Any Application Why And How To Leverage Predictive APIs In Any Application
Why And How To Leverage Predictive APIs In Any Application
 
Remaining Agile with Billions of Documents: Appboy and Creative MongoDB Schemas
Remaining Agile with Billions of Documents: Appboy and Creative MongoDB SchemasRemaining Agile with Billions of Documents: Appboy and Creative MongoDB Schemas
Remaining Agile with Billions of Documents: Appboy and Creative MongoDB Schemas
 
Pricing by Preston McAfee
Pricing by Preston McAfeePricing by Preston McAfee
Pricing by Preston McAfee
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Future of AI-powered automation in business

  • 1. Future of AI-powered automation in business @louisdorard #APIdays - December 9, 2015
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 11.
  • 12.
  • 13.
  • 15. Amazon for David Jones (@d_jones, see source)
  • 16. Amazon for David Jones (@d_jones, see source)
  • 18. How does it work?
  • 19. Data + Machine Learning
  • 20.
  • 21. Bedrooms Bathrooms Surface (foot²) Year built Type Price ($) 3 1 860 1950 house 565,000 3 1 1012 1951 house 2 1.5 968 1976 townhouse 447,000 4 1315 1950 house 648,000 3 2 1599 1964 house 3 2 987 1951 townhouse 790,000 1 1 530 2007 condo 122,000 4 2 1574 1964 house 835,000 4 2001 house 855,000 3 2.5 1472 2005 house 4 3.5 1714 2005 townhouse 2 2 1113 1999 condo 1 769 1999 condo 315,000
  • 22.
  • 23. Bedrooms Bathrooms Surface (foot²) Year built Type Price ($) 3 1 860 1950 house 565,000 3 1 1012 1951 house 2 1.5 968 1976 townhouse 447,000 4 1315 1950 house 648,000 3 2 1599 1964 house 3 2 987 1951 townhouse 790,000 1 1 530 2007 condo 122,000 4 2 1574 1964 house 835,000 4 2001 house 855,000 3 2.5 1472 2005 house 4 3.5 1714 2005 townhouse 2 2 1113 1999 condo 1 769 1999 condo 315,000
  • 24. ML is a set of AI techniques where “intelligence” is built by referring to examples
  • 25.
  • 26. “Weak AI” vs. “Strong AI”
  • 27. 27 Everyday use cases • Real-estate • Spam • Priority inbox • Crowd prediction property price email spam indicator email importance indicator location & context #people Zillow Gmail Gmail Tranquilien
  • 28. 28 Business use cases • Reduce churn • Cross-sell • Optimize pricing • Predict demand customer churn indicator customer & product purchase indicator product & price #sales context demand RULES
  • 29. –Katherine Barr, Partner at VC-firm MDV "Pairing human workers with machine learning and automation will transform knowledge work and unleash new levels of human productivity and creativity."
  • 31. 1. Descriptive 2. Predictive 3. Prescriptive 31 Phases of data analysis
  • 32. 1. Show churn rate against time 2. Predict which customers will churn next 3. Suggest what to do about each customer
 (e.g. propose to switch plan, send promotional offer, etc.) 32 Churn analysis
  • 33. 1. Show returned goods against {type, customer segment} 2. Predict risk shopper will return goods 3. ? 33 E-commerce returns
  • 34. “Suggest what to do about each customer”→ prioritised list of actions, based on… • Customer representation + context • Churn prediction & action prediction • Uncertainty in predictions • Revenue brought by customer & Cost of actions • Constraints on frequency of solicitations 34 Churn analysis
  • 35. 35 Pricing optimisation Again, from David Jones (@d_jones, see source)
  • 36. Decide price given product and context… • For several price candidates (within constrained range): • Predict # sales given product, context, price • Multiply by price to estimate revenue 36 Pricing optimisation
  • 37. Decide price given product and context… • For several price candidates (within constrained range): • Predict 95%-confidence lower bound on # sales given product, context, price • Multiply by price to estimate revenue 37 Pricing optimisation
  • 38. 1. Show past demand against calendar 2. Predict demand for [product] at [store] in next 2 days 3. Suggest how much to ship • Trade-off: cost of storage vs risk of lost sales • Constraints on order size, truck volume, capacity of people putting stuff into shelves 38 Replenishment
  • 39. • Context • Predictions • Uncertainty in predictions • Constraints • Costs / benefits • Competing objectives ( trade-offs to make) • Business rules 39 Decisions are based on…
  • 40. 40 Who performs better? +vs. Star Wars: The Flat Awakens by Filipe de Carvalho vs.
  • 41. 41 AI + Human perform better +
  • 42. 42 Human alone performs better: dexterity
  • 43. 43 AI alone performs better: replenishment
  • 44. Decisions are faster, cheaper, and better 44 AI alone performs better: replenishment Again, from Lars Trieloff @trieloff (see source) Decision Quality Status Quo Predictive Prescriptive Automation Decisionquality
  • 45. 1. Descriptive analysis 2. Predictive analysis 3. Prescriptive analysis 4. Automated decisions 45 Beyond prescriptive analysis
  • 46. • Spam filter → decide to skip inbox • Autonomous Vehicles → decide who to kill 46 Autonomous decision-making systems “Tool AI”vs“High-stakes autonomous AI”
  • 48. • Morality in decision-making algorithm: • Minimize loss of life • Account for probabilities of survival, age of occupants…
 → optimal formula? • Sacrifice owner? • “People are in favor of cars that sacrifice the occupant to save other lives—as long they don’t have to drive one themselves.” 48 Autonomous Vehicles
  • 49. • Need wide acceptation to get adoption and provide benefit (e.g. save lives with AVs) • “The public is much more likely to go along with a scenario that aligns with their own views” • What will the public tolerate? → experimental ethics • Similar issues whenever AI decides for us and impacts many “Domain-specific/business rules”in decision making 49 High-stakes autonomous AIs
  • 52. Software components for automated decisions: • Create training dataset from historical data (merge sources, aggregate…) • Provide predictive model from given training set (i.e. learn) • Provide prediction against model for given context • Provide optimal decision from given contextual data, predictions, uncertainties, constraints, objectives, costs • Apply given decision 52 Separation of concerns
  • 53. Software components for automated decisions: • Create training dataset from historical data (merge sources, aggregate…) • Provide predictive model from given training set (i.e. learn) • Provide prediction against model for given context • Provide optimal decision from given contextual data, predictions, uncertainties, constraints, objectives, costs • Apply given decision 53 Operations Research component
  • 54. Software components for automated decisions: • Create training dataset from historical data (merge sources, aggregate…) • Provide predictive model from given training set (i.e. learn) • Provide prediction against model for given context • Provide optimal decision from given contextual data, predictions, uncertainties, constraints, objectives, costs • Apply given decision 54 Machine Learning components
  • 55. Software components for automated decisions: • Create training dataset from historical data (merge sources, aggregate…) • Provide predictive model from given training set (i.e. learn) • Provide prediction against model for given context • Provide optimal decision from given contextual data, predictions, uncertainties, constraints, objectives, costs • Apply given decision 55 Predictive APIs
  • 57. The two phases of machine learning: • TRAIN a model • PREDICT with a model 57 Predictive APIs
  • 58. The two methods of predictive APIs: • TRAIN a model • PREDICT with a model 58 Predictive APIs
  • 59. The two methods of predictive APIs: • model = create_model(‘training.csv’) • predicted_output = create_prediction(model, new_input) 59 Predictive APIs
  • 62. • Define desired and acceptable behaviour
 → objectives and constraints/bounds • Monitor accuracy & bottomline • Self-monitoring & anomaly detection
 → thresholds and fallbacks 62 Ensuring performance of autonomous AI systems
  • 63. 63 Performance guarantees? “construction worker in orange safety vest is working on road” 95%-accurate scene description
  • 64. 64 Performance guarantees “black and white dog jumps over bar” 95%-accurate scene description
  • 65. 65 Performance guarantees “a young boy is holding a baseball bat” 95%-accurate scene description
  • 66. 66 Performance guarantees “a young boy is holding a baseball bat” weapon SIR, DROP THE WEAPON!
  • 67. • Lars Trieloff:“Business reasons for automating decisions” • Daniel Kahneman: “Thinking, Fast and Slow” • Tom Dietterich:“Artificial Intelligence Progress” • MIT Technology Review:“Why Self-Driving Cars Must Be Programmed to Kill” • Conference: PAPIs Connect 67 Learn more
  • 68.
  • 69.
  • 70. • Free ML resources: louisdorard.com • PAPIs updates: @papisdotio