Open stelon77 opened 1 year ago
definition of methods • losselem(self, y, yhat) • loss_(self, y, yhat)
in examples mylr.predict_(X) should be yhat = mylr.predict(X) then print yhat mylr.loss(X,Y) should be mylr.loss(Y, y_hat)
definition of methods • losselem(self, y, yhat) • loss_(self, y, yhat)
in examples mylr.predict_(X) should be yhat = mylr.predict(X) then print yhat mylr.loss(X,Y) should be mylr.loss(Y, y_hat)
Fixed on: