Glossary: Linear Algebra for ML
Axis
Also written: axes, axis=0, axis=1
One direction of an array: axis 0 runs down the rows and axis 1 across the columns. The axis you name in `sum(axis=0)` is the one that gets collapsed.
Glossary: Linear Algebra for ML
Also written: axes, axis=0, axis=1
One direction of an array: axis 0 runs down the rows and axis 1 across the columns. The axis you name in `sum(axis=0)` is the one that gets collapsed.