AI & ML Quick Path

Part 3: Machine learning

How models learn from examples, the main types of problems (predict a number, pick a category, find groups, spot anomalies, forecast, recommend), the main algorithms, and how to measure and improve results.

9 lessonsAbout 12 hours of study (estimate)0 of 9 completed in this browser

Key terms in this part (32)

How learning works

  1. How a model learns: loss, training and overfitting

    Explain what a model, parameters and a loss are, how training reduces the loss step by step, and how to spot overfitting and underfitting.

    Beginner75 minNeeds: Data basics: types, features, labels and splits

  2. Regression: predicting a number

    Train regression models that predict numbers, judge them with MAE, RMSE and R², and choose the right model complexity.

    Beginner75 minNeeds: How a model learns: loss, training and overfitting, Feature engineering: turning raw data into model inputs

  3. Classification: picking a category

    Train a classifier, read its probabilities and confusion matrix, and choose a decision threshold that fits the business.

    Beginner75 minNeeds: How a model learns: loss, training and overfitting, Feature engineering: turning raw data into model inputs

  4. The main ML algorithms and when to use each

    Explain in plain words how linear models, k-nearest neighbours, decision trees, random forests, gradient boosting, support vector machines and naive Bayes work, and choose between them.

    Intermediate1.5 hNeeds: Regression: predicting a number, Classification: picking a category

  5. Unsupervised learning: groups, compression and anomalies

    Group similar items with clustering, compress many columns with PCA, and flag unusual records with anomaly detection, all without labels.

    Intermediate75 minNeeds: The main ML algorithms and when to use each

Measure and improve

  1. Measuring models honestly

    Choose the right metric for the problem, use cross-validation, read ROC and precision-recall results, and handle rare classes with thresholds and class weights.

    Intermediate1.5 hNeeds: Classification: picking a category, Regression: predicting a number

  2. Improving and explaining models

    Tune hyperparameters with grid, random and automated search, reduce overfitting with regularisation and ensembles, and explain predictions with feature importance and Shapley values.

    Intermediate1.5 hNeeds: Measuring models honestly, The main ML algorithms and when to use each

Common industry problems

  1. Time-series forecasting

    Forecast values over time with trend and seasonality, beat simple baselines, and always test on the future.

    Intermediate75 minNeeds: Regression: predicting a number, Measuring models honestly

  2. Recommender systems

    Build a collaborative-filtering recommender with matrix factorisation, compare it with simple baselines, and list the real-world issues (cold start, ranking, diversity).

    Intermediate75 minNeeds: Measuring models honestly