IN theory lecture it was taught that ti = W.T * X[i] but in implementation it is given as ti = W.(X.T) .Why is it so?
Query regarding hinge function
hey @Sid10 ,
there is no such difference in the implementation , its just that in the first one we are actually looping on all the records whereas in the second one we are calculating our values in one step.
Both will result in same value.
I hope this would have cleared your doubt.
Thank You and Happy Learning .