
Welcome to AI for IoT: Machine Learning, Deep Learning & TinyML.
In this lecture, you will meet the course, see what you will learn, and see how the 13 modules fit together, from sensor data to models, the edge, the cloud, security, and a capstone project.
Download the Course Roadmap below. It lists every module, the quizzes and assignments, and what you will be able to do by the end.
A course works best when you have a plan. In this lecture, you learn how to move through the lectures, labs, quizzes and assignments, and how to ask for help.
Two downloads go with this lecture:
Course Roadmap: the full path through all 13 modules.
Weekly Study Planner: a suggested 8-week pace with space for your own dates, goals and questions.
Tip: a steady 20 to 30 minutes a day usually works better than one long session at the weekend. Adjust the planner to suit your time.
Explore the evolution from isolated systems to connected intelligent ecosystems. See how cloud, edge, and AI enable real-time decisions, autonomous behavior, and seamless everyday intelligence.
Learn what AIoT is and why combining AI with the Internet of Things matters.
Download the AIoT Glossary (starter) to keep key terms at hand. Later modules add more terms.
See how the three differ, with examples.
Download the one-page cheat sheet to compare them quickly, including a simple test for telling them apart.
Learn the main parts of an AIoT system and the technologies that make it possible.
Download the Components Map, which shows the five stages and the feedback loop on one page.
Explore how AIoT is used in different industries.
Next comes a real success story in lecture 1.8, where you will start using the provided Use Case Canvas.
See how a real system senses, decides, and acts. Download the AIoT Use Case Canvas (fillable PDF or Word) and the worked example. Use them for Assignment 1, and again in the final module.
Get your computer ready for the labs. Download the Setup Checklist, requirements.txt and check_setup.ipynb. Run the check notebook at the end. When it prints SETUP CHECK: PASSED, you are ready.
A quick refresher on what IoT is and why it is growing, and where AI fits. Download the glossary of new terms for this module. If you want more IoT depth, the link to my course IoT for Industry 4.0 is included.
Learn how processing is spread across device, mist, edge, fog and cloud. Download the one-page architecture guide. It shows the four tiers and the five layers side by side.
See how sensors turn the physical world into data, and why data quality limits what AI can do.
Download the sensor and data quality guide, and use its checklist on any sensor stream.
Learn what makes IoT networking different, the wireless options, and why MQTT is the workhorse protocol. Download the networking choice guide. The link to my IoT for Industry 4.0 course is included if you want the full protocol landscape.
Learn what a gateway does and why edge computing matters.
Download the gateway and edge guide for a quick comparison of edge and cloud.
Follow data from sensor to action in a smart city.
Download the Data Journey Map and fill it in for a system of your own. You will use it in Assignment 2.
Learn the six pillars that make an IoT system ready for AI.
Download the AI Readiness Checklist and score a system you know. You will use it in Assignment 2.
Simulate actuator actions in a complete IoT workflow by using a Python function to turn a fan on when temperature exceeds 30 degrees, demonstrating reactive, event-driven control.
Acquire a complete end-to-end IoT pipeline overview, from sensors and MQTT to edge processing, cloud storage, visualization, and actuator responses in a closed-loop aiot system.
Meet data engineering, the nervous system of AIoT. You learn the five Vs, the five pillars, and the trends shaping the field.
Download: AIoT Glossary, Module 4 terms. Add them to your Module 1 glossary.
Learn the three traits that make IoT data different: it is time-series, it streams, and it is noisy.
Download the Data Engineering Foundations cheat sheet. It is a one-page summary of 4.1 and 4.2. Read it before Quiz 4.1
See how data gets in: batch and streaming, why most systems use both, and the tools you will meet.
Download: Batch vs Streaming Decision Guide. Use its four questions on your own use case.
Learn the six main storage models, where to deploy them (edge, cloud or hybrid), and how to choose.
Download: Storage Model Chooser.
Learn to fix missing values, outliers, duplicates and mixed units, and to put features on a common scale.
Download: Cleaning and Normalization cheat sheet, with the formulas and two worked examples.
Turn clean sensor readings into inputs that models can learn from.
Downloads: Feature Engineering Catalogue and feature_recipes.ipynb.
The notebook uses made-up sensor data. Run it and change the numbers. You need the setup from lecture 1.9.
Learn to fill gaps and detect anomalies, and to tell errors from real events.
Downloads: Missing and Anomalous Data Guide and missing_and_anomalies.ipynb.
Prepare IoT data for machine learning by labeling and training-testing splits, mitigating bias, and preserving time-series order, while cleaning, transforming, and engineering features for reliable models.
See the whole pipeline in one picture: real-time and batch paths, design trade-offs, and a five-level maturity model. Downloads: Pipeline Design Canvas (fillable PDF), a worked example, and the Maturity Self-Assessment. You use them in Module 4 Assignment.
Simulate an IoT device and build a real-time MQTT streaming pipeline with a publisher, broker, and subscriber, enabling pub-sub communication and live sensor data to cloud dashboards.
Build a complete AIoT data engineering pre-processing pipeline that cleans, normalizes, and engineers features from IoT sensor data, handling missing values and outliers before analytics and AI models.
AI, Machine Learning and Deep Learning Foundations
Download: AI_ML_DL_Cheat_Sheet.pdf, Module6_Glossary_Additions.pdf
The one-page cheat sheet sums up perception, cognition and action, how a model is made, and the three nested circles of AI, ML and DL. The glossary adds the Module 6 terms to the ones you already have.
The Machine Learning Workflow: Problem and Data
Download: none here. The workflow cheat sheet is attached to 6.3.
Tip: Before the next lecture, write one sentence naming the decision your model would support, the action that follows, and the cost of a wrong answer.
Training, Evaluating and Deploying
Download: ML_Workflow_Cheat_Sheet.pdf
Covers the six stages, data traps, six feature families, train, validate, tune and test, how to tell underfitting from overfitting, and what to monitor after deployment.
Types of Machine Learning
Download: Types_of_ML_Chooser.pdf
Compares supervised, unsupervised and reinforcement learning, classic ML against deep learning, and a short history from 1950s rules to the 2017 transformer.
Supervised Learning
Download: Supervised_Algorithms_Compared.pdf
Logistic regression, decision tree, random forest and support vector machine side by side, plus a six-point checklist for getting supervised learning right.
Regression for IoT
Download: Regression_Cheat_Sheet.pdf
Four uses of regression, model families, soft sensing, a step-by-step remaining useful life example, and the MAE, RMSE and R squared metrics.
Classification for IoT
Download: Classification_Cheat_Sheet.pdf
Regression against classification, which technique fits which data, six uses, four real-world challenges, and where precision and recall fit.
Unsupervised Learning
Download: Unsupervised_Learning_Cheat_Sheet.pdf
K-Means, DBSCAN, PCA, and Isolation Forest in one table; how K-Means learns step by step; and where clustering helps in factories, buildings, networks, and fleets.
Anomaly Detection
Download: Anomaly_Detection_Guide.pdf
Point, contextual and collective anomalies, four ways to define normal, how to choose a method, setting the threshold, and six field habits.
Predictive Maintenance
Download: Predictive_Maintenance_Playbook.pdf
Reactive, preventive and predictive maintenance compared, the data you need, which model answers which question, the loop, and four challenges.
Evaluating Models
Download: Model_Evaluation_Cheat_Sheet.pdf, ml_metrics_playground.ipynb
The cheat sheet has the confusion matrix and every metric. The notebook uses made-up data to show the accuracy trap, change the alert threshold, and see how the cheapest threshold moves when costs change. It needs only numpy, pandas, scikit-learn and notebook from the lecture 1.9 setup.
Choosing the Right Model
Download: Model_Selection_Decision_Guide.pdf, Model_Selection_Canvas.pdf, Worked_Example_Bearing_Failure_Warning.pdf, model_comparison_template.ipynb
The guide covers the six forces, the simple to complex spectrum and the six-step path. Use the fillable canvas for Assignment 1, and read the worked example first. The notebook compares a baseline, a tree and a forest on accuracy, recall, size and speed. Swap in your own data.
Explore hands-on predictive maintenance with supervised learning, featuring feature engineering, data cleaning, and a linear regression model trained on synthetic IoT data for real-time temperature prediction.
Attached are Jupyter Notebook files for extra practice. Building on what you learned in the previous labs, these notebooks will help you apply the concepts through additional hands-on exercises.
Why Deep Learning for AIoT
Download: Why_Deep_Learning_Cheat_Sheet.pdf, Module8_Glossary.pdf
One page on the data that needs deep learning, six AIoT uses, and the benefits and costs. The glossary adds the Module 8 terms to your earlier ones.
Neural Networks Basics (IoT Context)
Download: Neural_Network_Cheat_Sheet.pdf, neural_network_playground.ipynb
The cheat sheet covers the neuron, layers, the learning loop and the key terms. The notebook uses made-up Machine M-17 data to build one neuron, train a small network, watch the loss fall, and see how the learning rate and network size change the result. It needs numpy, pandas, scikit-learn and matplotlib.
CNNs for Image and Video-Based IoT
Download: CNN_Cheat_Sheet.pdf, cnn_filter_demo.ipynb
The cheat sheet covers how a CNN reads an image, the three vision tasks, six uses and four ways to fit it on a small device. The notebook applies edge filters and pooling by hand to a made-up image with a crack, and counts what lower resolution saves. It needs numpy, scipy and matplotlib.
RNNs and LSTMs for Sensor Time-Series
Download: RNN_LSTM_Cheat_Sheet.pdf, sensor_windows_notebook.ipynb
The cheat sheet covers hidden state, the LSTM gates, windows, and the three options for time series. The notebook cuts a made-up vibration stream into windows, splits by time, compares simple models on predicting the next value, and tries different window lengths.
Autoencoders for Fault and Anomaly Detection
Download: Autoencoder_Cheat_Sheet.pdf
The cheat sheet covers encoder, bottleneck and decoder, the train-on-normal idea, the five-step workflow, and four things to get right. A hands-on autoencoder notebook is attached to the lab lectures.
Deep Learning vs ML in AIoT
Download: DL_vs_ML_Decision_Guide.pdf
Classic ML and deep learning side by side, how the data type guides the choice, six factors to weigh, the start-simple habit, and the hybrid edge and cloud pattern.
Resource Constraints and Optimisation
Download: Model_Optimisation_Guide.pdf, model_shrinking_demo.ipynb
The guide covers the six constraints, pruning, quantisation and distillation, and the path from trained model to deployed model. The notebook prunes and quantises a small network and shows distillation, measuring what each costs in accuracy and recall.
Deep Learning Model Selection for AIoT
Download: DL_Model_Selection_Guide.pdf, Deep_Learning_Design_Canvas.pdf, Worked_Example_Conveyor_Inspection.pdf, model_scorecard_template.ipynb
The guide covers matching a network to the task, the size ladder, the scorecard and the selection routine. The canvas is fillable and the worked example shows a finished one for camera inspection on a conveyor. The notebook compares a classic baseline, a small network and a larger network on made-up data, on quality, size, speed and a rough energy proxy.
Deep Learning Labs: What You Will Build
Download: Lab_Checklists.pdf, Lab1_Autoencoder_Anomaly_Detection.ipynb, Lab2_Small_CNN_Edge_Image_Classification.ipynb
The checklists follow the five steps of each lab so you can tick them off. The two notebooks are the hands-on labs with step-by-step instructions and code: Lab 1 trains an autoencoder on made-up vibration data and flags faults, and Lab 2 trains a small CNN on small images and measures its size and speed. Lab 1 needs only numpy, pandas, matplotlib and scikit-learn. Lab 2 also needs PyTorch (pip install torch).
Lab 1 lecture (Autoencoder Anomaly Detection on Sensor Data)
Download: Lab1_Autoencoder_Anomaly_Detection.ipynb, Lab_Checklists.pdf
Description: Work through the 13 steps in the notebook: generate data, window it, split by time, train on normal only, score the error, set the threshold, compare with Isolation Forest, run three experiments (bottleneck, threshold, drift), and simulate monitoring.
Lab 2 lecture (Edge Image Classification with a Small CNN)
Download: Lab2_Small_CNN_Edge_Image_Classification.ipynb, Lab_Checklists.pdf
Description: Work through the 12 steps in the notebook: load and prepare images, build and train a small CNN, evaluate honestly, study mistakes, measure size and speed, shrink it three ways, compare with a baseline, and simulate an edge device that sends doubtful images to the cloud.
Edge AI, Part 1
- Edge_AI_Cheat_Sheet.pdf: One page on why cloud-only AI struggles (latency, connectivity, bandwidth and cost), the four advantages of the edge, the edge pipeline, the hybrid loop and the main challenges. Covers lectures 9.1 and 9.2.
- Module9_Glossary.pdf: Plain-language meanings of the terms used across Module 9, from edge and TinyML to canary rollout. Keep it beside you while you watch.
TinyML
- TinyML_Cheat_Sheet.pdf: One page on microcontrollers, Edge AI versus TinyML, five reasons TinyML matters, the three-layer voice assistant and the six-step TinyML pipeline. Memory figures are typical, so check your board's datasheet.
- tinyml_pipeline_and_footprint.ipynb: A tested notebook. Turn raw vibration windows into a few features, train small models, estimate their size in KB, and check whether each fits a microcontroller. Uses made-up data and needs only numpy, pandas and scikit-learn.
LECTURE 9.4 Edge vs Cloud Inference
- Edge_vs_Cloud_Decision_Guide.pdf: Six factors, the three-question decision path and the three outcomes (edge, cloud, hybrid), with a note on how to think about cost.
- Where_Should_It_Run_Canvas.pdf: A fillable eight-box canvas. Type straight into the PDF to decide where your own system should run.
- Worked_Example_Machine_M17.pdf: The same canvas filled in for Machine M-17 vibration monitoring, as a model answer.
- Edge_vs_Cloud_Cost_Calculator.xlsx: A simple calculator comparing cloud-only and hybrid cost over time, with a break-even point. The lecture does not quote prices, so every price in the file is an example. Replace the yellow cells with your own quotes.
LECTURE 9.5 Hardware and Ecosystems Downloadables -
- Hardware_and_Ecosystems_Cheat_Sheet.pdf: The hardware spectrum from microcontrollers to edge GPU modules, six processing units, the software stack and co-design. Product names change quickly, so check what is current.
- Hardware_Shortlist_Worksheet.pdf: A fillable worksheet for comparing three candidate boards on memory, power, runtimes, price and fit, then recording your choice and why.
Model Optimisation
- Model_Optimisation_Cheat_Sheet.pdf: Quantisation (post-training and quantisation-aware), pruning (structured and unstructured), distillation, efficient architectures, and the optimisation loop on one page.
- optimisation_loop_notebook.ipynb: A tested notebook that runs the loop on a small network: baseline, 8-bit quantisation, fewer bits, both kinds of pruning, distillation and a combined model, with a results table against a size and accuracy target. All int8 is simulated on a computer, so test speed on the real device.
Simulate accelerometer motion data and train a lightweight on-device model to recognize gestures in a TinyML workflow. Deploy real-time inference on constrained devices, balancing efficiency and accuracy under TinyML constraints.
This course uses AI for Content Generation.
Turn IoT Data into Decisions with AI
Billions of connected devices produce data every second. Most of it is never used. Teams that can turn sensor streams into predictions, alerts and automated actions are in short supply, and that is the skill this course teaches.
AI for IoT: Machine Learning, Deep Learning & TinyML takes you from the fundamentals of machine learning to running models on tiny devices and managing them at scale in the cloud. You follow one realistic industrial case, Machine M-17, from its first sensor reading to a monitored, production-ready AI system. Each concept is applied to a real problem, not just explained.
What You Will Learn
Machine learning for sensor data: prepare IoT data, train and evaluate models, and predict failures, anomalies and trends.
Deep learning for IoT: use neural networks for time series, vibration, images and sound.
Edge AI and TinyML: run models on devices, from a Raspberry Pi to a microcontroller with kilobytes of memory.
Model optimisation: shrink models with quantisation, pruning, distillation and efficient architectures, and convert them for deployment.
Choosing where AI should run: decide between edge, cloud and hybrid using latency, connectivity, privacy, cost and scale.
Cloud AI for IoT: compare cloud IoT platforms, train models in the cloud and serve predictions at scale, from a 40-device pilot to a 40,000-device fleet.
Real-time analytics and dashboards: process data streams, design alerts that avoid false alarms, and build dashboards people can act on.
MLOps and monitoring: detect data drift and concept drift, retrain safely, and roll out updates with confidence.
Digital twins in AIoT: understand how twins combine live data, simulation and AI to predict and prevent problems.
Learn by Doing
Every module comes with materials you can use immediately:
Runnable Python notebooks you can adapt to your own data
One-page cheat sheets for quick revision
Fillable design canvases with worked examples
A cost calculator for planning a move from pilot to fleet
Quizzes after each part of the course
Assignments with sample answers so you can check your own thinking
Who This Course Is For
Engineers and developers who want to add AI to IoT products
Data scientists moving into embedded, edge or industrial work
IoT, automation and Industry 4.0 professionals who want to use machine learning
Technical managers and architects who need to make sound AI deployment decisions
Students and career changers who want a practical route into AIoT
Why Enroll Now
One course, the whole journey: from data to model to device to cloud to production, not isolated topics.
Practical and current: it covers TinyML, edge AI, modern model optimisation and cloud MLOps, and tells you where products and names change so you know what to check.
Built around decisions: you learn when to use each technique, as well as how.
Portfolio-ready: the canvases, notebooks, and assignments give you real work to show.
If you want to build AI that works outside the lab, on real devices and at real scale, enroll today.