Lecture 8 - Logistic Regression Flashcards

1
Q

What does logistic regression do?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do we do for training the cost function of a logistic regression function?

A

Cross-Entropy loss or log loss, measures the performance of a classification model that outputs a probability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What shape does the logistic regression function take?

A

s-curve that maps the entire domain of x to into the range (0,1)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the cross-entropy function do?

A

Cross-entropy loss increases as the predicted probability diverges from the actual label. Basically, the worse it gets the higher the penalty.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly