Machine learning math
Modules
Learn the math behind machine learning
These 67 lessons cover the mathematical ideas used to describe data, train models, and evaluate results. The seven modules span statistics, probability, linear algebra, calculus, optimization, graph theory, and information theory. Choose a module from the sidebar, or open the full lesson index below to find a specific concept.
If you are starting out, begin with Basic Statistics to review averages and variance. Continue with Conditional Probability, then Dot Product & Vector Norms. These topics provide a useful foundation before working through derivatives and model training.
For the math behind training, follow Partial Derivatives with Backpropagation & Gradient Descent, then explore optimization methods. You can study graph theory and information theory whenever they become relevant to a model or problem you are working on. Each module lists its lessons, so you can follow this path or jump directly to the concept you need.
Browse all ML math lessons67 lessons across 7 modules
Statistics
Explore 15 essential concepts in Statistics designed to build your machine learning mathematical foundation.
Basic Statistics
Foundational concepts including mean, median, mode, and variance.
Population vs Sample
Distinguish between the entire group and a subset of data.
Sampling Distributions
Probability distribution of a given statistic based on a random sample.
Central Limit Theorem
Why averages of samples tend to be normal, regardless of population distribution.
Confidence Intervals
Range of values derived from sample statistics that is likely to contain the population parameter.
Hypothesis Testing Fundamentals
Framework for making statistical decisions using experimental data.
P-Values & Significance
Evaluating the strength of evidence against the null hypothesis.
Type I vs Type II Errors
Understanding false positives and false negatives in testing.
One-Sample T-Test
Testing if a sample mean significantly differs from a known population mean.
A/B Testing
Compare two versions of a variable to determine which performs better.
ANOVA
Analysis of variance to check means across multiple groups.
Correlation vs Causation
Understanding the difference between related variables and cause-and-effect.
Resampling Methods
Techniques like bootstrapping and cross-validation for model validation.
Maximum Likelihood Estimation (MLE)
Method for estimating the parameters of a probablity distribution.
Bayesian vs Frequentist Approach
Contrasting philosophies on probability and statistical inference.