AI Hints
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.

📚 138 lessons▶ 2:45:46+ of video💻 134 code examples🖼 140 screenshots
The complete Statistics & Math for ML course, free on YouTubeWatch on YouTube ↗

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.

3. Averages

  1. The Mean6:53
  2. The Median7:56
  3. The Mode8:50

4. Choosing an Average

  1. Mean or Median?9:53
  2. The Weighted Mean11:02
  3. Averages Quiz12:08

6. Percentiles and Outliers

  1. Percentiles17:02
  2. Quartiles and Box Plots18:09
  3. Finding Outliers19:11

7. Shape

  1. Histograms20:30
  2. Skewness21:45
  3. Z-Scores22:57

8. Scaling Features

  1. Standardizing Features24:16
  2. Min-Max Scaling25:33
  3. Spread Quiz26:37

10. Probability Rules

  1. And, Or, Not31:36
  2. Independent Events32:41
  3. Conditional Probability33:44

15. The Normal Distribution

  1. The Normal Distribution49:01
  2. The 68-95-99.7 Rule50:10
  3. PDF and CDF51:15

16. The Central Limit Theorem

  1. Is It Normal?52:24
  2. The Central Limit Theorem53:39
  3. Distributions Quiz54:54

18. Intervals and the Bootstrap

  1. Intervals in Code1:00:01
  2. The Bootstrap1:01:18
  3. Bootstrap Anything1:02:28

19. Hypothesis Testing

  1. Hypothesis Testing1:03:32
  2. The p-value1:04:39
  3. The t-Test1:06:06

20. Testing in Practice

  1. A/B Testing1:07:17
  2. Chi-Square Test1:08:32
  3. Permutation Tests1:09:47

21. Errors and Power

  1. Type I and II Errors1:11:07
  2. Statistical Power1:12:22
  3. Many Tests1:13:30

22. Effect Size and Pitfalls

  1. Effect Size1:14:45
  2. Inference Pitfalls1:16:06
  3. Inference Quiz1:17:13

23. Relationships

  1. Covariance1:18:57
  2. Correlation1:20:05
  3. Correlation Is Not Causation1:21:06

24. Linear Regression

  1. Simple Linear Regression1:22:20
  2. Least Squares1:23:30
  3. R-Squared1:24:35

25. Residuals and Many Features

  1. Residuals1:25:49
  2. Multiple Regression1:27:05
  3. Regression Quiz1:28:16

26. Vectors

  1. Vectors1:29:49
  2. Vector Arithmetic1:30:59
  3. The Dot Product1:32:02

27. Length, Similarity and Matrices

  1. Length and Distance1:33:14
  2. Cosine Similarity1:34:25
  3. Matrices1:35:37

29. Solving and Eigenvectors

  1. Solving Linear Systems1:40:18
  2. Regression with Matrices1:41:26
  3. Eigenvectors1:42:27

30. PCA

  1. PCA1:43:39
  2. PCA in Practice1:44:56
  3. Linear Algebra Quiz1:46:02

31. Calculus Basics

  1. Slopes and Rates1:47:50
  2. Derivatives1:49:12
  3. Derivative Rules1:50:23

32. Chain Rule and Gradients

  1. The Chain Rule1:51:36
  2. Partial Derivatives1:52:52
  3. Gradients1:53:57

34. Learning at Scale

  1. Stochastic Gradient Descent1:58:32
  2. Backpropagation Idea1:59:48
  3. Calculus Quiz2:00:57

35. Loss and Logistic Regression

  1. Loss Functions2:02:36
  2. The Sigmoid2:03:43
  3. Logistic Regression2:04:47

36. Softmax and Entropy

  1. Softmax2:05:53
  2. Cross-Entropy2:07:02
  3. Entropy2:08:15

37. Likelihood and Overfitting

  1. Maximum Likelihood2:09:30
  2. Bias and Variance2:10:39
  3. Regularization2:11:43

38. Evaluating Models

  1. Train and Test Splits2:13:04
  2. Precision and Recall2:14:19
  3. ROC and AUC2:15:31

39. Cross-Validation and Interviews

  1. Cross-Validation2:16:44
  2. Interview Questions: Part 12:17:58
  3. Interview Questions: Part 22:19:31

41. Going Deeper: Data

  1. Log Transforms2:24:46
  2. Correlation Matrices2:25:56
  3. Simpson's Paradox2:27:07

42. Going Deeper: Samples and Classes

  1. Sampling Methods2:28:14
  2. Stratified Splits2:29:21
  3. Imbalanced Classes2:30:35

43. Going Deeper: Geometry

  1. Distances for ML2:32:00
  2. Projections2:33:12
  3. Matrix Rank2:34:20

44. Going Deeper: Optimization

  1. Second Derivatives2:35:25
  2. Local Minimums2:36:43
  3. Momentum2:37:49

45. Going Deeper: Probability in Models

  1. Naive Bayes in Code2:39:05
  2. KL Divergence2:40:20
  3. Calibration2:41:34

46. Cheat Sheet and Final Quiz

  1. Formula Cheat Sheet2:42:56
  2. Final Quiz2:44:04
  3. Course Complete2:45:46