9 #ifndef classification_h 10 #define classification_h 23 enum classificationTypes {
knn,
svm };
43 std::vector<int>
getK();
45 void setK(
const int whichModel,
const int newK);
Definition: classification.h:21
int numOutputs
Definition: modelSet.h:39
Definition: trainingExample.h:18
~classificationTemplate()
Definition: classification.h:37
Definition: modelSet.h:24
bool train(const std::vector< trainingExampleTemplate< T > > &trainingSet)
Definition: classification.cpp:57
int numInputs
Definition: modelSet.h:37
Definition: classification.h:23
std::vector< int > getK()
Definition: classification.cpp:96
classificationTypes
Definition: classification.h:23
Definition: classification.h:23
classificationTemplate()
Definition: classification.cpp:17
void setK(const int whichModel, const int newK)
Definition: classification.cpp:106