F1 Score
F1 Score
The harmonic mean of precision and recall.
Explanation
Precision: of the nodes we predicted to be in class c, how many really are. Recall: of the nodes that really are in c, how many we found. Macro-F1 averages the F1 of the classes equally, so it reveals weak performance on small classes that overall accuracy hides.
Equation
P=\frac{TP}{TP+FP},\ R=\frac{TP}{TP+FN},\ F_1=\frac{2PR}{P+R}Notation
- TP: true positive
- FP: false positive
- FN: false negative
Try it in: the node classification lab
