Machine learning ยท 30 lessons

Learn machine learning, from foundations to real projects.

Build your skills one lesson at a time. Start with data and your first predictions, learn to compare and improve models, then explore neural networks, deployment, and monitoring. Practice with Python examples and exercises as you work toward an end-to-end capstone project.

30 lessons Python coding examples Beginner to advanced Summaries and exercises
PythonCore language used in code examples
scikit-learnMain toolkit for classical ML
KerasIntroductory deep learning examples
Project-basedDesigned for practical application
How the course is organized

A three-stage learning path

The course starts with concepts and workflow basics, then moves into common models and evaluation, and finally reaches advanced engineering and deployment topics. This progression is especially helpful for self-learners who want a clear roadmap instead of scattered articles.

B1

Beginner

Lessons 1 to 10 build intuition for machine learning, data preparation, regression, classification, and evaluation basics.

I2

Intermediate

Lessons 11 to 20 focus on practical algorithms, tuning, cross-validation, clustering, PCA, and reproducible workflows.

A3

Advanced

Lessons 21 to 30 cover neural networks, computer vision, NLP, boosting, explainability, deployment, monitoring, and a capstone.

How to use this course
  • Start with the foundations. New to machine learning? Begin with Lesson 1 and follow the lessons in order.
  • Follow along in Python. Basic Python familiarity is helpful; Lesson 3 walks through setting up your environment.
  • Practice as you go. Run the examples, change the inputs, and complete the exercises to check your understanding.
  • Choose your starting point. Already comfortable with the basics? Browse the intermediate and advanced tracks below.
  • Bring it together. Use the capstone in Lesson 30 to apply the workflow in one project.
Beginner track

Lessons 1 to 10: Foundations

These lessons introduce the main ideas of machine learning, the workflow, the major learning types, data handling, regression, classification, and the basics of evaluation and preprocessing.

1

What Is Machine Learning?

Discover how models learn patterns from data and use them to make predictions on new examples.

BeginnerLesson 1
Open lesson
2

Types of Machine Learning

Compare supervised, unsupervised, and reinforcement learning, and learn which problems each approach addresses.

BeginnerLesson 2
Open lesson
3

Setting Up Your Python Machine Learning Environment

Prepare a Python environment and install the libraries you will use throughout the course.

BeginnerLesson 3
Open lesson
4

Working with Data in NumPy and pandas

Use NumPy arrays and pandas DataFrames to inspect, clean, and prepare data for modeling.

BeginnerLesson 4
Open lesson
5

The Standard Machine Learning Workflow

Follow a project from defining the problem and preparing data to training and evaluating a model.

BeginnerLesson 5
Open lesson
6

Regression Basics

Learn how regression models predict continuous values, such as prices or sales.

BeginnerLesson 6
Open lesson
7

Classification Basics

Learn how classification models assign labels, such as spam or not spam, to new examples.

BeginnerLesson 7
Open lesson
8

Training, Validation, and Test Sets

Separate training, validation, and test data to tune models and evaluate their performance fairly.

BeginnerLesson 8
Open lesson
9

Evaluation Metrics for Beginners

Choose evaluation metrics that reflect your task and understand what model scores tell you.

BeginnerLesson 9
Open lesson
10

Preprocessing and Feature Engineering

Transform raw data into useful features with encoding, scaling, and other preprocessing techniques.

BeginnerLesson 10
Open lesson
Intermediate track

Lessons 11 to 20: Common models and workflow improvement

These lessons turn core concepts into stronger practical skill by introducing popular algorithms, clustering, dimensionality reduction, cross-validation, tuning, and pipelines.

11

Linear Regression in Practice

Fit a linear regression model and interpret its coefficients, assumptions, and residuals.

IntermediateLesson 11
Open lesson
12

Logistic Regression in Practice

Use logistic regression to estimate class probabilities and make classification decisions.

IntermediateLesson 12
Open lesson
13

Decision Trees and Random Forests

Explore how decision trees split data and how random forests combine trees to improve predictions.

IntermediateLesson 13
Open lesson
14

k-Nearest Neighbors

Predict from nearby examples and explore how distance, scaling, and the number of neighbors affect results.

IntermediateLesson 14
Open lesson
15

Naive Bayes for Text and Simple Classification

Apply Naive Bayes to classification tasks and see why it is useful for text data.

IntermediateLesson 15
Open lesson
16

Support Vector Machines

Understand how support vector machines separate classes using decision boundaries and margins.

IntermediateLesson 16
Open lesson
17

Clustering with K-Means

Group similar observations with K-means and explore how to choose and evaluate clusters.

IntermediateLesson 17
Open lesson
18

Dimensionality Reduction with PCA

Reduce the number of features with principal component analysis and examine the information retained.

IntermediateLesson 18
Open lesson
19

Cross-Validation and Hyperparameter Tuning

Use cross-validation to estimate performance and search for effective model settings.

IntermediateLesson 19
Open lesson
20

Pipelines and Reproducible Workflows

Combine preprocessing and modeling in repeatable pipelines that help prevent data leakage.

IntermediateLesson 20
Open lesson
Advanced track

Lessons 21 to 30: Deep learning, deployment, and production thinking

The final section expands into neural networks, computer vision, text processing, boosted models, explainability, imbalance handling, deployment, monitoring, and an end-to-end capstone.

21

Neural Networks Fundamentals

Explore layers, weights, and activation functions, and learn how neural networks train.

AdvancedLesson 21
Open lesson
22

Deep Learning with Keras

Build, train, and evaluate a neural network with Keras.

AdvancedLesson 22
Open lesson
23

Convolutional Neural Networks for Images

Learn how convolutional layers identify spatial patterns and apply them to image classification.

AdvancedLesson 23
Open lesson
24

Natural Language Processing with Classical Machine Learning

Convert text into numerical features and train a classical machine learning model for text classification.

AdvancedLesson 24
Open lesson
25

Gradient Boosting for Tabular Data

Explore how gradient boosting combines learners sequentially to make predictions on tabular data.

AdvancedLesson 25
Open lesson
26

Model Interpretability and Explainability

Inspect model behavior and explain which features influence predictions.

AdvancedLesson 26
Open lesson
27

Handling Imbalanced Data and Rare Events

Evaluate and improve classifiers when the cases you care about are rare.

AdvancedLesson 27
Open lesson
28

Deploying a Machine Learning Model

Save a trained model and expose its predictions for use in an application.

AdvancedLesson 28
Open lesson
29

Monitoring, Drift, and Responsible Machine Learning

Recognize changes in data and model performance after deployment, and consider responsible use.

AdvancedLesson 29
Open lesson
30

Capstone: Build an End-to-End Machine Learning Project

Bring problem framing, data preparation, modeling, evaluation, and deployment planning together in one project.

AdvancedLesson 30
Open lesson
Your next step

Start with your first machine learning lesson

Learn what machine learning is, where it is useful, and how a model makes its first prediction.

Start Lesson 1