RapidLib  v2.1.0
A simple library for interactive machine learning
trainingExample.h
Go to the documentation of this file.
1 
10 #ifndef trainingExample_h
11 #define trainingExample_h
12 
13 #include <vector>
14 #include <string>
15 
17 template<typename T>
19  std::vector<T> input;
20  std::vector<T> output;
21 };
22 
23 //This is here to keep the old API working
26 
28 template<typename T>
30  std::vector<std::vector<T> > input;
31  std::string label;
32 };
33 
34 //This is here to keep the old API working
37 
38 #endif
std::vector< T > input
Definition: trainingExample.h:19
Definition: trainingExample.h:18
std::vector< T > output
Definition: trainingExample.h:20
std::string label
Definition: trainingExample.h:31
std::vector< std::vector< T > > input
Definition: trainingExample.h:30
Definition: trainingExample.h:29