GestureRecognitionToolkit
Version: 0.2.5
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
|
Public Member Functions | |
Metrics () | |
~Metrics () | |
Static Public Member Functions | |
static bool | computeAccuracy (Classifier &model, const ClassificationData &data, Float &accuracy) |
GRT_BEGIN_NAMESPACE Metrics::Metrics | ( | ) |
Default constructor.
Definition at line 28 of file Metrics.cpp.
Metrics::~Metrics | ( | ) |
Default destructor.
Definition at line 30 of file Metrics.cpp.
|
static |
Computes the accuracy of the model given the input dataset. The accuracy results will be stored in the accuracy parameter and will be in the range of [0., 100.0].
model | the trained model you want to test the accuracy using the input dataset |
data | the dataset that will be used to test the model |
accuracy | the variable to which the accuracy of the model will be stored |
Definition at line 32 of file Metrics.cpp.