Glossary: Linear Algebra for ML
Least squares
Also written: line of best fit, np.linalg.lstsq, lstsq
Choosing coefficients that make the sum of squared residuals as small as possible. `np.linalg.lstsq` does it and copes with repeated columns.
Glossary: Linear Algebra for ML
Also written: line of best fit, np.linalg.lstsq, lstsq
Choosing coefficients that make the sum of squared residuals as small as possible. `np.linalg.lstsq` does it and copes with repeated columns.