See also Wikipedia
TP = True Positives, TN = True Negatives, FP = False Positives, FN = False Negatives
Sensitivity (Recall) = TP/(TP+FN)
Specificity = TN/(TN+FP)
Positive Predictive Value (Precision) = TP/(TP+FP)
F-measure = 2 x Precision x Recall / (Precision + Recall)
Correlation Coefficient (cc) = (TP x TN - FP x FN) / ((TP + FP) x (FP + TN) x (TN + FN) + (FN + TP))0.5