All Courses•
Course Syllabus

Machine Learning Algorithms

Mathematical and algorithmic deep dives: Linear & Polynomial Regression, Logistic Regression, CART Trees, Random Forests, Gradient Boosting (XGBoost/LightGBM/CatBoost), SVMs, KNN, Naive Bayes, and Multi-Layer Perceptrons.

9Notebooks
Start Lesson 1
Lesson #1FREE
Intermediate

01. Linear and Polynomial Regression Deep Dive

Deep mathematical mechanics of linear and polynomial regression: Ordinary Least Squares (OLS) closed-form matrix derivation, gradient descent convergence, Gauss-Markov theorem, and polynomial basis expansion.

Linear RegressionPolynomial Regression+4
50 min
Read Notebook
Lesson #2FREE
Intermediate

02. Logistic Regression Algorithm Deep Dive

Internal mathematical formulation of logistic regression: sigmoid activation function derivations, log-odds logit mapping, Maximum Likelihood Estimation via Binary Cross-Entropy, and multiclass Softmax.

Logistic RegressionSigmoid+4
50 min
Read Notebook
Lesson #3FREE
Intermediate

03. Decision Trees (CART) Algorithm Deep Dive

In-depth CART algorithmic mechanics: mathematical formulations of Gini Impurity vs Shannon Entropy, recursive binary partitioning, cost-complexity pruning (ccp_alpha), and tree variance properties.

Decision TreesCART+4
50 min
Read Notebook
Lesson #4FREE
Intermediate

04. Random Forest Algorithm Deep Dive

Variance reduction through ensemble aggregation: bootstrap sampling mathematics, random feature subspace projection, out-of-bag (OOB) error estimation, and MDI vs permutation feature importance.

Random ForestBagging+4
50 min
Read Notebook
Lesson #5FREE
Advanced

05. Gradient Boosting (XGBoost, LightGBM & CatBoost)

Mathematical foundations of boosting: gradient descent in functional space, pseudo-residuals, learning rate shrinkage, and algorithmic architectural comparisons of XGBoost, LightGBM, and CatBoost.

Gradient BoostingXGBoost+4
55 min
Read Notebook
Lesson #6FREE
Advanced

06. Support Vector Machines: Mathematical Deep Dive

Rigorous mathematical treatment of SVMs: geometric margin maximization, KKT conditions, primal-to-dual Lagrangian derivation, soft-margin slack variables, and Mercer's condition for non-linear kernels.

SVMLagrange Multipliers+4
55 min
Read Notebook
Lesson #7FREE
Intermediate

07. k-Nearest Neighbors: Geometric Deep Dive

Geometric mechanics of instance-based learning: Minkowski distance metrics, mathematical proof of the curse of dimensionality, decision boundary geometry, and spatial search with KD-Trees and Ball-Trees.

KNNDistance Metrics+4
45 min
Read Notebook
Lesson #8FREE
Intermediate

08. Naive Bayes: Probabilistic Deep Dive

First-principles derivation of probabilistic classification: Bayes' theorem, conditional independence assumptions, Maximum Likelihood estimation, Laplace smoothing, and Gaussian/Multinomial/Bernoulli models.

Naive BayesBayes Theorem+3
45 min
Read Notebook
Lesson #9FREE
Advanced

09. Neural Networks: Multi-Layer Perceptron (MLP)

Foundational neural network architecture: forward propagation tensor algebra, non-linear activation functions, multivariate matrix calculus chain rule derivation for backpropagation, and weight initialization.

Neural NetworksMLP+4
55 min
Read Notebook