![]() |
#1
|
|||
|
|||
![]()
If you're using Matlab or Octave for the Linear Regression exercises, you may already know that it offers a built-in function to compute the pseudo-inverse of a matrix (the "X dagger" in the lectures).
Type 'help pinv' for more information. Thanks. -Samir |
#2
|
|||
|
|||
![]()
Thanks, samirbajaj.
I don't know if there's any significant saving of computing time, using pinv(x) instead of inv(x'*x)*x', but definitely pinv looks nicer ![]() |
![]() |
Tags |
linear regression, matlab, octave |
Thread Tools | |
Display Modes | |
|
|