9 #ifndef CLASSIFICATION_H
10 #define CLASSIFICATION_H
25 enum classificationTypes {
knn,
svm };
60 std::vector<int>
getK();
68 void setK(
const int whichModel,
const int newK);
Definition: classification.h:23
~classificationTemplate()
Definition: classification.h:46
classificationTemplate()
Definition: classification.cpp:17
std::vector< int > getK()
Definition: classification.cpp:119
classificationTypes
Definition: classification.h:25
@ svm
Definition: classification.h:25
@ knn
Definition: classification.h:25
void setK(const int whichModel, const int newK)
Definition: classification.cpp:131
bool train(const std::vector< trainingExampleTemplate< T > > &trainingSet) override
Definition: classification.cpp:64
Definition: modelSet.h:24
int numOutputs
Definition: modelSet.h:46
int numInputs
Definition: modelSet.h:44
Definition: classification.h:75
Definition: trainingExample.h:19