MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / MCC

Method MCC

libraries/GST/GST.cpp:190–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188float GST::MatthewsCorrelationCoefficient() { return MCC(); };
189float GST::phi() { return MCC(); };
190float GST::MCC()
191{
192 return (TP*TN - FP*FN)/sqrt((TP+FP) * (TP+FN) * (TN+FP) * (TN+FN));
193};
194
195
196float GST::FowlkesMallowsIndex() { return FM(); };

Callers 1

unittestFunction · 0.80

Calls 1

sqrtFunction · 0.85

Tested by 1

unittestFunction · 0.64