Skip to content

ML03 ex06 difference of arguments between definition and examples #238

Open
@stelon77

Description

@stelon77
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions