Free Course Image Classical Machine Learning: From Regression to Model Deployment

Free online course Classical Machine Learning: From Regression to Model Deployment

Duration of the online course: 23 hours and 1 minutes

New

Learn to train, evaluate, and deploy predictive models in this free online machine learning course, from linear regression to real-world rollout strategies.

In this free course, learn about

  • Distinguish training from inference and compare supervised, unsupervised, semi-supervised, and reinforcement learning.
  • Fit and interpret linear and polynomial regression using least squares, the pseudoinverse, and Gaussian likelihood.
  • Explain why MSE is convex and compare batch, stochastic, and mini-batch gradient descent and their learning rates.
  • Check regression assumptions, evaluate models with MAE, MSE, RMSE, and R², and explain when Huber loss is useful.
  • Use data splits and cross-validation to prevent leakage, diagnose bias and variance, and apply L1, L2, or Elastic Net.
  • Handle missing values and outliers, scale numerical features, encode categories, and engineer new features.
  • Explain how logistic regression uses sigmoid, log-odds, and Bernoulli likelihood, and why it minimizes log loss.
  • Compare KNN and Naive Bayes, including distance metrics, dimensionality effects, and Laplace smoothing.
  • Train and prune classification and regression trees; explain bagging, random forests, and Extra Trees.
  • Explain AdaBoost and gradient boosting, and compare optimizations in XGBoost, LightGBM, and CatBoost.
  • Explain hard and soft SVM margins, hinge loss, primal and dual formulations, kernel methods, and SVR.
  • Compare K-means, k-medoids, hierarchical clustering, DBSCAN, and GMMs with EM; assess cluster quality.
  • Detect anomalies with robust, density, boundary, and isolation methods; reduce dimensions with PCA, t-SNE, and UMAP.
  • Identify distribution shifts, choose when to retrain, and compare shadow deployment, A/B testing, and canary releases.

About the free online course

Building a model is one thing. Knowing whether to trust its predictions on new data is another. Classical Machine Learning: From Regression to Model Deployment is a free online course that connects the mathematics behind familiar algorithms with the decisions you make when training, evaluating, and deploying them. Video explanations build intuition through examples, while short exercises help you check your reasoning before moving on.

Linear regression provides a starting point for understanding what a model learns from data. You will see how least squares measures error, why gradient descent takes repeated steps to reduce it, and how a model can fit the training data closely without making reliable predictions on new examples. That distinction makes evaluation more than a matter of picking a metric. You will learn how to split data for a fair test and why even a routine preprocessing step can make results look better than they are if it uses information from the test set.

As you move from predicting numerical values to assigning class labels, you will compare what different models learn from the same data. A nearest-neighbor model depends on how you define distance, for example, while a decision tree looks for splits that separate observations. Those differences help explain why scaling matters for one model but may have little effect on another, and why randomized trees and boosted trees can improve predictions in different ways. When labels are unavailable, you will see how the shape and density of the data can influence which clustering method is a better fit.

The course also looks beyond the initial test score. A model that performed well during development can become less reliable as the data it receives or the relationships it learned change. You will explore how to recognize those shifts, decide when retraining makes sense, and compare rollout strategies such as shadow and canary deployment. If you are studying data science, artificial intelligence, or programming, this course will help you explain why you chose a model, how you tested it, and what you would watch once it starts making predictions in production.

Course content

  • Video class: Introduction to Machine Learning | Training & Inference Phase in ML 12m
  • Exercise: Match each machine learning component to its role.
  • Video class: Machine Learning | Supervised | Unsupervised | Semi Supervised | Reinforcement Learning 27m
  • Exercise: Distinguish supervised from unsupervised learning.
  • Video class: Why Linear Regression is NOT 'Linear' ? | Meaning of 'Linear' in Linear Regression | Explained 20m
  • Exercise: Complete the definition of linear regression.
  • Video class: Why Linear Regression is NOT 'Regression' ? | Meaning of 'Regression' in Linear Regression 06m
  • Exercise: Build a sentence describing how least squares fits a line.
  • Video class: Linear Regression | Dimensions of Fitting Hyperplane | Explained with Example 13m
  • Exercise: Match each linear regression term to its role in predicting salary.
  • Video class: Parameters of Linear Regression | Issues with Absolute Error | Loss Function | Cost Function 22m
  • Exercise: How does mean squared error measure the cost of a linear regression model?
  • Video class: Normal Equation | Issues with Inverse | Pseudo Inverse | Explained with Example 24m
  • Exercise: Match each linear regression expression to its role.
  • Video class: Probabilistic Interpretation of Linear Regression | MLE | Probability vs Likelihood | Explained 28m
  • Exercise: Evaluate the connection between likelihood and linear regression loss.
  • Video class: Convex Function | Why Mean Squared Error Function is Convex ? | Explained 12m
  • Exercise: Complete the statement about linear regression.
  • Video class: Gradient Descent Algorithm | Learning Rate | MSE Gradient Calculation | Explained with Examples 17m
  • Exercise: Build a sentence describing how gradient descent updates parameters.
  • Video class: Types of Gradient Descent | Batch GD | Stochastic GD | Mini-Batch GD | Explained with Examples 12m
  • Exercise: Order the steps in one mini-batch gradient descent update.
  • Video class: Polynomial Regression | Polynomial Features | Overfitting | Underfitting | Explained with Examples 12m
  • Exercise: How can polynomial regression model a curved relationship using linear regression?
  • Video class: Data Splitting (Train/Validation/Test Split) | Data Leakage | Stratified Sampling | Time Series Data 14m
  • Exercise: Match each data split to its primary purpose.
  • Video class: Cross Validation | K-Fold CV | LOOCV in Machine Learning | Explained with Examples 10m
  • Exercise: Evaluate this statement about k-fold cross-validation.
  • Video class: Bias Variance TradeOff in Machine Learning | Underfitting vs Overfitting | Explained with Examples 17m
  • Exercise: Identify the model's fitting problem
  • Video class: Regularization (L1/L2/ElasticNet) | Why weights shrink to 0 in L1 Regularization ? | Explained 22m
  • Exercise: Build a sentence explaining how regularization reduces overfitting.
  • Video class: Linear Regression Metrics | MAE | MSE | RMSE | R² Metric | Huber Loss | Explained with Examples 17m
  • Exercise: Order the steps to calculate RMSE on unseen data.
  • Video class: Assumptions of Linear Regression | Linearity | Normality | Homoscedasticity | Multicollinearity 12m
  • Exercise: What does linearity mean in linear regression?
  • Video class: Data Pre Processing in Machine Learning | Missing Values | Outliers | Scaling | Normalization 15m
  • Exercise: Match each scaling method to its description.
  • Video class: Encoding Categorical Variables | Label | Ordinal | Target | Count | Hash | One Hot Encoding 11m
  • Exercise: Identify an appropriate encoding for nominal features
  • Video class: Feature Engineering | Polynomial Features | Feature Crossing | Hash Encoding | Binning | Explained 09m
  • Exercise: Identify the feature engineering technique
  • Video class: Data Leakage in ML | Target Leakage | Temporal Leakage | Train Test Contamination | Explained 09m
  • Exercise: Build a sentence describing how to prevent train-test contamination.
  • Video class: Model Interpretability in ML | Why Model Interpretability is Important ? 07m
  • Exercise: How can you compare feature influence in a linear regression model?
  • Video class: Binary Classification | Sigmoid Function | Why is Logistic Regression called so ? 19m
  • Exercise: What role does the sigmoid function play in logistic regression?
  • Video class: Log Loss | Logistic Regression | Derivative Calculation | Sigmoid Function Derivative | Explained 27m
  • Exercise: Match each logistic regression concept to its role.
  • Video class: Regularization in Logistic Regression | L1 & L2 Regularization | Explained 15m
  • Exercise: Evaluate the statement about logistic regression regularization.
  • Video class: Log Odds (Logit) | Relation to Sigmoid Function | Logistic Regression Logit Assumption | Explained 09m
  • Exercise: Identify the quantity modeled by logistic regression.
  • Video class: Probabilistic Interpretation of Logistic Regression | Bernoulli Assumption | MLE | Explained 10m
  • Exercise: Build a sentence explaining why logistic regression uses log loss.
  • Video class: Introduction to KNN | K-Nearest Neighbors Algorithm | Explained with Examples 11m
  • Exercise: Order the steps of brute-force K-nearest neighbors classification.
  • Video class: KNN Optimizations | Standardization | Distance Weighted KNN | Mahalanobis Distance | Explained 24m
  • Exercise: Why is feature standardization useful for KNN?
  • Video class: Curse of Dimensionality | Cosine Similarity | Normalization | Explained with Examples 21m
  • Exercise: Match each high-dimensional concept to its description.
  • Video class: K Nearest Neighbors (KNN) Bias-Variance Tradeoff | Explained with Examples 09m
  • Exercise: Evaluate this statement about KNN's bias-variance trade-off.
  • Video class: Decision Trees in Machine Learning | When to use Decision Trees ? | Explained with Examples 16m
  • Exercise: Identify how a decision tree chooses splits.
  • Video class: Decision Trees Purity Metrics | Information Gain | Gini Impurity | Explained with Examples 18m
  • Exercise: Build a statement defining information gain in a decision tree.
  • Video class: Decision Trees for Regression | When to use Decision Trees for Regression ? | Explained 10m
  • Exercise: Order the steps for training and using a regression tree.
  • Video class: Regularization in Decision Trees | Pre Pruning | Post Pruning | Minimal Cost Complexity Pruning 15m
  • Exercise: How does increasing alpha affect cost-complexity pruning in a decision tree?
  • Video class: Bagging (Bootstrap Aggregation) | Decision Trees | Explained with Regression/Classification Examples 19m
  • Exercise: Match each bagging concept to its role.
  • Video class: Random Forest | Decision Trees | Feature Sub-Sampling | Correlation Impact | Explained with Examples 15m
  • Video class: Extremely Randomized (Extra) Trees | Decision Trees | Why Random Splitting gives Performance Gain? 14m
  • Exercise: Complete the statement about Extra Trees splits.
  • Video class: Boosting Ensemble Technique | Why is Boosting Better? | Explained with Examples 08m
  • Exercise: Build a sentence describing how boosting works.
  • Video class: Adaptive Boosting (AdaBoost) Algorithm | Explained with Example 14m
  • Exercise: Order the steps of AdaBoost classification.
  • Video class: Gradient Boosting Machine (GBM) | Pseudo Residuals | Gradient Descent in Function Space | Explained 28m
  • Exercise: How does gradient boosting update predictions for squared-error regression?
  • Video class: Gradient Boosted Decision Trees (GBDT) Algorithm | Step-by-Step Explanation 15m
  • Exercise: Match each gradient boosting component to its role in regression with mean squared error.
  • Video class: Gradient Boosted Decision Tree (GBDT) Algorithm | Explained with Example 20m
  • Exercise: How does gradient boosting improve regression predictions?
  • Video class: Advanced GBDT Algorithms | XGBoost | LightGBM | CatBoost | Brief Overview 04m
  • Exercise: Identify the gradient boosting library.
  • Video class: XGBoost Optimizations | Second Order Derivative| Sparsity Aware Splitting| Regularization| Explained 15m
  • Exercise: Build a sentence about XGBoost's optimization method.
  • Video class: LightGBM Optimizations | Gradient Based One Side Sampling(GOSS) | Exclusive Feature Bundling( EFB) 08m
  • Exercise: Order the steps of gradient-based one-sided sampling (GOSS).
  • Video class: CatBoost Optimizations | Ordered Target Encoding | Oblivious(Symmetric) Trees| Handle Missing Values 10m
  • Exercise: How does CatBoost's ordered target encoding reduce target leakage?
  • Video class: Support Vector Machine (SVM) | Decision Boundary & Margins | Geometric Intuition | Explained 09m
  • Exercise: Match each SVM concept to its role in a linearly separable classification problem.
  • Video class: Hard Margin Support Vector Machine (SVM) | Distance of Hyperplane | Primal Problem | Explained 14m
  • Exercise: Evaluate the hard-margin SVM requirement.
  • Video class: Soft Margin Support Vector Machine (SVM) | Hinge Loss View | Explained with Example 22m
  • Exercise: Calculate the slack for a data point.
  • Video class: Primal Dual Equivalence of Support Vector Machine (SVM) | Lagrangian | KKT Conditions | Explained 24m
  • Exercise: Build a sentence about the SVM dual formulation.
  • Video class: Kernel Trick in Support Vector Machines | Quadratic Kernel Function Example 19m
  • Exercise: Order the steps for training and using a kernel SVM.
  • Video class: Radial Basis Function (RBF) Kernel | Support Vector Machine | Infinite Dimension Mapping | Explained 15m
  • Exercise: How does the RBF kernel enable nonlinear classification in an SVM?
  • Video class: Support Vector for Regression (SVR) | Support Vector Machines | Explained with Example 16m
  • Exercise: Match each support vector regression concept to its role.
  • Video class: Naive Bayes Introduction | Bayes' Theorem | Naive Assumption | Explained with Example 20m
  • Exercise: Identify the Naive Bayes assumption
  • Video class: Naive Bayes' Issues | Laplace Smoothing | Underflow | Explained with Examples 11m
  • Exercise: Name the technique used to prevent zero likelihoods.
  • Video class: Naive Bayes' Algorithm | Explained with Example 11m
  • Exercise: Build a sentence about Laplace smoothing in Naive Bayes.
  • Video class: K-Means Clustering | Variance Decomposition | Why NP Hard Problem ? | Explained with Example 23m
  • Exercise: What does the K-means objective minimize?
  • Video class: Lloyd’s Algorithm | K Means | Explained with Example 15m
  • Exercise: How does Lloyd's algorithm update K-means clusters?
  • Video class: K Means++ Algorithm | Issues with Random Initialization | Explained with Example 11m
  • Exercise: Match each K-means++ concept to its description.
  • Video class: K-Medoids Algorithm | Partitioning Around Medoids (PAM) | Explained with Example 12m
  • Exercise: Identify a property of k-medoids clustering.
  • Video class: Clustering Quality Metrics | Elbow Method | Dunn Index | Explained with Example 11m
  • Exercise: Calculate the Dunn index.
  • Video class: Silhouette Score | Dunn Index Vs Silhouette Score | Explained with Example 20m
  • Exercise: Build a sentence describing a high silhouette score.
  • Video class: Hierarchical Clustering | Agglomerative Nesting | Explained with Example 20m
  • Exercise: Order the steps of agglomerative hierarchical clustering.
  • Video class: DBSCAN : Density- Based Spatial Clustering of Applications with Noise | Explained with Example 33m
  • Exercise: Why might DBSCAN be a better choice than K-means for curved clusters with outliers?
  • Video class: Gaussian Mixture Model (GMM) | Foundational Concepts | Explained with Example 16m
  • Exercise: Match each clustering concept to its description.
  • Video class: Gaussian Mixture Model (GMM) as Latent Variable Model | Why MLE Fails ? | Explained with Example 29m
  • Exercise: Identify the latent variable in a Gaussian mixture model.
  • Video class: Expectation Maximization Algorithm | Gaussian Mixture Model | Explained with Example 39m
  • Exercise: Identify the soft assignments in a Gaussian mixture model
  • Video class: Anomaly/Outlier/Novelty Detection Methods | Explained with Example 10m
  • Exercise: Build a sentence about unsupervised anomaly detection.
  • Video class: Elliptic Envelope | Anomaly Detection | Minimum Covariance Determinant (MCD)| Explained with Example 25m
  • Exercise: Order the steps of a minimum covariance determinant concentration step.
  • Video class: One Class Support Vector Machine (OC-SVM) | Anomaly Detection | Explained with Examples 18m
  • Exercise: How does a one-class SVM detect anomalies when trained mainly on normal observations?
  • Video class: Local Outlier Factor (LOF) | Anomaly Detection | Explained with Example 23m
  • Exercise: Match each Local Outlier Factor concept to its definition.
  • Video class: Isolation Forest (iForest) | Anomaly Detection | Explained with Example 21m
  • Exercise: Identify how isolation forests detect anomalies.
  • Video class: Random Sampling Consensus (RANSAC) | Anomaly Detection | Explained with Example 13m
  • Exercise: Identify points that agree with a RANSAC model
  • Video class: Principal Component Analysis (PCA) | Dimensionality Reduction | Explained with Example 35m
  • Exercise: Build a sentence describing the first principal component.
  • Video class: t-Distributed Stochastic Neighbor Embedding ( t-SNE) | Dimensionality Reduction | Explained 31m
  • Exercise: Order one t-SNE optimization step, starting with initialized coordinates and high-dimensional similarities.
  • Video class: Uniform Manifold Approximation and Projection (UMAP) | Dimensionality Reduction | Explained 23m
  • Exercise: How does UMAP reduce the dimensionality of data?
  • Video class: Data Distribution Shift | Covariate Shift | Label Shift | Concept Drift | Explained with Example 11m
  • Exercise: Match each type of distribution shift to its defining change.
  • Video class: Model Retraining Strategies | Periodic Retraining | Trigger- Based Retraining | Continual Learning 10m
  • Exercise: Evaluate the retraining strategy.
  • Video class: Deployment Patterns in ML | Shadow Deployment | A/B Testing | Canary Deployment | Explained 10m
  • Exercise: Identify the deployment pattern

This free course includes:

Icon for learning via the audio course

23 hours and 1 minutes of online video course

Icon for the digital course completion certificate

Digital certificate of course completion (Free)

Icon for exercises to practice what you've learned

Exercises to train your knowledge

Icon for courses that are 100% free from start to finish

100% free, from content to certificate

How does L1 regularization reduce overfitting in linear regression?

It penalizes large coefficients and can shrink some to zero, simplifying the model.

When is DBSCAN a better choice than K-means?

DBSCAN can be better for irregularly shaped clusters and data with outliers.

What is canary deployment for machine learning models?

It releases a model to a small group of users before a wider rollout.

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

Video Courses

More free courses at Artificial Intelligence and Machine Learning

See all video courses

Interactive tutorials

Step-by-step tutorials on Artificial Intelligence and Machine Learning

See all tutorials (14)