Report question

Question: Is it ok to define your own cost function for logistic regression?