Free · beginner-friendly · no sign-up
Learn the maths behind machine learning
From linear algebra and calculus to probability and statistics — clear, step-by-step guides and interactive tools that turn the mathematics of AI into something anyone can understand.
The mathematics of machine learning, made simple
Every machine-learning model — from linear regression to deep neural networks — is built on four areas of maths. You don’t need a degree to understand them. mlforbeginners breaks each one down with plain-English explanations, worked examples, and free calculators so you can see the maths work, not just read about it.
Linear Algebra
Vectors, matrices and eigenvalues — how data and models are represented.
Calculus
Derivatives and gradients — how models learn through gradient descent.
Probability
Distributions and uncertainty — how models reason about chance.
Statistics
Means, variance and tests — how we measure and validate results.
Explore by topic
Pick an area and dive into its guides and interactive calculators.
Linear Algebra
Vectors, matrices, eigenvalues, decompositions and transforms.
Explore → ∫Calculus
Derivatives, integrals, limits, Taylor series and gradients.
Explore → 📊Statistics
Mean, variance, z-scores, regression and confidence intervals.
Explore → 🎲Probability
Binomial, Poisson, normal and everyday probability tools.
Explore → 🔢Vectors & Matrices
Dot products, matrix multiplication, inverses and rank.
Explore → 🤖Machine Learning
The concepts the maths builds toward — explained simply.
Explore →Latest guides & calculators
Fresh tutorials and interactive tools, added regularly.
- Supervised vs Unsupervised vs Reinforcement Learning
- Sklearn Logistic Regression
- Logistic Regression Decision Boundary
- Logistic Regression Gradient Descent
- Odds Ratio Interpretation
- Logistic Regression Example
- Logistic Regression Assumptions
- Ordinal Logistic Regression
- Multinomial Logistic Regression
Why learn with mlforbeginners?
The maths behind AI, made genuinely approachable.
Completely free
Every guide and calculator is free — no sign-up, no paywall, no clutter. Just the maths.
Built for beginners
Plain-English explanations, worked examples and step-by-step tables — not just an answer.
Learn by doing
Interactive tools let you type in numbers and instantly see the result, the steps and a graph.
Ready to understand the maths behind AI?
Start with a topic, follow a guide, and practise with a calculator — one concept at a time.
Start learning →