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.
Metrics.h
Go to the documentation of this file.
1 
8 #ifndef GRT_METRICS_HEADER
9 #define GRT_METRICS_HEADER
10 
11 #include "GRTTypedefs.h"
12 
13 GRT_BEGIN_NAMESPACE
14 
15 //Forward declaration
16 class Classifier;
17 class ClassificationData;
18 
19 class GRT_API Metrics{
20 public:
24  Metrics();
25 
29  ~Metrics();
30 
38  static bool computeAccuracy( Classifier &model, const ClassificationData &data, Float &accuracy );
39 };
40 
41 GRT_END_NAMESPACE
42 
43 #endif // GRT_UTIL_HEADER
This is the main base class that all GRT Classification algorithms should inherit from...
Definition: Classifier.h:41