Cost Function - Logistic Regression
Training set: m samples, n features, x0=1,y∈0,1How to choose parameters θ:
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
Post a Comment