Skip to content

Glossary: Probability for ML

Outer product (np.outer)

Also written: np.outer

`np.outer(a, b)` builds a table of every element of a times every element of b. Applied to two marginals, it gives the joint table you would see if the variables were independent.

Where the book teaches it

Related terms

Joint distributionIndependent