Skip to content

Glossary: Linear Algebra for ML

allclose

Also written: np.allclose

A NumPy function that says whether two arrays are equal to within a tiny tolerance. Use it instead of `==` for decimals.

Where the book teaches it

Related terms

Floating-point rounding