AI Base

Course 03 of 10

Machine Learning

Systems that learn patterns from data instead of being handed every rule: datasets, models, evaluation and the classic algorithms.

10 chapters · 52 lessons · builds on Math · About this course

01The Learning Problem5 lessons

This section frames the whole subject: what it means for a program to learn from examples, the kinds of feedback a learner can have, how a dataset is laid out, why data must be split before… Chapter overview

  1. 1What Is Machine Learning 4 min
  2. 2Kinds of Learning 3 min
  3. 3Datasets, Features and Labels 3 min
  4. 4Train, Validation and Test Sets 3 min
  5. 5The Learning Loop 3 min
02Data and Features5 lessons
03Linear Models5 lessons

Linear models compute a weighted sum of the features and either use it directly (regression) or squash it into a probability (classification). Chapter overview

  1. 1Linear Regression in Practice 3 min
  2. 2Logistic Regression as a Classifier 3 min
  3. 3Ridge and Lasso 4 min
  4. 4The Perceptron 4 min
  5. 5Support Vector Machines 4 min
04Instance and Probability Methods5 lessons
05Trees and Ensembles5 lessons

Trees turn learning into a flowchart of yes/no questions, and ensembles combine many trees into something far stronger. Chapter overview

  1. 1Decision Trees 4 min
  2. 2Impurity and Splits 4 min
  3. 3Pruning and Overfitting 3 min
  4. 4Random Forests 4 min
  5. 5Gradient Boosting 4 min
06Evaluation6 lessons
07Unsupervised Learning6 lessons

When no answers are given, a model can still find structure: groups of similar points, the true number of dimensions in the data, or the odd ones out. Chapter overview

  1. 1k-Means Clustering 4 min
  2. 2Choosing the Number of Clusters 4 min
  3. 3Hierarchical Clustering 3 min
  4. 4Gaussian Mixtures and EM 4 min
  5. 5Dimensionality Reduction in Practice 3 min
  6. 6Anomaly Detection 3 min
08Bias, Fairness and Failure5 lessons
09Reinforcement Learning Basics5 lessons

Some problems come with no answer key, only a score after the fact. Reinforcement learning is about agents that learn to act from rewards. Chapter overview

  1. 1Rewards, States and Policies 4 min
  2. 2Value Functions 4 min
  3. 3Bandits and Exploration 4 min
  4. 4Q-Learning 4 min
  5. 5Policy Gradients 4 min
10Machine Learning in Practice5 lessons
Machine Learning glossaryEvery key term from this course in one alphabetical list. Next course · 04Deep Learning