Logistic Regression Flashcards

1
Q

Probability vs Odds

A

Odds = P/(1-P)
e.g., odds are 5 to 3

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

Logistic regression vs log of odds

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

Define logit

A

logit = log(odds) = log(p/(1- p))
This is the response variable of logistic regression

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

Why use sigmoid/softmax and not simple normalization?

A

We want logarithm of model’s output (i.e., softmax) to be suitable for gradient-based optimization
https://stats.stackexchange.com/questions/162988/why-sigmoid-function-instead-of-anything-else/318209#318209

Sigmoid
Gradient is nearly a constant (-1) when prediction is confidently wrong
Gradient is nearly 0 when prediction is confidently correct

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

Probability vs Likelihood

A

Probability corresponds to finding the chance of something given a sample distribution of the data, while on the other hand, Maximum Likelihood Estimation refers to finding the best distribution of the data given a particular value of some feature or some situation in the data.

https://medium.com/swlh/probability-vs-likelihood-cdac534bf523#:~:text=Probability%20corresponds%20to%20finding%20the,some%20situation%20in%20the%20data.

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