Discussion Forum | Board Infinity

Why do we have different cost functions for linear and logistic regression?

What happens when we have the same cost function for linear and logistic regression?

Please refer to below link
https://www.geeksforgeeks.org/ml-cost-function-in-logistic-regression/