filmov
tv
Broadcasting errors in OLS with numpy
Показать описание
Did your vector operations suddenly turn into square matrices? Then you likely have a broadcasting error. (Good icebreaker at family parties, by the way.)
This video explains common problems with vectors/matrices that can be hard to overcome when you are just beginning to learn to do matrix algebra in numpy. Specifically, due to the distinction between 1- and 2-dimensional vectors (of equal size!).
This video explains common problems with vectors/matrices that can be hard to overcome when you are just beginning to learn to do matrix algebra in numpy. Specifically, due to the distinction between 1- and 2-dimensional vectors (of equal size!).