#include <confusionmatrix.h>
◆ metrics
| Enumerator |
|---|
| PRECISION | |
| RECALL | |
| F1_SCORE | |
◆ ConfusionMatrix()
| ConfusionMatrix::ConfusionMatrix |
( |
const std::vector< ScalarType > & |
actual, |
|
|
const std::vector< ScalarType > & |
predicted |
|
) |
| |
|
explicit |
◆ ~ConfusionMatrix()
| ConfusionMatrix::~ConfusionMatrix |
( |
| ) |
|
|
override |
◆ compute()
| void ConfusionMatrix::compute |
( |
const std::vector< ScalarType > & |
actual, |
|
|
const std::vector< ScalarType > & |
predicted |
|
) |
| |
◆ computeOverallAccuracy()
| float ConfusionMatrix::computeOverallAccuracy |
( |
cv::Mat & |
matrix | ) |
|
◆ computePrecisionRecallF1Score()
| void ConfusionMatrix::computePrecisionRecallF1Score |
( |
cv::Mat & |
matrix, |
|
|
cv::Mat & |
precisionRecallF1Score, |
|
|
cv::Mat & |
vec_TP_FN |
|
) |
| |
◆ getOverallAccuracy()
| float ConfusionMatrix::getOverallAccuracy |
( |
| ) |
|
◆ save()
| bool ConfusionMatrix::save |
( |
QString |
filePath | ) |
|
◆ setSessionRun()
| void ConfusionMatrix::setSessionRun |
( |
QString |
session, |
|
|
int |
run |
|
) |
| |
The documentation for this class was generated from the following files: