Lecture 8 - Logistic Regression Flashcards
What does logistic regression do?
It takes a linear regression and applies the “logistic function” to the output to map them to a fixed range (0, 1) to provide a probability that the sample is the positive class.
What do we do for training the cost function of a logistic regression function?
Cross-Entropy loss or log loss, measures the performance of a classification model that outputs a probability
What shape does the logistic regression function take?
s-curve that maps the entire domain of x to into the range (0,1)
What does the cross-entropy function do?
Cross-entropy loss increases as the predicted probability diverges from the actual label. Basically, the worse it gets the higher the penalty.