Home/Learning Hub/Machine Learning
Workshop 2 of 3
Machine Learning
Teach a computer to learn from examples: train a model in the browser, then in Python.
- Level
- Beginner. Finish the Python workshop first, or know basic Python.
- Who it is for
- Students who know basic Python (loops, lists, functions).
- Length
- 5 sessions, about 5.3 hours in total
- You need
- A web browser
- Google Teachable Machine (free, no account)
- Google Colab (free Google account)
- Before you start
- Python basics. A free Google account for Google Colab.
What you will be able to do
- Explain what machine learning is and where it is used
- Read and summarize a small dataset
- Train a model that predicts a number
- Train a model that sorts things into groups
- Judge whether a model is fair and trustworthy
Final project: A small classifier on a dataset you choose, with a one-minute demo.
The five sessions
- Session 1
What Is Machine Learning?
Understand how a computer can learn from examples instead of rules, then train your first model in the browser.
- Session 2
Looking at Data
Use Python and pandas in Google Colab to load a small dataset, summarize it and spot a pattern.
- Session 3
Predicting Numbers
Train a first model with scikit-learn that predicts a number from another number.
- Session 4
Sorting Into Groups
Train a classifier that decides which group something belongs to, and measure how often it is right.
- Session 5
Can We Trust the Model?
Spot overfitting, think about fairness, and finish with a classifier project you can present.
Next workshop: AI App Development