Thanks for the video. In fact, matrix differentiation is usually used in the prod, rather than a closed matrix form.
@mayankkumar-hk9vx Жыл бұрын
how to calculate R^2 value in this model?
@peterl99662 жыл бұрын
nice video, but for L2 shouldn't theta be: theta = inv(xTx + N*lam*I) * xTy , where N = X.shape[0]
@EndlessEngineering2 жыл бұрын
N = X.shape[0] would be the total number of samples in the X matrix. Notice that I am stacking the samples vertically with X = np.vstack(). You want the number of columns in X, which represents the dimension of the input.
@prathmeshtripathi3 жыл бұрын
Gem 😍😍
@EndlessEngineering3 жыл бұрын
Thank you for watching! I am glad you found it useful
@0xNameless3 жыл бұрын
Something off with the Audio... Its uncomfortable to listen to, potentially hurting your views.