#include <ClassifierUtils.hpp>
|
static void | checkLabels (const MatrixD yTrue, const MatrixD yPred) |
|
static void | checkBinaryLabels (const MatrixD yTrue, const MatrixD yPred) |
|
static MatrixI | binarize (MatrixD m, double trueLabel) |
|
static MatrixI | confusionMatrix (MatrixD yTrue, MatrixD yPred) |
|
static double | accuracy (MatrixD yTrue, MatrixD yPred) |
|
static double | precision (MatrixD yTrue, MatrixD yPred) |
|
static double | recall (MatrixD yTrue, MatrixD yPred) |
|
static double | f_score (MatrixD yTrue, MatrixD yPred) |
|
|
static size_t | findLabel (MatrixD y, double label) |
|
static MatrixD | getAllClasses (const MatrixD yTrue, const MatrixD yPred) |
|
- Author
- Douglas De Rizzo Meneghetti (dougl.nosp@m.asri.nosp@m.zzom@.nosp@m.gmai.nosp@m.l.com)
- Date
- 2017-11-23
Definition at line 10 of file ClassifierUtils.hpp.
◆ accuracy()
static double ClassifierUtils::accuracy |
( |
MatrixD |
yTrue, |
|
|
MatrixD |
yPred |
|
) |
| |
|
inlinestatic |
◆ binarize()
static MatrixI ClassifierUtils::binarize |
( |
MatrixD |
m, |
|
|
double |
trueLabel |
|
) |
| |
|
inlinestatic |
◆ checkBinaryLabels()
static void ClassifierUtils::checkBinaryLabels |
( |
const MatrixD |
yTrue, |
|
|
const MatrixD |
yPred |
|
) |
| |
|
inlinestatic |
◆ checkLabels()
static void ClassifierUtils::checkLabels |
( |
const MatrixD |
yTrue, |
|
|
const MatrixD |
yPred |
|
) |
| |
|
inlinestatic |
◆ confusionMatrix()
static MatrixI ClassifierUtils::confusionMatrix |
( |
MatrixD |
yTrue, |
|
|
MatrixD |
yPred |
|
) |
| |
|
inlinestatic |
◆ f_score()
static double ClassifierUtils::f_score |
( |
MatrixD |
yTrue, |
|
|
MatrixD |
yPred |
|
) |
| |
|
inlinestatic |
◆ findLabel()
static size_t ClassifierUtils::findLabel |
( |
MatrixD |
y, |
|
|
double |
label |
|
) |
| |
|
inlinestaticprivate |
◆ getAllClasses()
static MatrixD ClassifierUtils::getAllClasses |
( |
const MatrixD |
yTrue, |
|
|
const MatrixD |
yPred |
|
) |
| |
|
inlinestaticprivate |
◆ precision()
static double ClassifierUtils::precision |
( |
MatrixD |
yTrue, |
|
|
MatrixD |
yPred |
|
) |
| |
|
inlinestatic |
◆ recall()
static double ClassifierUtils::recall |
( |
MatrixD |
yTrue, |
|
|
MatrixD |
yPred |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: