Home›Statistics & Math for ML Tutorial
Free course
Statistics & Math for ML Tutorial
Learn the statistics and math behind machine learning from zero, one small and easy step at a time. Every formula is explained in plain words first, then computed in real Python, with real charts and real output.
Course contents
Every lesson has its own page with the explanation, code you can copy, the real output, screenshots from the video, and a link that jumps straight to that moment in the video.
1. Getting Started
2. Samples and NumPy
3. Averages
- The Mean6:53
- The Median7:56
- The Mode8:50
4. Choosing an Average
- Mean or Median?9:53
- The Weighted Mean11:02
- Averages Quiz12:08
5. Spread
- Why Spread Matters13:38
- Variance14:44
- Standard Deviation15:51
6. Percentiles and Outliers
- Percentiles17:02
- Quartiles and Box Plots18:09
- Finding Outliers19:11
7. Shape
- Histograms20:30
- Skewness21:45
- Z-Scores22:57
8. Scaling Features
- Standardizing Features24:16
- Min-Max Scaling25:33
- Spread Quiz26:37
9. Probability
10. Probability Rules
- And, Or, Not31:36
- Independent Events32:41
- Conditional Probability33:44
11. Bayes' Theorem
- Bayes' Theorem34:54
- Bayes: The Medical Test36:02
- Bayes for Spam37:11
12. Counting
- Counting: Permutations38:18
- Combinations39:26
- Probability Quiz40:33
13. Random Variables
- Random Variables42:06
- Expected Value43:16
- The Binomial Distribution44:21
14. Common Distributions
15. The Normal Distribution
- The Normal Distribution49:01
- The 68-95-99.7 Rule50:10
- PDF and CDF51:15
16. The Central Limit Theorem
- Is It Normal?52:24
- The Central Limit Theorem53:39
- Distributions Quiz54:54
17. Estimating
- Sampling Error56:37
- Standard Error57:45
- Confidence Intervals58:50
18. Intervals and the Bootstrap
- Intervals in Code1:00:01
- The Bootstrap1:01:18
- Bootstrap Anything1:02:28
19. Hypothesis Testing
- Hypothesis Testing1:03:32
- The p-value1:04:39
- The t-Test1:06:06
20. Testing in Practice
- A/B Testing1:07:17
- Chi-Square Test1:08:32
- Permutation Tests1:09:47
21. Errors and Power
- Type I and II Errors1:11:07
- Statistical Power1:12:22
- Many Tests1:13:30
22. Effect Size and Pitfalls
- Effect Size1:14:45
- Inference Pitfalls1:16:06
- Inference Quiz1:17:13
23. Relationships
- Covariance1:18:57
- Correlation1:20:05
- Correlation Is Not Causation1:21:06
24. Linear Regression
- Simple Linear Regression1:22:20
- Least Squares1:23:30
- R-Squared1:24:35
25. Residuals and Many Features
- Residuals1:25:49
- Multiple Regression1:27:05
- Regression Quiz1:28:16
26. Vectors
- Vectors1:29:49
- Vector Arithmetic1:30:59
- The Dot Product1:32:02
27. Length, Similarity and Matrices
- Length and Distance1:33:14
- Cosine Similarity1:34:25
- Matrices1:35:37
28. Matrix Operations
- Matrix Multiplication1:36:54
- Matrices as Transformations1:38:02
- Identity and Inverse1:39:06
29. Solving and Eigenvectors
- Solving Linear Systems1:40:18
- Regression with Matrices1:41:26
- Eigenvectors1:42:27
30. PCA
- PCA1:43:39
- PCA in Practice1:44:56
- Linear Algebra Quiz1:46:02
31. Calculus Basics
- Slopes and Rates1:47:50
- Derivatives1:49:12
- Derivative Rules1:50:23
32. Chain Rule and Gradients
- The Chain Rule1:51:36
- Partial Derivatives1:52:52
- Gradients1:53:57
33. Gradient Descent
- Gradient Descent1:55:01
- The Learning Rate1:56:16
- Gradient Descent for Regression1:57:21
34. Learning at Scale
- Stochastic Gradient Descent1:58:32
- Backpropagation Idea1:59:48
- Calculus Quiz2:00:57
35. Loss and Logistic Regression
- Loss Functions2:02:36
- The Sigmoid2:03:43
- Logistic Regression2:04:47
36. Softmax and Entropy
- Softmax2:05:53
- Cross-Entropy2:07:02
- Entropy2:08:15
37. Likelihood and Overfitting
- Maximum Likelihood2:09:30
- Bias and Variance2:10:39
- Regularization2:11:43
38. Evaluating Models
- Train and Test Splits2:13:04
- Precision and Recall2:14:19
- ROC and AUC2:15:31
39. Cross-Validation and Interviews
- Cross-Validation2:16:44
- Interview Questions: Part 12:17:58
- Interview Questions: Part 22:19:31
40. Practice Projects
41. Going Deeper: Data
- Log Transforms2:24:46
- Correlation Matrices2:25:56
- Simpson's Paradox2:27:07
42. Going Deeper: Samples and Classes
- Sampling Methods2:28:14
- Stratified Splits2:29:21
- Imbalanced Classes2:30:35
43. Going Deeper: Geometry
- Distances for ML2:32:00
- Projections2:33:12
- Matrix Rank2:34:20
44. Going Deeper: Optimization
- Second Derivatives2:35:25
- Local Minimums2:36:43
- Momentum2:37:49
45. Going Deeper: Probability in Models
- Naive Bayes in Code2:39:05
- KL Divergence2:40:20
- Calibration2:41:34
46. Cheat Sheet and Final Quiz
- Formula Cheat Sheet2:42:56
- Final Quiz2:44:04
- Course Complete2:45:46