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 de 18

Recomendados

AI for Kids por
AI for KidsAI for Kids
AI for Kidselephantscale
800 visualizações29 slides
Steve Cunningham - AI Innovation Summit.pdf por
Steve Cunningham - AI Innovation Summit.pdfSteve Cunningham - AI Innovation Summit.pdf
Steve Cunningham - AI Innovation Summit.pdfSOLTUIONSpeople, THINKubators, THINKathons
243 visualizações20 slides
Securing data with blockchain and ai por
Securing data with blockchain and aiSecuring data with blockchain and ai
Securing data with blockchain and aiVenkat Projects
902 visualizações10 slides
Arduino and IoT (Internet of Things) por
Arduino and IoT (Internet of Things)Arduino and IoT (Internet of Things)
Arduino and IoT (Internet of Things)Shahed Mehbub
276 visualizações24 slides
Artificial Intelligence por
Artificial IntelligenceArtificial Intelligence
Artificial IntelligenceAbbas Hashmi
14.4K visualizações9 slides
Inteligencia artificial por
Inteligencia artificialInteligencia artificial
Inteligencia artificialCyntia Guevara Salas
778 visualizações22 slides

Mais conteúdo relacionado

Mais procurados

Introduction to IoT por
Introduction to IoTIntroduction to IoT
Introduction to IoTVikram Nandini
277 visualizações14 slides
Ashen Bhatti - How I Build Companies with LLM.pdf por
Ashen Bhatti - How I Build Companies with LLM.pdfAshen Bhatti - How I Build Companies with LLM.pdf
Ashen Bhatti - How I Build Companies with LLM.pdfSOLTUIONSpeople, THINKubators, THINKathons
210 visualizações20 slides
Terry Proto - AI Accelerates XR.pdf por
Terry Proto - AI Accelerates XR.pdfTerry Proto - AI Accelerates XR.pdf
Terry Proto - AI Accelerates XR.pdfSOLTUIONSpeople, THINKubators, THINKathons
285 visualizações19 slides
Artificial intelligence tapan por
Artificial intelligence tapanArtificial intelligence tapan
Artificial intelligence tapanTapan Khilar
2.1K visualizações48 slides
Introduction to the ethics of machine learning por
Introduction to the ethics of machine learningIntroduction to the ethics of machine learning
Introduction to the ethics of machine learningDaniel Wilson
272 visualizações28 slides
How Artificial Intelligence is taking over Human Jobs por
How Artificial Intelligence is taking over Human JobsHow Artificial Intelligence is taking over Human Jobs
How Artificial Intelligence is taking over Human JobsShradha Jindal
2.2K visualizações22 slides

Mais procurados(20)

Introduction to IoT por Vikram Nandini
Introduction to IoTIntroduction to IoT
Introduction to IoT
Vikram Nandini277 visualizações
Artificial intelligence tapan por Tapan Khilar
Artificial intelligence tapanArtificial intelligence tapan
Artificial intelligence tapan
Tapan Khilar2.1K visualizações
Introduction to the ethics of machine learning por Daniel Wilson
Introduction to the ethics of machine learningIntroduction to the ethics of machine learning
Introduction to the ethics of machine learning
Daniel Wilson272 visualizações
How Artificial Intelligence is taking over Human Jobs por Shradha Jindal
How Artificial Intelligence is taking over Human JobsHow Artificial Intelligence is taking over Human Jobs
How Artificial Intelligence is taking over Human Jobs
Shradha Jindal2.2K visualizações
Artificial Intelligence power point presentation document por David Raj Kanthi
Artificial Intelligence power point presentation documentArtificial Intelligence power point presentation document
Artificial Intelligence power point presentation document
David Raj Kanthi1.2K visualizações
AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte... por Kaleido Insights
AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte...AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte...
AI Readiness: Five Areas Business Must Prepare for Success in Artificial Inte...
Kaleido Insights 1.7K visualizações
artificial intelligence por vallibhargavi
artificial intelligenceartificial intelligence
artificial intelligence
vallibhargavi3.3K visualizações
Machine Learning for Dummies por Venkata Reddy Konasani
Machine Learning for DummiesMachine Learning for Dummies
Machine Learning for Dummies
Venkata Reddy Konasani60.3K visualizações
2023 GEOINT Tutorial - Synthetic Data Tools for Computer Vision-Based AI - Re... por Chris Andrews
2023 GEOINT Tutorial - Synthetic Data Tools for Computer Vision-Based AI - Re...2023 GEOINT Tutorial - Synthetic Data Tools for Computer Vision-Based AI - Re...
2023 GEOINT Tutorial - Synthetic Data Tools for Computer Vision-Based AI - Re...
Chris Andrews62 visualizações
Understanding IoT por Md. Shamsul Haque
Understanding IoTUnderstanding IoT
Understanding IoT
Md. Shamsul Haque1.6K visualizações
EDGE COMPUTING: VISION AND CHALLENGES por suthi
EDGE COMPUTING: VISION AND CHALLENGESEDGE COMPUTING: VISION AND CHALLENGES
EDGE COMPUTING: VISION AND CHALLENGES
suthi 952 visualizações
Social Impacts of Artificial intelligence por Saqib Raza
Social Impacts of Artificial intelligenceSocial Impacts of Artificial intelligence
Social Impacts of Artificial intelligence
Saqib Raza8.5K visualizações
Artificial Intelligence and Machine Learning por Mykola Dobrochynskyy
Artificial Intelligence and Machine LearningArtificial Intelligence and Machine Learning
Artificial Intelligence and Machine Learning
Mykola Dobrochynskyy3.3K visualizações
Artificial Intelligence Presentation por Adarsh Pathak
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
Adarsh Pathak6.6K visualizações
Artificial intelligence por Ankush
Artificial intelligenceArtificial intelligence
Artificial intelligence
Ankush 249 visualizações
Cloud computing ppt por Datta Dharanikota
Cloud computing pptCloud computing ppt
Cloud computing ppt
Datta Dharanikota246.9K visualizações

Similar a Machine Learning on Mobile

Introduction to Machine Learning on Mobile: Mobile Week SF por
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 visualizações17 slides
Dennis Hills - Introduction to Machine Learning on Mobile.pdf por
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 visualizações22 slides
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2... por
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 visualizações40 slides
AI Powered Conversational Interfaces por
AI Powered Conversational InterfacesAI Powered Conversational Interfaces
AI Powered Conversational InterfacesAmazon Web Services
392 visualizações35 slides
Introduction to AI por
Introduction to AIIntroduction to AI
Introduction to AIBoaz Ziniman
129 visualizações44 slides
Real-World AI and Deep Learning for Enterprise with Case Studies por
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 visualizações47 slides

Similar a Machine Learning on Mobile(20)

Introduction to Machine Learning on Mobile: Mobile Week SF por 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
Amazon Web Services87 visualizações
Dennis Hills - Introduction to Machine Learning on Mobile.pdf por 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
Amazon Web Services426 visualizações
Machine Learning for the Enterprise, ft. Sony Interactive Entertainment (ENT2... por 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 visualizações
AI Powered Conversational Interfaces por Amazon Web Services
AI Powered Conversational InterfacesAI Powered Conversational Interfaces
AI Powered Conversational Interfaces
Amazon Web Services392 visualizações
Introduction to AI por Boaz Ziniman
Introduction to AIIntroduction to AI
Introduction to AI
Boaz Ziniman129 visualizações
Real-World AI and Deep Learning for Enterprise with Case Studies por 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 visualizações
Artificial Intelligence nella realtà di oggi: come utilizzarla al meglio por 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
Amazon Web Services269 visualizações
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ... por 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 visualizações
AWS AI state of the union - AWS Cape Town Summit 2018 por 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
Amazon Web Services220 visualizações
ai mlLeverage Data and AI/ML to Drive New Experiences and Make Better Decisions por 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
Amazon Web Services787 visualizações
以 AWS 上的人工智能及數據平台開拓未來 por Amazon Web Services
以 AWS 上的人工智能及數據平台開拓未來以 AWS 上的人工智能及數據平台開拓未來
以 AWS 上的人工智能及數據平台開拓未來
Amazon Web Services396 visualizações
Machine learning for developers & data scientists with Amazon SageMaker - AIM... por 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...
Amazon Web Services788 visualizações
AI - State of the Union por Amazon Web Services
AI - State of the UnionAI - State of the Union
AI - State of the Union
Amazon Web Services294 visualizações
How Trupanion Became an AI-driven Company for Pets por 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
Amazon Web Services383 visualizações
Machine Learning for innovation and transformation por Amazon Web Services
Machine Learning for innovation and transformationMachine Learning for innovation and transformation
Machine Learning for innovation and transformation
Amazon Web Services351 visualizações
Drive digital transformation with AI por Amazon Web Services
Drive digital transformation with AIDrive digital transformation with AI
Drive digital transformation with AI
Amazon Web Services3.5K visualizações
Intro To AI & ML at Amazon: Collision 2018 por Amazon Web Services
Intro To AI & ML at Amazon: Collision 2018Intro To AI & ML at Amazon: Collision 2018
Intro To AI & ML at Amazon: Collision 2018
Amazon Web Services534 visualizações
An Overview of Machine Learning on AWS por Amazon Web Services
An Overview of Machine Learning on AWSAn Overview of Machine Learning on AWS
An Overview of Machine Learning on AWS
Amazon Web Services4.2K visualizações
Building the Organization of the Future: Leveraging AI & ML por 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
Amazon Web Services258 visualizações
New way to learn Machine Learning with AWS DeepLens & Daniel ZivKovic por 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 visualizações

Mais de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... por
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 visualizações46 slides
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... por
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 visualizações44 slides
Esegui pod serverless con Amazon EKS e AWS Fargate por
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 visualizações62 slides
Costruire Applicazioni Moderne con AWS por
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
2.8K visualizações61 slides
Come spendere fino al 90% in meno con i container e le istanze spot por
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 visualizações21 slides
Open banking as a service por
Open banking as a serviceOpen banking as a service
Open banking as a serviceAmazon Web Services
7.1K visualizações14 slides

Mais de Amazon Web Services(20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... por 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 visualizações
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... por 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 visualizações
Esegui pod serverless con Amazon EKS e AWS Fargate por 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 visualizações
Costruire Applicazioni Moderne con AWS por Amazon Web Services
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services2.8K visualizações
Come spendere fino al 90% in meno con i container e le istanze spot por 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 visualizações
Open banking as a service por Amazon Web Services
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services7.1K visualizações
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea... por 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 visualizações
OpsWorks Configuration Management: automatizza la gestione e i deployment del... por 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 visualizações
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads por 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 visualizações
Computer Vision con AWS por Amazon Web Services
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services3.1K visualizações
Database Oracle e VMware Cloud on AWS i miti da sfatare por 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 visualizações
Crea la tua prima serverless ledger-based app con QLDB e NodeJS por 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 visualizações
API moderne real-time per applicazioni mobili e web por 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 visualizações
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare por 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 visualizações
Tools for building your MVP on AWS por Amazon Web Services
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services2.4K visualizações
How to Build a Winning Pitch Deck por Amazon Web Services
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services1.4K visualizações
Building a web application without servers por Amazon Web Services
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services1.4K visualizações
Fundraising Essentials por Amazon Web Services
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
Amazon Web Services887 visualizações
AWS_HK_StartupDay_Building Interactive websites while automating for efficien... por 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...
Amazon Web Services672 visualizações
Introduzione a Amazon Elastic Container Service por Amazon Web Services
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services2.7K visualizações

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