Lecture 3
Lecture 3
SCIKIT-LEARN IMPLEMENTATION
Why accuracy can be misleading?
Confusion Matrix
Predicted
Type I error
Predicted
Actually positives
Precision
Predicted as positives
Precision vs Recall
Precision vs Recall
Positive Negative
Pred
icted
Actual
Positive 10 0
Negative 90 5
Precision vs Recall
Positive Negative
Pred
icted
Actual
Positive 10 90
Negative 0 5
A “good” model will
have both high
precision & recall!
F1-measure
Speech