SlideShare a Scribd company logo
COMBINING MACHINE
LEARNING WITH PHYSICAL
COMPUTING
Hal Speed
2023 June 16
https://www.slideshare.net/Hal_Speed
Combining Machine Learning with Physical Computing - June 2023
Breaking News
WEF Future of Jobs
weforum.org/reports
page 39
https://teachai.org/
Five Big Ideas in AI
● Framework to guide
the development of
standards and learning
materials
● For use by
governmental
organizations, curricula
developers, CSTA,
educators, etc.
Machine Learning Primer
What is Machine Learning?
● Machine Learning is a subfield
of Artificial Intelligence focused
on developing algorithms that
learn to solve problems by
analyzing data for patterns.
● Deep Learning is a type of
Machine Learning that
leverages Neural Networks and
Big Data
Artificial Intelligence
Deep Learning
Machine Learning
Source: EdX tinyML course
What is Machine Learning?
Computer
Computer
Human Programming
Machine Learning
Input Data (ingredients)
Human Program (recipe)
Input Data (ingredients)
Output (cake)
Desired Output (cake)
Program (recipe)
or Model
What is Machine Learning?
Computer
Computer
Human Programming
Machine Learning
Input Data (2,2)
Human Program (x+y)
Input Data (2,2)
Output (4)
Desired Output (4)
Program (x+y, x*y, x2, y2, ?)
or Model
Example from Harvard
Example from Harvard
Once We Have A Trained Model
Trained Model
Unlabeled or
Unclassified Data
Inferences or Classifications
(guesses with a degree of
confidence)
How Do ML Models “See” and “Hear”?
spectrogram
Large Language Models
● Examples
○ GPT-3 and GPT-4 from OpenAI
○ BERT, LaMDA, PaLM 2 from Google
○ LLaMA from Meta
● Uses massively large datasets to train a language model using deep learning
○ GPT-3 was trained on about 45TB of text data
○ For comparison, the English version of Wikipedia is estimated to be around 50GB
○ Wikipedia makes up 3% of GPT-3 training data
● Size of neural network parameters increasing at an exponential rate
13
https://code.org/ai https://tinymledu.org/4K12
AI Resource Lists
https://raise.mit.edu/resources.html
https://www.actua.ca/ai/
https://ai4k12.org/ https://aiforteachers.org/
Machine Learning Workflow
Collect Data
Preprocess
Data
Design a
Model
Train a
Model
Evaluate
Optimize
Convert
Model
Deploy
Model
Make
Inferences
Data
Engineering
or Data
Science
Model
Engineering
Model
Deployment
Source: EdX tinyML and Google TensorFlow
Usage
Jupyter Notebook/Colab
Edge Impulse
Seeed Studio Codecraft
ML Machine & PlushPal
Google Teachable Machine
Microsoft Lobe
ML for Kids
Scratch + Teachable Machine
smartphone
Wio
Terminal
Pico4ML
micro:bit
others
Arduino IDE
Microsoft
MakeCode
MicroPython/
CircuitPython
Code.org
Building a tinyML Pipeline for K-12
Collect Data
Preprocess
Data
Design a
Model
Train a
Model
Evaluate
Optimize
Convert
Model
Deploy
Model
Make
Inferences
Nano 33
ML Machine for micro:bit
● Easy to use gesture model
● Web based, no login
● See the data in real time
● Collect, train, test
● Have another micro:bit
respond to model
predictions
https://ml-machine.org/
PlushPal
18
https://www.plushpal.app/
EdX Tiny Machine Learning
https://www.edx.org/professional-certificate/harvardx-tiny-machine-learning
Arduino Tiny Machine Learning Kit
● Supported hardware kit for the
EdX courses
● Arduino Nano 33 BLE Sense
○ IMU (motion sensor)
○ microphone
● Plus OV7675 camera and
breakout board
● No-code ML platform
● Broad hardware support
including:
○ Smartphones
○ Arduino
○ micro:bit
○ Pico4ML
○ Wio Terminal
○ …and many more
● Coursera courses
● micro:bit V2 tutorials
○ Voice activated
○ Dance move detector
https://www.edgeimpulse.com/
Wio Terminal
https://www.seeedstudio.com/wio-terminal-tinyml.html
CodeCraft
● The power of Edge Impulse
with the simplicity to Scratch
● Learning resources
● Get Started with TinyML ebook
● Hackster project by Marcelo
Rovai
https://ide.tinkergen.com/
Other Hardware
Pico4ML
● Includes camera, IMU (motion), and
microphone
● Bluetooth optional
● Three pre-trained models and magic
wand tutorial available
https://www.arducam.com/pico4ml-an-rp2040-based-platform-for-tiny-machine-learning/
BrainCraft HAT + RPi with Lobe
Three different step-by-step
tutorials for image detection:
● Getting started
● Rock, paper, scissors
game
● Package detector
https://learn.adafruit.com/machine-learning-101-lobe-braincraft
Microsoft Farm Beats for Students
The easy-to-use FarmBeats kit includes
● preconfigured Microsoft Azure cloud services
● A Raspberry Pi with soil moisture, light, ambient
temperature, and humidity sensors to collect data.
● The data is then visualized in an online dashboard
that provides insights to help students.
Partnership
Future Farmers of America and Microsoft are working
together to create activity guides and resources to help
chapters get started with using the technology.
https://aka.ms/farmbeatsforstudents
AutoAuto
https://www.autoauto.ai/
Calypso for Cozmo
● A robot intelligence framework that
Incorporates multiple AI technologies:
○ Computer vision; face recognition
○ Speech recognition and generation
○ Landmark-based navigation
○ Path planning
○ Object manipulation
● Rule-based pattern matching language
inspired by Microsoft’s Kodu Game Lab
● Teaches computational thinking: “Laws of
Calypso”, idioms, etc.
world map
perception
rules
speech
recognition
https://calypso.software/
DeepRacer
● Intended for
professionals
● Support for advanced
sensors
https://aws.amazon.com/deepracer/
OpenBot
● Turning smartphone into robots
● Software stack for Android
● Real-time autonomous navigation
https://www.openbot.org/
HUSKEYLENS
● AI vision sensor
● Built-in training
algorithms
● Connect to micro:bit
and use MakeCode
or Mind+
● User guide and
tutorials wiki
https://www.dfrobot.com/product-1922.html
KOI Camera Module
● Works with or without micro:bit
● Progammable with MakeCode,
KittenBlock, and MicroPython
● Quick start guide and tutorials
https://www.kittenbot.cc/products/kittenbot-koi-artificaial-intelligence-module
Experiments with TF Lite for Microcontrollers
● Well-documented projects with
Tensorflow Lite for Microcontrollers
● Includes code & instructions
● Projects use the
Arduino Nano 33 BLE Sense
https://experiments.withgoogle.com/collection/tfliteformicrocontrollers
AIY - With Google
https://aiyprojects.withgoogle.com/
EdgeBadge
● Step-by-step tutorials for gesture
and speech detection
https://learn.adafruit.com/tensorflow-lite-for-edgebadge-kit-quickstart
● Introduction to ML: Image Classification
● Personal Image Classifier: PICaboo
● Personal Audio Classifier
● Voice Calculator Tutorial
● Therapist Bot Tutorial
● Awesome Dancing with AI Tutorial
● Facemesh Filter Camera
● Rock Paper Scissors Tutorial
https://appinventor.mit.edu/explore/ai-with-mit-app-inventor
Other AI Resources
Teachable Machine
https://teachablemachine.withgoogle.com/
https://www.lobe.ai/
Machine Learning for Kids
https://machinelearningforkids.co.uk
http://cognimates.me
Cognimates offers AI extensions
for Scratch, such as:
● speech recognition
● sentiment analysis
● visual pattern detection
● robot control
Face Sensing https://lab.scratch.mit.edu/face/
Other Scratch-based Editors w/ML Extensions
https://scratch.techpark.jp/ https://stretch3.github.io/
https://mblock.makeblock.com/
https://www.kittenbot.cc/pages/software
Google Quick, Draw!
https://quickdraw.withgoogle.com/
TensorFlow Playground
Tutorial: https://cloud.google.com/blog/products/gcp/understanding-neural-networks-with-tensorflow-playground
https://playground.tensorflow.org
● Data collection and analysis tool
https://codap.concord.org/
Code.org Resources
AI and Machine Learning Module
● ~ 5 week curriculum
● Standalone or optional unit in CS
Discoveries
https://code.org/ai
AI for Oceans
Classifier
How AI Works
Videos
AI and Ethics
High School Curriculum Unit
http://www.exploringcs.org/for-teachers-districts/artificial-intelligence
Intended to be an alternative unit to either unit 5 or 6 of the ECS course
AI in Education
https://iste.org/areas-of-focus/AI-in-education
AI4All: Online Learning
http://ai-4-all.org/open-learning
AI4ALL Open Learning empowers high school teachers of all
subjects to bring AI education to their classrooms through a free,
adaptable AI curriculum and teacher resources.
Interdisciplinary, Approachable AI Curriculum
ReadyAI Resources
https://www.readyai.org/
AI Picture
Books
AI Teaching &
Learning Kits
Self-paced
Courses
Lesson Plans Unplugged
Lessons
Teacher
Training
aiEDU
53
https://www.aiedu.org/
Other Books for Young Students
https://tinkertoddlers.com/
https://www.markcubanai.org/
https://www.waicy.org/
World AI Competition for Youth
● For students ages 6-18
● 2023 details coming soon

More Related Content

PPTX
Combining Machine Learning with Physical Computing - June 2022
PPTX
Teaching Machine Learning with Physical Computing - July 2023
PDF
EEP596-TinyML-Spring24-Slides detail description
PDF
Implementation of Tiny Machine Learning Models on Arduino 33 – BLE for Gestur...
PPTX
Artificial intelligence
PPTX
Building_AI_Application_in_the_Cloud.pptx
PDF
Microcontrollers for Artificial Intelligence and Machine Learning
PDF
TinyML: Machine Learning for Microcontrollers
Combining Machine Learning with Physical Computing - June 2022
Teaching Machine Learning with Physical Computing - July 2023
EEP596-TinyML-Spring24-Slides detail description
Implementation of Tiny Machine Learning Models on Arduino 33 – BLE for Gestur...
Artificial intelligence
Building_AI_Application_in_the_Cloud.pptx
Microcontrollers for Artificial Intelligence and Machine Learning
TinyML: Machine Learning for Microcontrollers

Similar to Combining Machine Learning with Physical Computing - June 2023 (20)

PPTX
TinyML & EDGE AI explained easily for kids
PDF
Introduction to TinyML - Solomon Muhunyo Githu
PDF
How to program DL & AI applications
PDF
Developer's Introduction to Machine Learning
PDF
Edge AI: Bringing Intelligence to Embedded Devices
PPTX
Introduction to Deep Learning and ML.pptx
PPTX
Introduction to Deep Learning and ML.pptx
PDF
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
PDF
Flutter + tensor flow lite = awesome sauce
PDF
Machine Learning Fundamentals.pdf - jntu
PDF
Webinar: Machine Learning para Microcontroladores
PPTX
How to learn machine learning
PDF
20240605 QFM017 Machine Intelligence Reading List May 2024
PDF
How Can AI and IoT Power the Chemical Industry?
PDF
HKOSCon18 - Chetan Khatri - Open Source AI / ML Technologies and Application ...
PDF
Machine Learning Challenges and Opportunities in Education, Industry, and Res...
PDF
Machine Learning & AI - 2022 intro for pre-college students.pdf
PPTX
MLaaS - Machine Learning as a Service
PDF
Data Science - NXT Level_Dr.Arun.pdf
PPTX
Startup Jungle Cambodia | How to Build your First Machine Learning Application
TinyML & EDGE AI explained easily for kids
Introduction to TinyML - Solomon Muhunyo Githu
How to program DL & AI applications
Developer's Introduction to Machine Learning
Edge AI: Bringing Intelligence to Embedded Devices
Introduction to Deep Learning and ML.pptx
Introduction to Deep Learning and ML.pptx
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
Flutter + tensor flow lite = awesome sauce
Machine Learning Fundamentals.pdf - jntu
Webinar: Machine Learning para Microcontroladores
How to learn machine learning
20240605 QFM017 Machine Intelligence Reading List May 2024
How Can AI and IoT Power the Chemical Industry?
HKOSCon18 - Chetan Khatri - Open Source AI / ML Technologies and Application ...
Machine Learning Challenges and Opportunities in Education, Industry, and Res...
Machine Learning & AI - 2022 intro for pre-college students.pdf
MLaaS - Machine Learning as a Service
Data Science - NXT Level_Dr.Arun.pdf
Startup Jungle Cambodia | How to Build your First Machine Learning Application
Ad

More from Hal Speed (20)

PDF
Bring Robotics and Machine Learning to Life - October 2024
PPTX
Engaging Young Learners with Humanoid Robots - Feb 2022
PDF
micro:bit classroom step-by-step setup guide
PPTX
micro:bit IET - Nov 2019
PPTX
mEducation Alliance Symposium - Oct 2019
PPTX
micro:bit WeTeach_CS Resource Palooza - Sept 2019
PPTX
Physical Computing: To the U.K. and Beyond! - Sept 2018
PPTX
Micro:bit Workshop -- July 2018
PPTX
micro:bit workshop -- June 2018
PPTX
Making Sense of Computer Science Requirements for Texas High Schools -- June ...
PPTX
Making Sense of Texas Computer Science Requirements - January 2018
PPTX
Micro:bit Arkansas CS Ed Leadership Summit 4.0 - Oct 2017
PPTX
Micro:bit Maker Faire NY Education Forum - Sept 2017
PPTX
CS4TX San Antonio Meeting - Sept 2017
PPTX
CS4TX Austin - Sept 2017
PPTX
Micro:bit -- July 2017
PPTX
Get Creative, Get Connected, Get Coding with micro:bit - June 2017
PPTX
Making Sense of Texas Computer Science Requirements - June 2017
PPTX
CS4TX Quarterly Webinar - April 2017
PPTX
Statewide Coalition Panel - 3 April 2017
Bring Robotics and Machine Learning to Life - October 2024
Engaging Young Learners with Humanoid Robots - Feb 2022
micro:bit classroom step-by-step setup guide
micro:bit IET - Nov 2019
mEducation Alliance Symposium - Oct 2019
micro:bit WeTeach_CS Resource Palooza - Sept 2019
Physical Computing: To the U.K. and Beyond! - Sept 2018
Micro:bit Workshop -- July 2018
micro:bit workshop -- June 2018
Making Sense of Computer Science Requirements for Texas High Schools -- June ...
Making Sense of Texas Computer Science Requirements - January 2018
Micro:bit Arkansas CS Ed Leadership Summit 4.0 - Oct 2017
Micro:bit Maker Faire NY Education Forum - Sept 2017
CS4TX San Antonio Meeting - Sept 2017
CS4TX Austin - Sept 2017
Micro:bit -- July 2017
Get Creative, Get Connected, Get Coding with micro:bit - June 2017
Making Sense of Texas Computer Science Requirements - June 2017
CS4TX Quarterly Webinar - April 2017
Statewide Coalition Panel - 3 April 2017
Ad

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Complications of Minimal Access Surgery at WLH
PPTX
master seminar digital applications in india
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Classroom Observation Tools for Teachers
PPH.pptx obstetrics and gynecology in nursing
Complications of Minimal Access Surgery at WLH
master seminar digital applications in india
Basic Mud Logging Guide for educational purpose
Pharmacology of Heart Failure /Pharmacotherapy of CHF
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Types and Its function , kingdom of life
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
RMMM.pdf make it easy to upload and study
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Supply Chain Operations Speaking Notes -ICLT Program
O5-L3 Freight Transport Ops (International) V1.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf

Combining Machine Learning with Physical Computing - June 2023