42-AI/bootcamp_machine-learning

ML03 ex06 difference of arguments between definition and examples

stelon77 opened this issue · 0 comments

  • Day: 03
  • Exercise: 06

definition of methods
• loss_elem_(self, y, yhat)
• loss_(self, y, yhat)

in examples
mylr.predict_(X) should be y_hat = mylr.predict_(X) then print y_hat
mylr.loss_(X,Y) should be mylr.loss(Y, y_hat)

Fixed on:

  • Github
  • Gitlab