The cost function for logistic regression and linear regression are the same.

The cost function for logistic regression and linear regression are the same. Correct Answer

Logistic regression deals with classification based problems or probability based, whereas linear regression is more based on regression problems. Obviously, the two cost functions are different.

Related Questions

In a linear regression problem, we are using "R-squared" to measure goodness-of-fit. We add a feature in linear regression model and retrain the same model. Which of the following option is true?