4. Classification Flashcards

1
Q

Purpose of Classification (and by extension Purpose of Logistic Regression)

A

Predicting qualitative or categorical outcome of Y

(Linear would be possible with dummy variable, but interpretation difficult…)
(Linear regression assumes an outcome variable that is continuous or quantitative, therefore any implied ordering is not real )

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

Classification Techniques

A
  • Decision Tree
  • Bagging, RF, Boosting
  • Neural Networks
  • Logistic Regression (continuous, discrete variables)
  • Support Vector Machines (SVM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Logistic function and log odds function

A

p(x)
and
log (odds) = logistic regression coefficients

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

How to estimate coefficients in logistic regression

A

Maximum Likelihood method
1. Produce S-shaped curve
2. Product ( individual likelihoods pi ) * Product ( (1 - pi) )

( or alternatively add the log-likelihoods )

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

Classification model performance measures w/ formula

A
  • (P) Precision: TP / TP + FP
  • (TP) True positive/ Recall/ Sensitivity: TP / TP + FN
  • (TN) True negative rate (Specificity): TN / TN + FP
  • (FP) False positive rate: FP / FP + TN
  • F-measure: (2RecallPrecision)/(Recall+Precision)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly