Polynomial Fitting by Least Squares - Linear Algebra

preview_player
Показать описание
In this video we discuss the linear algebra required to perform a least squares polynomial fitting. We then code up the least squares polynomial fitting algorithm in Python.

Chapters:
00:00 - Introduction
00:30 - Overview of Procedure
01:47 - The Linear Algebra
03:39 - Python Code
05:56 - Running the Code
07:00 - Error handling and Overfitting
08:12 - The Plots
10:53 - Conclusion

#linearalgebra #python
Рекомендации по теме
Комментарии
Автор

Thank you so much dude. My professor somewhat went over how to do this in his lecture with the 1st degree equation of a line, but there was basically 0 material on how to do it with polynomials. This makes a ton of sense and helped me out.

JosaxJaz
Автор

That's very much wonderful work, but I have a queried that could you please print chi-sq value of these polynomials, for model comparisons among these polynomials fit.

sddhara