Logistic regression Flashcards

(9 cards)

1
Q

what is the basic premise of logistic regression?

A

want to find the probability that P(outcome) > some threshold alpha

if multiple linear regression. what which class would have the highest probability

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

what does a higher or lower alpha mean for predictions?

A

lowering alpha will lead to more “success” predictions and fewer “failure” predictions.

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

why doesn’t it make sense to measure logistic regression outcomes as a linear function?

A

we’ll see that negative numbers are in the domain.

technically violates 0<= P(X) <= 1

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

how do we ensure that 0<= P(X) <= 1?

A

use sigmoid or logistic function

P(Z) = e^z/(1+e^z)

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

what is MLE used for in this context?

A

maximizing the regression eqn is equivilant to determining the values of beta that make the data most probable.

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

what is a confusion matrix?

A

a table that compares what the model predicts vs what is “the truth”

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

what would a visual of multiple logistic regression look like?

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

what are the advantages and disadvantages of logistic regression?

A

low variance but high bias

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

is logistic regression a flexibile model?

A

no its rigid bc its linear

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