CSDS 440: Machine Learning: Soumya Ray (
CSDS 440: Machine Learning: Soumya Ray (
https://cwru.zoom.us/rec/share/s-8J2q_vYWRh7RGNOg9HDAoweQgXgpRSbwc5Akph-
Y6sBl1fsi-guHYSRPZiOphx.F6GOaUOhJkuUzEuH
Soumya Ray (sray@case.edu)
Office: Zoomlandia 920 0026 0871/ 598943
Office hours: F 9-10am or by appointment
• Please ensure your full name is visible on zoom.
• Check that your mic is connected by looking for the mic symbol next to your name in the
Participants list. If not you can configure your mic and speakers using arrow next to the mic
button in the lower left of the zoom interface.
• You will be muted on entry (mic symbol has a line through it). Unmute to ask/answer
questions.
• Leave your mic on mute and video off until you are speaking.
• To ask a question, use “Raise Hand” and wait to be called or send your question via chat.
• To answer a question, use “Raise Hand” and wait to be called.
• After asking or answering your question, click “Raise Hand” again to lower your hand.
• This meeting is being recorded. The recording will be made available, likely via canvas.
• If I drop out/can’t be heard/screen freezes/slides disappear etc, please send a note in the chat
window.
• If I get disconnected completely, I will rejoin asap. Please be patient and wait. If there is a
serious issue and I cannot rejoin, I will send email and the class will be postponed.
TP TN
Accuracy
TP TN FP FN
1 TP TN
WAcc
2 Allpos Allneg
1 TP TN
2 TP FN TN FP
True Positive Rate True Negative Rate
TP
Precision
TP FP
TP TP
Recall
TP FN Allpos
TN TN
Specificity
TN FP Allneg
• So:
1
WAcc Sensitivity Specificity
2
9/15/2020 Soumya Ray, Case Western Reserve U. 11
F1 score
• Combines precision and recall into a single
measure, giving each equal weight
1 1 1 1
F1 2 Precision Recall
2
F1
1 1
Precision Recall
9/15/2020 Soumya Ray, Case Western Reserve U. 12
Beyond point estimates
• Everything above is a “point estimate”
Metric 0.5
(e.g. Accuracy)
Example 1 + 0.9
Example 2 − 0.8
Example 3 + 0.4
Example 4 − 0.3
1
Example 1 + 0.9 0.5 1
0.5
Example 2 − 0.8 0.5 0.5
Example 1 + 0.9
Example 2 − 0.8
Example 3 + 0.4
Example 4 − 0.3
1
Example 1 + 0.9 0 0.5
0.5
Example 2 − 0.8 0.5 0.5