Skip to content

Glossary: Probability for ML

Dot product

Also written: np.dot

Multiplying matching numbers in two lists and adding up the results, written `np.dot(a, b)` in NumPy. It computes weighted sums such as expected values and the law of total probability.

Where the book teaches it

Related terms

Expected value (mean)Law of total probability