+ All Categories
Home > Documents > Recitation · 2020. 11. 6. · Recitation Lyle Ungar. ROC Chart Varies Threshold y 0.00 0.25 0.50...

Recitation · 2020. 11. 6. · Recitation Lyle Ungar. ROC Chart Varies Threshold y 0.00 0.25 0.50...

Date post: 02-Feb-2021
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
5
Recitation Lyle Ungar
Transcript
  • RecitationLyle Ungar

  • ROC Chart Varies ThresholdSe

    nsiti

    vity

    0.00

    0.25

    0.50

    0.75

    1.00

    0 .25 .5 .75 1

    1-Specificity

    AUC = Area Under Curve

    Lower threshold

    p(y|x) > threshold to be in class

    Higher threshold

    True positive rate(TPR)

    False positive rate (FPR)

    FPR = FP/(FP+TN)TPR = TP/(FN+TP)

    Claim\Is True Yes

    True No

    Classify Yes TP FP

    Classify No FN TN

  • Is F1 symmetric?• Precision• P(yes | predicted as yes) = TP/(TP+FP)

    • Recall (or Sensitivity)• P(predicted as yes | yes) = TP/(TP+FN)

    • Specificity• P (predicted as no)| no) = TN/(TN+FP)

    • F1 = 2 precision*recall/(precision + recall)

    Claim\Is True Yes

    True No

    Classify Yes TP FP

    Classify No FN TN

    If F1 symmetric?A) YesB) No

  • Imputationu Single column vs full matrix

  • What method would you use?u A doctor has 1,000 patients who had heart surgery;

    outcome is whether or not they were readmitted to the hospital within 30 days

    u An ophthalmologist has 10,000 images of eyes labeled as “retinopathy” or “normal

    u I have the Facebook posts of 3,000 people and their scores on a questionnaire to assess excess drinking


Recommended