RapidLib  v0.1.2
A simple library for interactive machine learning
regression.h
Go to the documentation of this file.
1 #ifndef regression_h
2 #define regression_h
3 
4 #include <vector>
5 #include "modelSet.h"
6 
12 class regression : public modelSet {
13 public:
15  regression();
17  regression(const std::vector<trainingExample> &trainingSet);
19  regression(const int &numInputs, const int &numOutputs);
20 
23 
25  bool train(const std::vector<trainingExample> &trainingSet);
26 
27 };
28 
29 #endif
Definition: modelSet.h:15
bool train(const std::vector< trainingExample > &trainingSet)
Definition: regression.cpp:36
int numInputs
Definition: modelSet.h:28
regression()
Definition: regression.cpp:9
int numOutputs
Definition: modelSet.h:30
Definition: regression.h:12
~regression()
Definition: regression.h:22