What is logistic regression? What is it used for?
What is an alternative name for logistic function used in logistic regression?
How does the Sigmoid Function look like?
How can the logistic regression be expressed?
How can the output of logistic regression be understood?
example: x is tumor size
y is 0 (not malignant) or 1 (malignant)
f_wb(x) = 0.7
–> 70% chance that y is 1
What is the decision boundary/threshold in logistic regression?
What is the decision boundary mathematically?
How does the squared error Cost function hold up for logistic regression? Why is that?
What is the loss function? How does the choice of how this loss function is calculated affect the cost function?
What is the loss function for logistic regression?
if y(i) = 1 : -log(f_wb(xi))
if y(i) = 0: -log(1-f_wb(xi))
-> convex (inverse hill)
-> can reach a global minimum
What is the better cost function for logistic regression?
J_wb = 1/m * Sum over (L(f_wb_xi, y(i))
With L(f_wb_xi, y(i)) being the loss function for logistic regression
if y(i) = 1 : -log(f_wb(xi))
if y(i) = 0: -log(1-f_wb(xi))
What is the difference between Loss and Cost?
What is the basis for the simpler equation of the cost function for logistic regression? How does it look?
Cost function: - (1/m) * Sum of [yi * log(f_wb(xi)) - (1-yi) * log(1-f_wb(xi))]
-> - of the y is being pulled out
loss function is based on maximum likelihood from statistics