SlideShare a Scribd company logo
Fantastic Problems
Daryl Weir_
Senior Data Scientist_
And Where to Find Them
Founded in 2000
400+ employees from 22 countries
8th year in a row profitable growth
YOY growth 30%
Helsinki
Tampere
Stockholm
Berlin
Munich
London
We help our customers
succeed in digital
business_
Daryl
Weir_
Senior Data
Scientist
PhD Computer Science 

University of Glasgow
Research Intern

Microsoft Finland
Postdoc Researcher

Aalto University
Data Scientist

Futurice
daryl.weir@futurice.com

@darylweir
2010-2014

2014

2014-2016

2016-Now
Machine Learning Hype_
AI, big data, machine learning… These have been
buzz words for years now
This talk tries to answer two key questions:
- What can machine learning actually do?
- Should I use machine learning to solve my
problem?
AI/Machine Learning is not Skynet
(yet…)
So what is it?_
Machine learning is really good at
answering narrow questions
It does this by learning from examples
The most common method is supervised
learning, where problems look like:
Given some input A, predict an output B
By choosing the right A and B, you can do
some amazing stuff
A—>B
For example_
Baby’s first self driving car
Narrow question: given the road looks
like this, how should I turn the steering
wheel to not crash?
Input: camera image of the road
Output: steering wheel angle
(CMU did this in 1995 - the car drove
3000 miles across the US)
But what kind of problem should we
look for?_
“If a typical person can do a
mental task with less than one
second of thought, we can
probably automate it using AI”
- Andrew Ng
A (somewhat trite) counterexample_
18
27
131
94
322
1061
Are these numbers odd or even?
You can (hopefully) judge this in under a
second
But many popular machine learning
algorithms are terrible at learning this
(from the numbers alone)
Not all problems that can be tackled with
ML should be
You might have a machine learning
problem if:
1 - writing down a set of rules is hard
BUT
2 - gathering examples is easy
My rule of thumb_
Is there a cat in this image?_
Writing rules for the presence or absence
of a cat is really, really hard
BUT
Finding cat pictures is really, really easy
Narrowing the focus_
What kind of things can we do?
Predict the future Uncover hidden structureRecommend content
Predicting the Future_
Scenario_
We have lots of historical
examples of system state,
each one labelled by its
outcome
Given a new example of the
state, we try to predict the
outcome
Such problems fall into two
main types: regression and
classification
Regression problems are
those where the outcome is a
number, for example:
— how many potatoes will my
supermarket sell next week?
— what’s the optimal price to
sell this stock?
— what speed should I drive
given the weather & traffic?
Classification problems are
those where the outcome is
one of a fixed set, for example:
— whose face is in this image?
— is this credit card
transaction fraudulent?
— do these scan results
indicate cancer?
Case: AirBnB_
AirBnB is a great example of a
company oriented around data
They blog regularly about data
science and open source some
of their tools
One problem they’ve talked
about: given the user’s search
term, should we show a given
listing in the results?
Basic distance based search
for San Francisco shows
many rentals in Oakland
Users were likely to find
these results irrelevant
Bayesian model estimates the
probability of booking each
listing given a specific search
This sped up the booking
process and significantly
increased conversion rate
Case: Railways_
Two buzz words for the price
of one: machine learning + IoT!
Modern trains and rails are
highly instrumented with
sensors (motion, sound,
pressure, etc.)
Using data from these, we can
classify whether or not a part
(e.g. a wheel or door) will fail
within a given time
Lets the operator move from
scheduled to on-demand
maintenance/replacement
VR Group estimates this cuts
amount of wheel maintenance
by around a third
Bonus inception: sometimes
the sensor themselves start
giving incorrect readings
Another classifier can detect
these faults before they
suggest phantom breakdowns
Recommending Content_
Scenario_
Many businesses depend on
content of some sort, e.g.:
— articles and videos
— products in a store
— ads
It is often valuable to
personalise the content shown
to your users
There are two main methods to
predict content users will like
Collaborative filters suggest
things other users have liked
The preferences of others are
weighted by how similar they
are to you
— “Customers also bought…”
— Spotify Discover Weekly
Content based recommenders
suggest, unsurprisingly, based
on the actual content
— these articles have similar
topics to your previous reads
— more videos from channels
you watched
But it’s not always easy/
possible to define similarity
between pieces of content
Case: Netflix_
Netflix is one of the most well
known users of recommender
systems
Like AirBnB, they blog
regularly and have some open
source tools available
Good recommendations
increase user satisfaction,
encourage continued use, and
drive users to the ‘long tail’
Famously offered a $1M prize
to anyone who could improve
their recommender by 10%
Winning solution was never
used!
Recently changed from star
based ratings to a thumbs up/
down system
Better UX, avoids differences
in users’ rating systems
Uncovering Hidden Structure_
Scenario_
What if we don’t have labels
for our historical states?
Another major ML application
area is automatically detecting
recurring patterns in data
This is called unsupervised
learning - it’s about learning
what’s interesting about some
given data
This lets us ask different sorts
of questions, like:
— how do players of my game
group together based on
play behaviour?
— is this spending behaviour
unusual given someone’s past
purchases?
— what are the common
topics in this collection of
documents?
Case: Google News_
Google has been very vocal
about its transformation into “a
machine learning company”
As of 2016, ~10% of their
engineers have ML experience
and internal training is growing
They have stated a goal of
systematically applying
machine learning in all their
business areas
The rankings of different
topics and outlets can be
tailored by the user explicitly
The service can also learn user
preferences from usage data
Google News automatically
groups versions of the same
story from different outlets
Stories are also grouped to
form news categories
Trying it out_
Starting out with ML_
Only for masochistsDesigned with data analysis in
mind
Amazing library and
community support
Not general purpose
Excellent tooling - try the
Anaconda distribution
Jupyter notebooks allow mixed
code and Markdown
Can be slow
The real third option_
Fast, powerful language with
excellent support for really big
datasets (via Spark, Hadoop)
Highly parallel
Not very beginner friendly
Designed with data analysis in
mind
Amazing library and
community support
Not general purpose
Excellent tooling - try the
Anaconda distribution
Jupyter notebooks allow mixed
code and Markdown
Can be slow
Resources_
“I want tutorials and interesting blog posts pitched
at beginners (and I don’t mind Python)”
github.com/hangtwenty/dive-into-machine-learning
“Python sucks, show me resources for machine
learning in <my language of choice>”
github.com/josephmisiti/awesome-machine-learning
“Coding sucks, I just want to read a book”
‘The Master Algorithm’ by Pedro Domingos
If you remember 3 things_
1) Machine learning answers narrow questions
2) Look for complex rules with plentiful examples
3) Don’t use Matlab
Thanks for listening!

daryl.weir@futurice.com

@darylweir

More Related Content

PDF
Top mobile trends 2014
 
PDF
Mobile Apps and the Healthcare World
PDF
Mobile Experience
PPTX
Presentatie Steven van Belleghem @ B2B Goes Social - Presentation
PDF
Customer Service: A human-shaped manifesto
PDF
Towards Future Proof Customer Relations
PDF
The Future of Digital Payments
PDF
Customer Experience in digital identification
Top mobile trends 2014
 
Mobile Apps and the Healthcare World
Mobile Experience
Presentatie Steven van Belleghem @ B2B Goes Social - Presentation
Customer Service: A human-shaped manifesto
Towards Future Proof Customer Relations
The Future of Digital Payments
Customer Experience in digital identification

What's hot (19)

PDF
7 Inspiring Examples of Augmented Reality in the Business World
PDF
Paybook Vol. IX presented by Verifone
PDF
DMI – World Gaming Executive Summit
 
PPT
Future of Payments for Debit, Mobile Payments, Prepaid & ATM Execs
PDF
Cognitive Future In Customer Engagement
PDF
Summary artificial intelligence in practice- part-4
PPTX
Digital Disruption - Disrupt or be Disrupted
PPTX
CES 2014 Review: 12 Principles & What Matters for Marketers
PDF
2015 05 NO INTERFACE
PDF
Radio shack final slide
PDF
Summary artificial intelligence in practice- part-2
PDF
Augmented Humanity: Isobar Trends Report 2018
PDF
Competing for the Future: Iteration vs. Innovation by Brian Solis
PPTX
ListenLogic Solution Overview
PPT
Changing customer behaviour and how we as ABN AMRO are adapting - Jessica Nie...
PDF
Digital disruption how to transform banking
PDF
Fjord Trends 2017 - Highlights
PDF
J Schwan
PDF
Isobar 2016 Trend Report: Australian Edition
7 Inspiring Examples of Augmented Reality in the Business World
Paybook Vol. IX presented by Verifone
DMI – World Gaming Executive Summit
 
Future of Payments for Debit, Mobile Payments, Prepaid & ATM Execs
Cognitive Future In Customer Engagement
Summary artificial intelligence in practice- part-4
Digital Disruption - Disrupt or be Disrupted
CES 2014 Review: 12 Principles & What Matters for Marketers
2015 05 NO INTERFACE
Radio shack final slide
Summary artificial intelligence in practice- part-2
Augmented Humanity: Isobar Trends Report 2018
Competing for the Future: Iteration vs. Innovation by Brian Solis
ListenLogic Solution Overview
Changing customer behaviour and how we as ABN AMRO are adapting - Jessica Nie...
Digital disruption how to transform banking
Fjord Trends 2017 - Highlights
J Schwan
Isobar 2016 Trend Report: Australian Edition
Ad

Viewers also liked (7)

PDF
Pepperoni – A framework for spicing up your mobile apps with React Native
PDF
A Retrospective on React Native - Lessons Learned
PDF
Testing Without Waste - Automatic Testing
PDF
Reark : a Reference Architecture for Android using RxJava
PPTX
Project thinking and digital service business
PPT
Agile Software Security
PDF
Markus Paasovaara: Face recognition
Pepperoni – A framework for spicing up your mobile apps with React Native
A Retrospective on React Native - Lessons Learned
Testing Without Waste - Automatic Testing
Reark : a Reference Architecture for Android using RxJava
Project thinking and digital service business
Agile Software Security
Markus Paasovaara: Face recognition
Ad

Similar to Fantastic Problems and Where to Find Them: Daryl Weir (20)

PDF
Machine Learning and its Applications
PDF
Demystifying Machine Learning - How to give your business superpowers.
PDF
Machine Learning: Past, Present and Future - by Tom Dietterich
PDF
Developer's Introduction to Machine Learning
PPTX
BIG DATA AND MACHINE LEARNING
PDF
Intro to machine learning
PDF
Lecture2 - Machine Learning
PPTX
machine learning in the age of big data: new approaches and business applicat...
PDF
machine_learning_section1_ebook.pdf
PDF
Introduction to Machine Learning
PDF
Intro 2 Machine Learning
PDF
10 Things Every PHP Developer Should Know About Machine Learning
PDF
Hacking Predictive Modeling - RoadSec 2018
PPTX
Unit - 1 - Introduction of the machine learning
PPTX
Machine Learning - Challenges, Learnings & Opportunities
PPT
intro to ML by the way m toh phasee movie Punjabi
PPTX
1 -1 Introduction to machine learning.pptx
PDF
Big Data & Artificial Intelligence
PDF
Introduction to Machine Learning with Python ( PDFDrive.com ).pdf
PDF
ML MODULE 1_slideshare.pdf
Machine Learning and its Applications
Demystifying Machine Learning - How to give your business superpowers.
Machine Learning: Past, Present and Future - by Tom Dietterich
Developer's Introduction to Machine Learning
BIG DATA AND MACHINE LEARNING
Intro to machine learning
Lecture2 - Machine Learning
machine learning in the age of big data: new approaches and business applicat...
machine_learning_section1_ebook.pdf
Introduction to Machine Learning
Intro 2 Machine Learning
10 Things Every PHP Developer Should Know About Machine Learning
Hacking Predictive Modeling - RoadSec 2018
Unit - 1 - Introduction of the machine learning
Machine Learning - Challenges, Learnings & Opportunities
intro to ML by the way m toh phasee movie Punjabi
1 -1 Introduction to machine learning.pptx
Big Data & Artificial Intelligence
Introduction to Machine Learning with Python ( PDFDrive.com ).pdf
ML MODULE 1_slideshare.pdf

Recently uploaded (20)

PPTX
New ISO 27001_2022 standard and the changes
DOCX
Factor Analysis Word Document Presentation
PPTX
A Complete Guide to Streamlining Business Processes
PDF
Transcultural that can help you someday.
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PDF
annual-report-2024-2025 original latest.
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
PDF
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
PPTX
Managing Community Partner Relationships
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PDF
[EN] Industrial Machine Downtime Prediction
PPTX
Topic 5 Presentation 5 Lesson 5 Corporate Fin
PDF
Business Analytics and business intelligence.pdf
PPTX
importance of Data-Visualization-in-Data-Science. for mba studnts
PPTX
Database Infoormation System (DBIS).pptx
PPT
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
New ISO 27001_2022 standard and the changes
Factor Analysis Word Document Presentation
A Complete Guide to Streamlining Business Processes
Transcultural that can help you someday.
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
annual-report-2024-2025 original latest.
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
Managing Community Partner Relationships
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
STERILIZATION AND DISINFECTION-1.ppthhhbx
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
[EN] Industrial Machine Downtime Prediction
Topic 5 Presentation 5 Lesson 5 Corporate Fin
Business Analytics and business intelligence.pdf
importance of Data-Visualization-in-Data-Science. for mba studnts
Database Infoormation System (DBIS).pptx
lectureusjsjdhdsjjshdshshddhdhddhhd1.ppt
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
Acceptance and paychological effects of mandatory extra coach I classes.pptx

Fantastic Problems and Where to Find Them: Daryl Weir

  • 1. Fantastic Problems Daryl Weir_ Senior Data Scientist_ And Where to Find Them
  • 2. Founded in 2000 400+ employees from 22 countries 8th year in a row profitable growth YOY growth 30% Helsinki Tampere Stockholm Berlin Munich London We help our customers succeed in digital business_
  • 3. Daryl Weir_ Senior Data Scientist PhD Computer Science 
 University of Glasgow Research Intern
 Microsoft Finland Postdoc Researcher
 Aalto University Data Scientist
 Futurice daryl.weir@futurice.com
 @darylweir 2010-2014
 2014
 2014-2016
 2016-Now
  • 4. Machine Learning Hype_ AI, big data, machine learning… These have been buzz words for years now This talk tries to answer two key questions: - What can machine learning actually do? - Should I use machine learning to solve my problem?
  • 5. AI/Machine Learning is not Skynet (yet…)
  • 6. So what is it?_ Machine learning is really good at answering narrow questions It does this by learning from examples The most common method is supervised learning, where problems look like: Given some input A, predict an output B By choosing the right A and B, you can do some amazing stuff A—>B
  • 7. For example_ Baby’s first self driving car Narrow question: given the road looks like this, how should I turn the steering wheel to not crash? Input: camera image of the road Output: steering wheel angle (CMU did this in 1995 - the car drove 3000 miles across the US)
  • 8. But what kind of problem should we look for?_
  • 9. “If a typical person can do a mental task with less than one second of thought, we can probably automate it using AI” - Andrew Ng
  • 10. A (somewhat trite) counterexample_ 18 27 131 94 322 1061 Are these numbers odd or even? You can (hopefully) judge this in under a second But many popular machine learning algorithms are terrible at learning this (from the numbers alone) Not all problems that can be tackled with ML should be
  • 11. You might have a machine learning problem if: 1 - writing down a set of rules is hard BUT 2 - gathering examples is easy My rule of thumb_
  • 12. Is there a cat in this image?_ Writing rules for the presence or absence of a cat is really, really hard BUT Finding cat pictures is really, really easy
  • 13. Narrowing the focus_ What kind of things can we do? Predict the future Uncover hidden structureRecommend content
  • 15. Scenario_ We have lots of historical examples of system state, each one labelled by its outcome Given a new example of the state, we try to predict the outcome Such problems fall into two main types: regression and classification Regression problems are those where the outcome is a number, for example: — how many potatoes will my supermarket sell next week? — what’s the optimal price to sell this stock? — what speed should I drive given the weather & traffic? Classification problems are those where the outcome is one of a fixed set, for example: — whose face is in this image? — is this credit card transaction fraudulent? — do these scan results indicate cancer?
  • 16. Case: AirBnB_ AirBnB is a great example of a company oriented around data They blog regularly about data science and open source some of their tools One problem they’ve talked about: given the user’s search term, should we show a given listing in the results? Basic distance based search for San Francisco shows many rentals in Oakland Users were likely to find these results irrelevant Bayesian model estimates the probability of booking each listing given a specific search This sped up the booking process and significantly increased conversion rate
  • 17. Case: Railways_ Two buzz words for the price of one: machine learning + IoT! Modern trains and rails are highly instrumented with sensors (motion, sound, pressure, etc.) Using data from these, we can classify whether or not a part (e.g. a wheel or door) will fail within a given time Lets the operator move from scheduled to on-demand maintenance/replacement VR Group estimates this cuts amount of wheel maintenance by around a third Bonus inception: sometimes the sensor themselves start giving incorrect readings Another classifier can detect these faults before they suggest phantom breakdowns
  • 19. Scenario_ Many businesses depend on content of some sort, e.g.: — articles and videos — products in a store — ads It is often valuable to personalise the content shown to your users There are two main methods to predict content users will like Collaborative filters suggest things other users have liked The preferences of others are weighted by how similar they are to you — “Customers also bought…” — Spotify Discover Weekly Content based recommenders suggest, unsurprisingly, based on the actual content — these articles have similar topics to your previous reads — more videos from channels you watched But it’s not always easy/ possible to define similarity between pieces of content
  • 20. Case: Netflix_ Netflix is one of the most well known users of recommender systems Like AirBnB, they blog regularly and have some open source tools available Good recommendations increase user satisfaction, encourage continued use, and drive users to the ‘long tail’ Famously offered a $1M prize to anyone who could improve their recommender by 10% Winning solution was never used! Recently changed from star based ratings to a thumbs up/ down system Better UX, avoids differences in users’ rating systems
  • 22. Scenario_ What if we don’t have labels for our historical states? Another major ML application area is automatically detecting recurring patterns in data This is called unsupervised learning - it’s about learning what’s interesting about some given data This lets us ask different sorts of questions, like: — how do players of my game group together based on play behaviour? — is this spending behaviour unusual given someone’s past purchases? — what are the common topics in this collection of documents?
  • 23. Case: Google News_ Google has been very vocal about its transformation into “a machine learning company” As of 2016, ~10% of their engineers have ML experience and internal training is growing They have stated a goal of systematically applying machine learning in all their business areas The rankings of different topics and outlets can be tailored by the user explicitly The service can also learn user preferences from usage data Google News automatically groups versions of the same story from different outlets Stories are also grouped to form news categories
  • 25. Starting out with ML_ Only for masochistsDesigned with data analysis in mind Amazing library and community support Not general purpose Excellent tooling - try the Anaconda distribution Jupyter notebooks allow mixed code and Markdown Can be slow
  • 26. The real third option_ Fast, powerful language with excellent support for really big datasets (via Spark, Hadoop) Highly parallel Not very beginner friendly Designed with data analysis in mind Amazing library and community support Not general purpose Excellent tooling - try the Anaconda distribution Jupyter notebooks allow mixed code and Markdown Can be slow
  • 27. Resources_ “I want tutorials and interesting blog posts pitched at beginners (and I don’t mind Python)” github.com/hangtwenty/dive-into-machine-learning “Python sucks, show me resources for machine learning in <my language of choice>” github.com/josephmisiti/awesome-machine-learning “Coding sucks, I just want to read a book” ‘The Master Algorithm’ by Pedro Domingos
  • 28. If you remember 3 things_ 1) Machine learning answers narrow questions 2) Look for complex rules with plentiful examples 3) Don’t use Matlab Thanks for listening!
 daryl.weir@futurice.com
 @darylweir