13 #ifndef mitkLibSVMClassifier_h 14 #define mitkLibSVMClassifier_h 33 itkFactorylessNewMacro(
Self);
40 void Train(
const Eigen::MatrixXd &X,
const Eigen::MatrixXi &Y)
override;
41 Eigen::MatrixXi Predict(
const Eigen::MatrixXd &X)
override;
46 void PrintParameter(std::ostream & str);
47 void ConvertParameter();
49 void SetSvmType(
int val);
50 void SetProbability(
int val);
51 void SetShrinking(
int val);
52 void SetNrWeight(
int val);
53 void SetNu(
double val);
54 void SetP(
double val);
55 void SetEps(
double val);
56 void SetC(
double val);
57 void SetCacheSize(
double val);
58 void SetKernelType(
int val);
59 void SetDegree(
int val);
60 void SetGamma(
double val);
61 void SetCoef0(
double val);
66 void ReadYValues(
svm_problem * problem,
const Eigen::MatrixXi &Y);
75 #endif //mitkLibSVMClassifier_h
bool SupportsPointWiseWeight() override
SupportsPointWiseWeight.
Base of all data objects.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKCLLIBSVM_EXPORT
#define mitkClassMacro(className, SuperClassName)
bool SupportsPointWiseProbability() override
SupportsPointWiseProbability.