SlideShare a Scribd company logo
1 of 47
Introduction to Explore
ML with Crowdsource
Let’s play a game!
Visit https://crowdsource.app to download the app or
if you already have Crowdsource app, open the Smart
Camera task
Smart Camera
Open Smart Camera task and point your
camera to any objects around you.
Eg: Bottle, Table, a pot, book etc
See if the camera is able to identify the
object you are pointing to.
* Use the chat section to tell us if the camera was
able to recognize the object.
1. How does the image identification work?
2.How is it recognising the objects?
3.Further enquiry: How could we program this?
Smart Camera Game - Discussion
Here’s another game!
Quickdraw
Quickdraw Game
g.co/quickdraw
g.co/
quick
draw
1. How does the game work?
2.How is it recognising your drawings?
3.Further enquiry: How could we program this?
Quickdraw Game - Discussion
How does ML work in QuickDraw?
g.co/quickdrawdata
g.co/
quick
draw
data
if object.height > 10:
do x
if object.color is blue:
do y
if object.numberOfLegs > 2:
do z
...
Frame the goal of
the product
Refine until goals
are met
Designers and
engineers
develop flow and
logic
Quickdraw: Rule-based
Quickdraw: Machine Learning
Frame the goal of
the product
Refine until goals
are met
Train a model
using examples
Rules-based approach
Machine Learning
Alphabetising a list of song
titles
Rules-based
Which Approach to Use?
Rules-based approach
Machine Learning
Ranking Web Search
Results
Rules-based
Machine Learning
Which Approach to Use?
Rules-based
Machine Learning
Predicting Housing Prices
based on Location
Machine Learning
Which Approach to Use?
Processing online
payments
Rules-based approach
Machine Learning
Rules-based
Which Approach to Use?
Classifying an object in a
photo
Rules-based
Machine Learning
Machine Learning
Which Approach to Use?
Each has its benefits
Rule-based Approach Machine Learning
– Rules are defined
– Improvements come from
algorithms and network
– Learns patterns from data
– Improvements may from
additional data
Recap
Idea to
Implementation
Collect
Data
Train and
Test Model
Define
Objectiv
e
Predict and
Evaluate
Focus on
User
Machine Learning Process
What Can ML Do?
Artificial
Intelligence
Machine
Learning
Deep Learning
Big Data Algorithms
Technology
ML
MAMMAL
WILDLIFE
LION
Classification
See in action
Visit https://crowdsource.app to
download the app to try it.
Regression
Clustering
Semantic Similarity could be a
great example here to
understand Clustering
Visit https://crowdsource.app to
download the app or if you already have
Crowdsource app, open the Semantic
Similarity task to try it. (App only)
Sequence Prediction
You can see Sequence
Prediction in action by using
Glide type, Handwriting
recognition or Translation task
on the Crowdsource app.
Visit https://crowdsource.app to
download the app or if you already have
Crowdsource app, try the Glide type,
Handwriting recognition or Translation
task. (App/web)
+ =
EN Male
EN
Female
JP Male
Style Transfer
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
Recommending next word in
the android SMS app based on
the words typed so far
Sequence Prediction
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Classification
Labeling email as spam
or not-spam
Type of Machine Learning?
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Identifying trends amongst
a group of people who
have bought a new music
release
Clustering
Type of Machine Learning?
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
A bot that reads the news
in the voices of famous
actors
Style Transfer
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
Determining workout
activity based on phone
movement.
Classification
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
Identifying famous
landmarks in a photo
Classification
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
Suggesting spelling
corrections
Clustering
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
Predicting the quality score
for an advertisement
Regression
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
Estimating arrival time
based on time of day and
traffic.
Regression
Classification
Clustering
Regression
Sequence Prediction
Style Transfer
Type of Machine Learning?
Translating between two
languages
Style Transfer
Questions / Review
1. What is ML?
2. ML vs Rule-based
3. Idea to Implementation
4. AI vs ML vs Deep Learning
5. Types of ML [Classification, Clustering, Regression, Sequence Prediction, Style
Transfer]
Crowdsource by Google
Crowdsource Android and Web apps allow users to
answer quick questions in a gamified UI, and help
generate diverse training data for machine learning
(ML).
Proprietary + Confidential
In addition to learning ML, You’re helping
make a difference by contributions too!
Thank you!

More Related Content

Similar to ML Session-1

Design Patterns Summer Course 2010-2011 - Session#1
Design Patterns Summer Course 2010-2011 - Session#1Design Patterns Summer Course 2010-2011 - Session#1
Design Patterns Summer Course 2010-2011 - Session#1Muhamad Hesham
 
My dog me power piont
My dog  me power piontMy dog  me power piont
My dog me power piontDaljit Kaur
 
Hr salary prediction using ml
Hr salary prediction using mlHr salary prediction using ml
Hr salary prediction using mlshaiksafi1
 
Finding the Center (2013 Remix)
Finding the Center (2013 Remix)Finding the Center (2013 Remix)
Finding the Center (2013 Remix)Andrew Heaton
 
Stay Anonymous app report
Stay Anonymous app reportStay Anonymous app report
Stay Anonymous app reportZx MYS
 
How Sentiment Analysis works
How Sentiment Analysis worksHow Sentiment Analysis works
How Sentiment Analysis worksCJ Jenkins
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learningcolleges
 
Big data and AI presentation slides
Big data and AI presentation slidesBig data and AI presentation slides
Big data and AI presentation slidesCloudxLab
 
Building mobile communities
Building mobile communitiesBuilding mobile communities
Building mobile communitiesEmmanuel Bellity
 
How Deep Learning Changes the Design Process #NEXT17
How Deep Learning Changes the Design Process #NEXT17How Deep Learning Changes the Design Process #NEXT17
How Deep Learning Changes the Design Process #NEXT17Alexander Meinhardt
 
Will Critchlow - Living in the future of user behavior - #mozcon
Will Critchlow - Living in the future of user behavior - #mozconWill Critchlow - Living in the future of user behavior - #mozcon
Will Critchlow - Living in the future of user behavior - #mozconDistilled
 
Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMemi Beltrame
 
BugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed AdamBugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed AdamMohammed Adam
 
A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023
A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023
A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023Pedro Vicente
 
Drupal Camp Accessibility Presentation 2013
Drupal Camp Accessibility Presentation 2013Drupal Camp Accessibility Presentation 2013
Drupal Camp Accessibility Presentation 2013Phase2
 
The UX Toolbelt for Developers
The UX Toolbelt for DevelopersThe UX Toolbelt for Developers
The UX Toolbelt for DevelopersSarah Dutkiewicz
 

Similar to ML Session-1 (20)

Design Patterns Summer Course 2010-2011 - Session#1
Design Patterns Summer Course 2010-2011 - Session#1Design Patterns Summer Course 2010-2011 - Session#1
Design Patterns Summer Course 2010-2011 - Session#1
 
My dog me power piont
My dog  me power piontMy dog  me power piont
My dog me power piont
 
Hr salary prediction using ml
Hr salary prediction using mlHr salary prediction using ml
Hr salary prediction using ml
 
Explore ML - 2
Explore ML - 2Explore ML - 2
Explore ML - 2
 
Explore ML - 2
Explore ML - 2Explore ML - 2
Explore ML - 2
 
Google App Inventor
Google App InventorGoogle App Inventor
Google App Inventor
 
Finding the Center (2013 Remix)
Finding the Center (2013 Remix)Finding the Center (2013 Remix)
Finding the Center (2013 Remix)
 
Stay Anonymous app report
Stay Anonymous app reportStay Anonymous app report
Stay Anonymous app report
 
Buddy navigator
Buddy navigatorBuddy navigator
Buddy navigator
 
How Sentiment Analysis works
How Sentiment Analysis worksHow Sentiment Analysis works
How Sentiment Analysis works
 
introduction to machine learning
introduction to machine learningintroduction to machine learning
introduction to machine learning
 
Big data and AI presentation slides
Big data and AI presentation slidesBig data and AI presentation slides
Big data and AI presentation slides
 
Building mobile communities
Building mobile communitiesBuilding mobile communities
Building mobile communities
 
How Deep Learning Changes the Design Process #NEXT17
How Deep Learning Changes the Design Process #NEXT17How Deep Learning Changes the Design Process #NEXT17
How Deep Learning Changes the Design Process #NEXT17
 
Will Critchlow - Living in the future of user behavior - #mozcon
Will Critchlow - Living in the future of user behavior - #mozconWill Critchlow - Living in the future of user behavior - #mozcon
Will Critchlow - Living in the future of user behavior - #mozcon
 
Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup Basel
 
BugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed AdamBugBounty Roadmap with Mohammed Adam
BugBounty Roadmap with Mohammed Adam
 
A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023
A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023
A Multiplatform, Multi-Tenant Challenge - Droidcon Lisbon 2023
 
Drupal Camp Accessibility Presentation 2013
Drupal Camp Accessibility Presentation 2013Drupal Camp Accessibility Presentation 2013
Drupal Camp Accessibility Presentation 2013
 
The UX Toolbelt for Developers
The UX Toolbelt for DevelopersThe UX Toolbelt for Developers
The UX Toolbelt for Developers
 

More from DSCIITPatna

Web Dev Session 1.pptx
Web Dev Session 1.pptxWeb Dev Session 1.pptx
Web Dev Session 1.pptxDSCIITPatna
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionDSCIITPatna
 
Session 4 GCCP.pptx
Session 4 GCCP.pptxSession 4 GCCP.pptx
Session 4 GCCP.pptxDSCIITPatna
 
GCCP Session 2.pptx
GCCP Session 2.pptxGCCP Session 2.pptx
GCCP Session 2.pptxDSCIITPatna
 
GCCP Induction Session
GCCP Induction SessionGCCP Induction Session
GCCP Induction SessionDSCIITPatna
 
Orientation pdf_merged.pdf
Orientation pdf_merged.pdfOrientation pdf_merged.pdf
Orientation pdf_merged.pdfDSCIITPatna
 
Compose_Camp_Session_3_4.pptx
Compose_Camp_Session_3_4.pptxCompose_Camp_Session_3_4.pptx
Compose_Camp_Session_3_4.pptxDSCIITPatna
 
Compose_Camp_Session_1_2.pptx
Compose_Camp_Session_1_2.pptxCompose_Camp_Session_1_2.pptx
Compose_Camp_Session_1_2.pptxDSCIITPatna
 

More from DSCIITPatna (11)

ML Session-2
ML Session-2ML Session-2
ML Session-2
 
Web Dev Session 1.pptx
Web Dev Session 1.pptxWeb Dev Session 1.pptx
Web Dev Session 1.pptx
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 Session
 
Session 4 GCCP.pptx
Session 4 GCCP.pptxSession 4 GCCP.pptx
Session 4 GCCP.pptx
 
GCCP Session 3
GCCP Session 3GCCP Session 3
GCCP Session 3
 
GCCP Session 2.pptx
GCCP Session 2.pptxGCCP Session 2.pptx
GCCP Session 2.pptx
 
Session #1 GCCP
Session #1 GCCPSession #1 GCCP
Session #1 GCCP
 
GCCP Induction Session
GCCP Induction SessionGCCP Induction Session
GCCP Induction Session
 
Orientation pdf_merged.pdf
Orientation pdf_merged.pdfOrientation pdf_merged.pdf
Orientation pdf_merged.pdf
 
Compose_Camp_Session_3_4.pptx
Compose_Camp_Session_3_4.pptxCompose_Camp_Session_3_4.pptx
Compose_Camp_Session_3_4.pptx
 
Compose_Camp_Session_1_2.pptx
Compose_Camp_Session_1_2.pptxCompose_Camp_Session_1_2.pptx
Compose_Camp_Session_1_2.pptx
 

Recently uploaded

Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

ML Session-1

Editor's Notes

  1. Questions after the video: How would you define machine learning? Answers could include: Machine learning is a specific field of AI where a system learns to find patterns in examples in order to make predictions. Computers learning how to do a task without being explicitly programmed to do so. What questions do you have? What was interesting or surprising? Video Source: OxfordSparks Youtube Channel, What is Machine Learning? (2:20) CC Licenced
  2. [Spend 5-10 minutes discussing the questions on the slide. Discussion note: Encourage ideas and creativity. This is not about being right.]
  3. Machine learning is used in a growing number of applications. Though it is not a replacement for every task. In this activity, you'll explore an example of machine learning. Enjoy the activity and see if you can form a hypothesis or evidence-based theory on how it works. We'll use this to develop an understanding of how machine learning works. Open the internet browser on your computer and go to g.co/quickdraw. [Allow 10 minutes for students to try out the activity] Screenshot of Quickdraw. Source: Google
  4. [Spend 5-10 minutes discussing the questions on the slide. Discussion note: Encourage ideas and creativity. This is not about being right.]
  5. Here is a clue to how the game works. There is a large amount of data used to teach this game how to recognize images. If you go to g.co/quickdrawdata you can see a lot of examples for an object. In this slide are some of the examples for carrot. If you were going to describe what a carrot was to someone who had never seen one before using only these images. How would you describe it? [Encourage a discussion where learners describe a carrot using the images, they could use shapes like triangle or key characteristics such as a the leafy root on top or lines] Screenshot of Quickdraw Data. Source: Google
  6. You may already be familiar with traditional programming where you start with a goal, write logical rules, and refine through testing until it works the way you want it to. Imagine if you tried to describe a carrot the way you just described using traditional programming rules such as those on the right side of the slide. This approach would get very complicated especially if you wanted to account for all of the possible ways one could draw an object.
  7. Machine learning is an alternative approach to building software. Instead of programmers creating the rules, a model is trained with examples. Rather than trying to define for the computer what a carrot is and account for all of the possibilities, the computer is given lots of varying examples like you saw in the Quickdraw data and told this is a carrot, this is a carrot, and this is a carrot. The quickdraw model is going to be very similar to the handwriting recognition exercise, where the difference is in the output: for quickdraw, it's a softmax DNN model with a single possible output. For handwriting recognition, it's going to (most likely) be a generative RNN model that produces text. This approach results in a more flexible understanding. Question: What might be a limitation of a machine learning approach? The machine learning model is only as good as the examples. For example if all of the examples are triangle shaped, it might fail to recognize a rectangular shaped drawing as a carrot. Question: What type of tasks do you think would be a good fit for machine learning? Have students discuss and debate.
  8. [Animated slide: Click to show answer] Answer: Traditional programming/rules-based. Ask why. Explanations could include: There are sorting rules/algorithms well suited for this task. There are a fixed number of letters in the alphabet so there are only so many rules one would need to write.
  9. [Animated slide: Click to show answer] Answer: Both rules-based and machine learning systems could work well here. Ask why. Explanations could include: The approach you take would depend on your goal. Are you ranking web results based on relevance to my query? If the query was news, you might also want to take into account how recently the article was posted.
  10. [Animated slide: Click to show answer] Answer: Machine learning Ask why. Explanations could include: There is no perfect formula determining how much a home would cost based on its location. There are other factors that could play a part in how much a home price costs.
  11. [Animated slide: Click to show answer] Answer: Rule-based approach Ask why. Explanations could include: Online payments are a straightforward logical process. It is possible for a programmer to confidently program the exact steps necessary. Fraud detection, knowing whether a credit card number was stolen and used inappropriately is much more complex and hard to define. Machine learning could be used for this specific part of an online payment system.
  12. [Animated slide: Click to show answer] Answer: Machine learning. Ask why. Explanations could include: There are too many variables to try and create rules for every situation. No two photos are alike, so even a photo of a famous landmark could be captured at different angles, times of day/lighting. This would make it much harder to define what an object is in code. Machine learning builds a representation from many examples like this so it can be more flexible and able to handle these situations.
  13. Machine learning will not become the default option for software. It is best suited for certain situations but not all. Question: What are other examples of machine learning you could imagine?
  14. While machine learning offers powerful new opportunities, implementing a machine learning system can be more complex than traditional software. This is primarily because a machine learning system is only as good as the data it is trained on. In this section, I'll provide an overview of the process as well as important considerations.
  15. Play the video. Video Source: Google (4:20)
  16. Machine learning begins with the needs of your user and business. With this in mind, you define an objective so you know how to proceed. Examples could include: Predict which friends a user is likely to share a photo with. Suggest the user should eat in a new city based on the restaurants they have visited in the past. These goals should articulate success metrics as well. Machine learning models learn from examples so it is essential to find a large existing source of data that is relevant to your problem. Experts say, collecting, cleaning, exploring, and other data processes tend to be the longest but most critical part of the process. The arrow pointing back from prediction to data shows the iterative nature of ML. You will need to refine your model and perhaps your data collection and processing based on the feedback until it is achieving the results you are looking for.
  17. Before video: Humans are prone to trust results from a computer. We assume our technology will work as designed until it breaks. However, even a well designed machine learning pipeline can experience issues when it picks up on biases found in the data. After video: Question: When someone describes to you a new application of machine learning, what questions would you ask them based on this video? Question: What approaches could a software development team take to mitigate bias in their machine learning system? Video source: Google, Machine Learning and Human Bias (2:20)
  18. It's easy to look at examples of machine learning and see it as magical. It does open a lot of new possibilities with technology. We already considered for certain situations, whether ML was necessary. In this section, we will discuss what type of problems ML is best suited for.
  19. In news articles and discussions, it's common to hear artificial intelligence (AI), machine learning (ML), and deep learning (DL) used interchangibly but there are distinctions between them AI Artificial Intelligence is defined as any technology which appears to do something smart. This can be anything from programmed software to deep learning models which mimic human intelligence ML Machine learning is a specific kind of artificial intelligence but rather than a rule-based approach, the system learns how to do something from rather than being explicitly told what to do.examples DL Deep learning is a specific type of machine learning using a technique known as a neural network which connects multiple models together to solve even more complex types of problems. Deep Learning, similar to other ML models, learns via examples. It's unique because it connects models to other models in layers in order to handle more complex types of data like as images. Diagram source: Google (author: ostrowskid@)
  20. That brings us to this very simplified overview of the history of machine learning. You can find more detailed timelines on Wikipedia etc but here's the main takeaway. The key algorithms powering machine learning were formulated even as much as centuries ago. They come from disciplines like statistics, linear algebra, biology, physics. For the last few decades, sufficiently large amounts of data were collected to train models but they were low quality and expensive to train. Lack of progress and prospects led to an "AI Winter" where ML was considered a waste of time. In the last few decades, the availability of relatively cheap and fast computing power have enabled the complex calculations across large sets of data necessary to train highly accurate models. If learners are interested in more details they can visit: https://wikipedia.org/wiki/Timeline_of_machine_learning https://cloud.withgoogle.com/build/data-analytics/explore-history-machine-learning/
  21. Classification is a common application of machine learning. The system determines which class or category an example belongs to. The output can be a label and a percentage of confidence. For example if the classifier was trained to identify whether or not an image was of a lion it might output "Yes" or "No", however if it was more generically an animal classifier the output could be "lion" or "tiger". Classification systems depend on a threshold set by human developers so the system can distinguish between cases that might be less clear. If you built an email spam classifier it would be necessary to fine-tune the threshold so your system didn't incorrectly label an email as spam when it was genuine. Classification diagram source: Google (author: ostrowskid@) Lion image from Pixabay. Free for commercial use no attribution required.
  22. Regression systems output a number for example how long it will take to drive from point A to point B or the likelihood that someone will click on an ad. Regression systems can be as simple as drawing a line as you see above or more complex models depending on multiple variables. Regression diagram source: Google (author: ostrowskid@) Screenshot from Google Maps Another useful example of numeric regression that might be worth sharing here is things that predict $$$ money. Like a sales prediction model.
  23. Another application of machine learning is determining how closely related items are to one another. In this slide, the data of hand drawn images is moved into clusters of the same number (1s with 1s, 2s with 2s etc). Even within clusters of the same number, the images are further clustered by those which are similar in shape. For example, some 2s and 7s may look similar. Clustering diagram source: Google Screenshots from the embedding projector
  24. In order to assist users, it can be helpful to predict what they might do next. This could be a prediction of the next keyboard key a user will select as you see in the screenshot. This could be used to propose a spelling correction or suggest replies to a text message. Other examples of sequence prediction could include the next video a user might want to watch or a next stop on a vacation. Sequence diagram source: Google Keyboard source: Google
  25. Style Transfer or Generation involves training a model on one set of data and then applying that model to something completely different. It could be as seen in this example remaking photographs to look like another piece of art or translating a voice from male to female or even another language. Now that you have seen a few examples of machine learning, let's go through some other examples and you tell me which type of machine learning best describes it. I say "best" because some problems can be solved by multiple approaches to machine learning. Image Source: https://medium.com/tensorflow/neural-style-transfer-creating-art-with-deep-learning-using-tf-keras-and-eager-execution-7d541ac31398 Audio samples from https://deepmind.com/blog/wavenet-launches-google-assistant, visualized with Audacity software
  26. [Animated slide: Click to show answer] Answer: Sequence Prediction Ask why. Explanations could include: Given a specific sequence of input words, predicting the next word is the canonical problem for sequence modelling. Remember that the important point about sequence prediction is that the ordering of the inputs or outputs (or both) is meaningful to the problem to be solved. In that context, for the most part, making personalized predictions based on previous behaviors is generally not modeled as a sequence prediction. It might make sense as a sequence prediction in the context of, say, a single session -- understanding the order of items that has gone into the user's current shopping cart might be useful for predicting the next item in the user's current shopping cart. But if their "previous purchases" data goes back over any long amount of time (like weeks or months or years), it is generally assumed that there's no actual "sequence" in play over such a time frame. You'd still train on your users' previous purchases as examples of what they personally like to purchase, but the specific ordering of those purchases is not likely useful/important/interesting. Perhaps a better example of sequence models would be to predict the next word in the android SMS app based on the words typed so far? Given a specific sequence of input words, predicting the next word is the canonical problem for sequence modelling.
  27. [Animated slide: Click to show answer] Answer: Classification Ask why. Explanations could include: When the goal is to output discrete prediction labels like yes/no, spam/not-spam this is a good fit for a classification system.
  28. [Animated slide: Click to show answer] Answer: Clustering Ask why. Explanations could include: The goal for this problem is less about making a specific prediction (like the sequence prediction example earlier) but looking for similarities and finding clusters/trends/groupings based on something in common.
  29. [Animated slide: Click to show answer] Answer: Style Transfer Ask why. Explanations could include: Most common real examples of style transfer these days are deepfakes.
  30. [Animated slide: Click to show answer] Answer: Classification Ask why. Explanations could include: The goal is to output discrete labels such as walking, running, jumping which makes this task a good fit for classification. Question: It's possible this could be determined without machine learning but there would be so many situations where a person could be working out but instead are driving a car. How would you improve an machine learning system to better understand the difference? Ensure your model is trained with lots of examples of driving (the technical term in this situation is a false positive) and bicycling (also referred to as a true positive)
  31. [Animated slide: Click to show answer] Answer: Classification Ask why. Explanations could include: When the output is a discrete label such as the Brandenburg Gate, Eiffel Tower, Taj Mahal, Great Wall of China, Statue of Liberty, etc it is a classification problem.
  32. [Animated slide: Click to show answer] Answer: Clustering because words which are misspelled may end up closer to the correct spelling than a completely different word. Ask why. Explanations could include: Clustering is a useful approach for this problem because misspelled words tend to be closer to the intended word. Also if another word entirely was intended such as: Advocate (EN), Avocate (FR) Avocado (EN), Avocat (FR) These words would be close together as well. It is possible to build a spelling checker using traditional approaches but they would be complex, of lower quality, and need to be adapted to fit new words and slang.
  33. [Animated slide: Click to show answer] Answer: Regression Ask why. Explanations could include: The output of the machine learning system is a continuous numerical score such as 3 out of 10 or 97.2%. This score would probably be based on numerous features.
  34. [Animated slide: Click to show answer] Answer: Regression Ask why. Explanations could include: Again, the output of this system is a numerical value such as 1 hour and 5 minutes.
  35. [Animated slide: Click to show answer] Answer: Sequence Prediction Ask why. Explanations could include: Although both of the input types may be the same (text, audio) the languages are different. A translation model trained for one language could be retrained to translate between other languages. Some translation tools use programmed rules to translate from one language to another but increasing in quality requires they grow more complex. Languages may not have clear rules for translation between languages such as French and Mandarin Chinese.
  36. If time allows, ask students to summarize each of these topics or ask questions.
  37. Why Crowdsource exists How does it help in making Google products work for everyone, everywhere You bring your own unique background, experiences, and perspectives to Crowdsource. As a member of our global community of contributors, you're helping to create AI that can best serve the rich and varied diversities of our planet! Emphasize the impact of contributions (and thank the top contributors again for playing a part in this story)