#include <ClassificationStatistics.hh>
Definition at line 74 of file ClassificationStatistics.hh.
◆ calcStatistics()
void svt::ClassificationStatistics::calcStatistics |
( |
const std::vector< double > & |
trueLabels, |
|
|
const std::vector< double > & |
predictedLabels, |
|
|
std::vector< SingleClassResult > & |
resultTable |
|
) |
| |
calculate per class statistics (truePositives and falsePositives) for given classifcation results
- Parameters
-
trueLabels | true labels |
predictedLabels | predicted labels |
resultTable | per class results. vector will be resized properly |
◆ prettyPrintStatistics()
void svt::ClassificationStatistics::prettyPrintStatistics |
( |
const std::vector< SingleClassResult > & |
resultTable, |
|
|
std::ostream & |
os |
|
) |
| |
◆ prettyPrintConfusionTable()
void svt::ClassificationStatistics::prettyPrintConfusionTable |
( |
const std::vector< double > & |
trueLabels, |
|
|
const std::vector< double > & |
predictedLabels, |
|
|
std::ostream & |
os |
|
) |
| |
The documentation for this class was generated from the following file: