Machine Learning on Mobile

Amazon Web Services
Amazon Web ServicesAmazon Web Services
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introduction to Machine
Learning on Mobile
Dennis Hills
Mobile Developer Advocate
Pop-up Loft
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is AI?
Artificial Intelligence (AI) is a broad term for applying ANY technique
that enables computers to mimic human intelligence, using logic, if-
then rules, decision trees, and machine learning (including deep
learning). – think chatbots, robots, and KITT from Knight Rider!
Inventing entirely
new customer
experiences
Drones Voice driven
interactions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is Machine Learning?
A subset of AI: Machine learning
(ML) is a set of methods that can
automatically detect patterns in
data, and then use the uncovered
patterns to predict future data, or to
perform other kinds of decision
making under uncertainty.
Personalized
recommendations
Fulfillment
automation and
inventory
management
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
More definitions…
Machine Learning is all about using data to answer
questions. First, data (e.g., images, text, or voice) is
provided along with answers (labels) to that data. Then the
computer (model) is trained on this data so it can “learn”
and later make predictions (aka inference) on the mobile
device.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Important limitations for mobile
In general… mobile apps use pre-trained models to make
predictions. These models are first trained outside of the
app—typically in the cloud—and then brought into the app
to accomplish the task you desire.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why all the hype?!
Several developments in the world of ML
are creating an exciting playing field for
mobile developers:
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s Changed?
Advances in neural networks (algorithms) have
dramatically improved accuracy in recognizing
images and speech. Accuracy rates matter. So,
what seemed like science fiction not so long ago is
here today.
1
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s Changed?
Advances in cloud computing have greatly
reduced the time it takes to train these models. I’m
talking weeks to hours! That means fewer
resources, reduced capital expenses, and faster to
market.
2
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s Changed?
There’s also been a flood of third-party API-driven
machine learning services hitting the market that
do a lot of the heavy lifting for you. Build your own
or let someone else do it.
3
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Three Types of Machine Learning
Supervised Learning
Unsupervised Learning
Reinforcement Learning
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Supervised Learning
Supervised learning is a system of all labeled
data and a predictive model. We use labeled data
to train a “model” and then use that “model” to make
predictions (inference) on new unlabeled data. The
trained model is the core of our discussion when it
comes to machine learning on a mobile device.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Getting Started
So, we now understand machine learning, why it’s
being used, and what problems it can solve, but how
do I start playing with it as a mobile developer?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
iOS => Core ML
Android =>
TensorFlow Lite
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Now, you may be asking…why not TensorFlow
Lite on Android and iOS?!?!
Answer: Use the best tool for the job
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best of Both Worlds When it Comes to Prediction
The ML model is really the core of ML and you are
simply interfacing with the same trained model on the
device, but using the best framework for each platform.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Imagine a little baby sitting between the two icons . . . that baby is the ML Model
they both have in common.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you
Get Started:
aws.amazon.com/mobile
AWS Mobile Twitter:@AWSforMobile
Dennis Hills on Twitter: @dmennis
1 von 18

Recomendados

Information technology seminar topics von
Information technology  seminar topicsInformation technology  seminar topics
Information technology seminar topics123seminarsonly
20.6K views11 Folien
Computer science seminar topics von
Computer science seminar topicsComputer science seminar topics
Computer science seminar topics123seminarsonly
134.8K views11 Folien
Google glass ppt von
Google glass pptGoogle glass ppt
Google glass pptNidhin P Koshy
143.9K views29 Folien
20 Latest Computer Science Seminar Topics on Emerging Technologies von
20 Latest Computer Science Seminar Topics on Emerging Technologies20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging TechnologiesSeminar Links
32.3K views30 Folien
4 g wireless technology von
4 g wireless technology4 g wireless technology
4 g wireless technologyPRADEEP Cheekatla
17.8K views14 Folien
presentation on 4g technology von
presentation on 4g technologypresentation on 4g technology
presentation on 4g technologyAdarsh Kumar Yadav
22K views16 Folien

Más contenido relacionado

Was ist angesagt?

Edge Computing von
Edge ComputingEdge Computing
Edge ComputingChetan Kumar S
46.2K views22 Folien
Seminar presentation on 5G von
Seminar presentation on 5GSeminar presentation on 5G
Seminar presentation on 5GAbhijith Sambasivan
42.9K views60 Folien
6g wireless communication systems von
6g wireless communication systems6g wireless communication systems
6g wireless communication systemsSAIALEKHYACHITTURI
5.4K views20 Folien
Edge Computing.pptx von
Edge Computing.pptxEdge Computing.pptx
Edge Computing.pptxPriyaMaurya52
7.2K views18 Folien
Google loon ppt von
Google loon pptGoogle loon ppt
Google loon pptBRIJESH SINGH
18.6K views42 Folien
Screenless Display PPT von
Screenless Display PPTScreenless Display PPT
Screenless Display PPTVikas Kumar
104.1K views20 Folien

Was ist angesagt?(20)

Screenless Display PPT von Vikas Kumar
Screenless Display PPTScreenless Display PPT
Screenless Display PPT
Vikas Kumar104.1K views
Neural networks von Basil John
Neural networksNeural networks
Neural networks
Basil John1.5K views
5 g technology ppt von Karthik BT
5 g technology ppt5 g technology ppt
5 g technology ppt
Karthik BT519 views
Edge Computing: Bringing the Internet Closer to You von Megan O'Keefe
Edge Computing: Bringing the Internet Closer to YouEdge Computing: Bringing the Internet Closer to You
Edge Computing: Bringing the Internet Closer to You
Megan O'Keefe2.3K views
Mind reading computer ppt von Tarun tyagi
Mind reading computer pptMind reading computer ppt
Mind reading computer ppt
Tarun tyagi30.8K views
Internet of Things (IoT) - Seminar ppt von Nishant Kayal
Internet of Things (IoT) - Seminar pptInternet of Things (IoT) - Seminar ppt
Internet of Things (IoT) - Seminar ppt
Nishant Kayal227.9K views
6G mobile technology von AJOVE
6G mobile technology6G mobile technology
6G mobile technology
AJOVE14.7K views

Similar a Machine Learning on Mobile

Introduction to Machine Learning on Mobile: Mobile Week SF von
Introduction to Machine Learning on Mobile: Mobile Week SFIntroduction to Machine Learning on Mobile: Mobile Week SF
Introduction to Machine Learning on Mobile: Mobile Week SFAmazon Web Services
87 views17 Folien
Dennis Hills - Introduction to Machine Learning on Mobile.pdf von
Dennis Hills -  Introduction to Machine Learning on Mobile.pdfDennis Hills -  Introduction to Machine Learning on Mobile.pdf
Dennis Hills - Introduction to Machine Learning on Mobile.pdfAmazon Web Services
426 views22 Folien
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2... von
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Amazon Web Services
2.1K views40 Folien
AI Powered Conversational Interfaces von
AI Powered Conversational InterfacesAI Powered Conversational Interfaces
AI Powered Conversational InterfacesAmazon Web Services
392 views35 Folien
Introduction to AI von
Introduction to AIIntroduction to AI
Introduction to AIBoaz Ziniman
129 views44 Folien
Real-World AI and Deep Learning for Enterprise with Case Studies von
Real-World AI and Deep Learning for Enterprise with Case StudiesReal-World AI and Deep Learning for Enterprise with Case Studies
Real-World AI and Deep Learning for Enterprise with Case StudiesAmazon Web Services
1.1K views47 Folien

Similar a Machine Learning on Mobile(20)

Introduction to Machine Learning on Mobile: Mobile Week SF von Amazon Web Services
Introduction to Machine Learning on Mobile: Mobile Week SFIntroduction to Machine Learning on Mobile: Mobile Week SF
Introduction to Machine Learning on Mobile: Mobile Week SF
Dennis Hills - Introduction to Machine Learning on Mobile.pdf von Amazon Web Services
Dennis Hills -  Introduction to Machine Learning on Mobile.pdfDennis Hills -  Introduction to Machine Learning on Mobile.pdf
Dennis Hills - Introduction to Machine Learning on Mobile.pdf
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2... von Amazon Web Services
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2...
Amazon Web Services2.1K views
Real-World AI and Deep Learning for Enterprise with Case Studies von Amazon Web Services
Real-World AI and Deep Learning for Enterprise with Case StudiesReal-World AI and Deep Learning for Enterprise with Case Studies
Real-World AI and Deep Learning for Enterprise with Case Studies
Amazon Web Services1.1K views
Artificial Intelligence nella realtà di oggi: come utilizzarla al meglio von Amazon Web Services
Artificial Intelligence nella realtà di oggi: come utilizzarla al meglioArtificial Intelligence nella realtà di oggi: come utilizzarla al meglio
Artificial Intelligence nella realtà di oggi: come utilizzarla al meglio
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ... von Amazon Web Services
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...
Amazon Web Services5.1K views
AWS AI state of the union - AWS Cape Town Summit 2018 von Amazon Web Services
AWS AI state of the union - AWS Cape Town Summit 2018AWS AI state of the union - AWS Cape Town Summit 2018
AWS AI state of the union - AWS Cape Town Summit 2018
ai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisions von Amazon Web Services
ai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisionsai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisions
ai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisions
以 AWS 上的人工智能及數據平台開拓未來 von Amazon Web Services
以 AWS 上的人工智能及數據平台開拓未來以 AWS 上的人工智能及數據平台開拓未來
以 AWS 上的人工智能及數據平台開拓未來
Machine learning for developers & data scientists with Amazon SageMaker - AIM... von Amazon Web Services
Machine learning for developers & data scientists with Amazon SageMaker - AIM...Machine learning for developers & data scientists with Amazon SageMaker - AIM...
Machine learning for developers & data scientists with Amazon SageMaker - AIM...
How Trupanion Became an AI-driven Company for Pets von Amazon Web Services
How Trupanion Became an AI-driven Company for PetsHow Trupanion Became an AI-driven Company for Pets
How Trupanion Became an AI-driven Company for Pets
Machine Learning for innovation and transformation von Amazon Web Services
Machine Learning for innovation and transformationMachine Learning for innovation and transformation
Machine Learning for innovation and transformation
Building the Organization of the Future: Leveraging AI & ML von Amazon Web Services
Building the Organization of the Future: Leveraging AI & ML Building the Organization of the Future: Leveraging AI & ML
Building the Organization of the Future: Leveraging AI & ML
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic von Daniel Zivkovic
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovicNew way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic
Daniel Zivkovic237 views

Más de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... von
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
26.5K views46 Folien
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... von
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
5.6K views44 Folien
Esegui pod serverless con Amazon EKS e AWS Fargate von
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
4.1K views62 Folien
Costruire Applicazioni Moderne con AWS von
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
2.8K views61 Folien
Come spendere fino al 90% in meno con i container e le istanze spot von
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
1.8K views21 Folien
Open banking as a service von
Open banking as a serviceOpen banking as a service
Open banking as a serviceAmazon Web Services
7K views14 Folien

Más de Amazon Web Services(20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... von Amazon Web Services
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services26.5K views
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... von Amazon Web Services
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services5.6K views
Esegui pod serverless con Amazon EKS e AWS Fargate von Amazon Web Services
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services4.1K views
Come spendere fino al 90% in meno con i container e le istanze spot von Amazon Web Services
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services1.8K views
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea... von Amazon Web Services
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services3.3K views
OpsWorks Configuration Management: automatizza la gestione e i deployment del... von Amazon Web Services
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services2.6K views
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads von Amazon Web Services
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services1.7K views
Database Oracle e VMware Cloud on AWS i miti da sfatare von Amazon Web Services
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services1.3K views
Crea la tua prima serverless ledger-based app con QLDB e NodeJS von Amazon Web Services
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services1.9K views
API moderne real-time per applicazioni mobili e web von Amazon Web Services
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services1.5K views
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare von Amazon Web Services
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services1.5K views
AWS_HK_StartupDay_Building Interactive websites while automating for efficien... von Amazon Web Services
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Introduzione a Amazon Elastic Container Service von Amazon Web Services
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services2.7K views

Machine Learning on Mobile

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Introduction to Machine Learning on Mobile Dennis Hills Mobile Developer Advocate Pop-up Loft
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is AI? Artificial Intelligence (AI) is a broad term for applying ANY technique that enables computers to mimic human intelligence, using logic, if- then rules, decision trees, and machine learning (including deep learning). – think chatbots, robots, and KITT from Knight Rider! Inventing entirely new customer experiences Drones Voice driven interactions
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is Machine Learning? A subset of AI: Machine learning (ML) is a set of methods that can automatically detect patterns in data, and then use the uncovered patterns to predict future data, or to perform other kinds of decision making under uncertainty. Personalized recommendations Fulfillment automation and inventory management
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. More definitions… Machine Learning is all about using data to answer questions. First, data (e.g., images, text, or voice) is provided along with answers (labels) to that data. Then the computer (model) is trained on this data so it can “learn” and later make predictions (aka inference) on the mobile device.
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Important limitations for mobile In general… mobile apps use pre-trained models to make predictions. These models are first trained outside of the app—typically in the cloud—and then brought into the app to accomplish the task you desire.
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why all the hype?! Several developments in the world of ML are creating an exciting playing field for mobile developers:
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What’s Changed? Advances in neural networks (algorithms) have dramatically improved accuracy in recognizing images and speech. Accuracy rates matter. So, what seemed like science fiction not so long ago is here today. 1
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What’s Changed? Advances in cloud computing have greatly reduced the time it takes to train these models. I’m talking weeks to hours! That means fewer resources, reduced capital expenses, and faster to market. 2
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What’s Changed? There’s also been a flood of third-party API-driven machine learning services hitting the market that do a lot of the heavy lifting for you. Build your own or let someone else do it. 3
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Three Types of Machine Learning Supervised Learning Unsupervised Learning Reinforcement Learning
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Supervised Learning Supervised learning is a system of all labeled data and a predictive model. We use labeled data to train a “model” and then use that “model” to make predictions (inference) on new unlabeled data. The trained model is the core of our discussion when it comes to machine learning on a mobile device.
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Getting Started So, we now understand machine learning, why it’s being used, and what problems it can solve, but how do I start playing with it as a mobile developer?
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. iOS => Core ML Android => TensorFlow Lite
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Now, you may be asking…why not TensorFlow Lite on Android and iOS?!?! Answer: Use the best tool for the job
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best of Both Worlds When it Comes to Prediction The ML model is really the core of ML and you are simply interfacing with the same trained model on the device, but using the best framework for each platform.
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Imagine a little baby sitting between the two icons . . . that baby is the ML Model they both have in common.
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you Get Started: aws.amazon.com/mobile AWS Mobile Twitter:@AWSforMobile Dennis Hills on Twitter: @dmennis