- All Implemented Interfaces:
- ClassificationMeasure
public class MCCMeasure
extends java.lang.Object
implements ClassificationMeasure
MCC is a correlation coefficient between prediction and actual values. It is considered as a balanced measure for binary classification, even in unbalanced data sets.
It varies between -1 and +1. 1 when there is perfect agreement between ground truth and prediction, -1 when there is a perfect disagreement between ground truth and predictions.
MCC of 0 means the model is not better then random.
- See Also:
- Matthews correlation coefficient