The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



MatthewsCorr


Unit: SDL_statis
Class: TCFEvaluator
Declaration: function MatthewsCorr: double;

The function MatthewsCorr calculates the Matthews correlation coefficient (MCC) of the classifier for a particular threshold which has to be set by calling the method CalcConfusionMatrix. The valid range for the MCC is from -1.0 to +1.0. A value less than -1 indicates a condition where the MCC cannot be calculated:
-2 ... the actual (true) values are not dichotomous
-3 ... the method CalcConfusionMatrix has not been called before



Last Update: 2020-Apr-13