Glossary: Linear Algebra for ML
Reshape
Also written: .reshape()
An array method that rearranges the same numbers into a new shape; `-1` means "work this size out". `.reshape(-1, 1)` makes a column vector.
Glossary: Linear Algebra for ML
Also written: .reshape()
An array method that rearranges the same numbers into a new shape; `-1` means "work this size out". `.reshape(-1, 1)` makes a column vector.