Cost Function - Logistic Regression

Cost Function - Logistic Regression

Training set: m samples, n features, \(x_0 = 1, y \in {0, 1}\)
How to choose parameters \(\theta\):

If we use the same cost function as linear regression (square differences), cost function in logistic regression will be a non-convex function hence we're lightly to find local minimum, not global minimum. Instead, we're going to use below cost function:


Resources:
https://www.coursera.org/learn/machine-learning/lecture/1XG8G/cost-function

Comments