aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 2. Mathematical Foundations
Lesson 8 of 13 8 min · 152 words

Probability basics

Sample spaces, events and the rules of probability.

A sample space is the set of all possible outcomes of an experiment (for a die: ). An event is a subset of outcomes ("an even number"). A probability assigns each event a number in .

The axioms: ; ; and for disjoint events, . From these follow the complement rule and the general addition rule .

Events are independent if — knowing one happened tells you nothing about the other. Independence is a strong assumption that many models make (for example, that training examples are drawn i.i.d.).

Formula to remember

Covariance

Positive when X and Y tend to rise together.

Quick check · +5 XP

What is the Manhattan distance between A(3, 5) and B(6, 9)?

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser