Lecture Notes
Class Imbalance problem
Accuracy
- Can be misleading based on skewed number of class examples.
- Precision
TP / (TP+FP)
- Recall
TP / (TP+FN)
- F-Measure
2rp / (r + p)
- Specificity
- TN Rate =
TN / (TN+FP)
- FP Rate =
FP / TN + FP = 1 - specificity
- FN Rate =
FN / FN+TP = 1 - sensitivity
- Power =
Sensitivity = 1 - FN Rate
ROC Curve
- TPR by FPR curve
Support Vector Machines
- Dot product and vector addition is used.
- Hyperplanes
- Normal of a plane
- Vector that is perpendicular to the surface.