116 if (strcmp(name,
"LIBSVM_ONECLASS")==0)
120 SG_INFO(
"created SVMlibsvm object for oneclass\n")
122 else if (strcmp(name,
"LIBSVM_MULTICLASS")==0)
126 SG_INFO(
"created SVMlibsvm object for multiclass\n")
128 else if (strcmp(name,
"LIBSVM_NUMULTICLASS")==0)
132 SG_INFO(
"created SVMlibsvm object for multiclass\n")
135 else if (strcmp(name,
"SCATTERSVM_NO_BIAS_SVMLIGHT")==0)
139 SG_INFO(
"created ScatterSVM NO BIAS SVMLIGHT object\n")
141 #endif //USE_SVMLIGHT
142 else if (strcmp(name,
"SCATTERSVM_NO_BIAS_LIBSVM")==0)
146 SG_INFO(
"created ScatterSVM NO BIAS LIBSVM object\n")
148 else if (strcmp(name,
"SCATTERSVM_TESTRULE1")==0)
152 SG_INFO(
"created ScatterSVM TESTRULE1 object\n")
154 else if (strcmp(name,
"SCATTERSVM_TESTRULE2")==0)
158 SG_INFO(
"created ScatterSVM TESTRULE2 object\n")
160 else if (strcmp(name,
"LIBSVM_NU")==0)
164 SG_INFO(
"created SVMlibsvm object\n")
166 else if (strcmp(name,
"LIBSVM")==0)
170 SG_INFO(
"created SVMlibsvm object\n")
172 else if (strcmp(name,
"LARANK")==0)
176 SG_INFO(
"created LaRank object\n")
179 else if ((strcmp(name,
"LIGHT")==0) || (strcmp(name,
"SVMLIGHT")==0))
183 SG_INFO(
"created SVMLight object\n")
185 else if (strcmp(name,
"SVMLIGHT_ONECLASS")==0)
189 SG_INFO(
"created SVMLightOneClass object\n")
191 else if (strcmp(name,
"SVRLIGHT")==0)
195 SG_INFO(
"created SVRLight object\n")
197 #endif //USE_SVMLIGHT
198 else if (strcmp(name,
"GPBTSVM")==0)
202 SG_INFO(
"created GPBT-SVM object\n")
204 else if (strcmp(name,
"MPDSVM")==0)
208 SG_INFO(
"created MPD-SVM object\n")
210 else if (strcmp(name,
"GNPPSVM")==0)
214 SG_INFO(
"created GNPP-SVM object\n")
216 else if (strcmp(name,
"GMNPSVM")==0)
220 SG_INFO(
"created GMNP-SVM object\n")
222 else if (strcmp(name,
"LIBSVR")==0)
226 SG_INFO(
"created SVRlibsvm object\n")
229 else if (strcmp(name,
"KERNELRIDGEREGRESSION")==0)
233 ui->ui_labels->get_train_labels());
237 else if (strcmp(name,
"PERCEPTRON")==0)
241 SG_INFO(
"created Perceptron object\n")
244 else if (strncmp(name,
"LIBLINEAR",9)==0)
248 if (strcmp(name,
"LIBLINEAR_L2R_LR")==0)
251 SG_INFO(
"created LibLinear l2 regularized logistic regression object\n")
253 else if (strcmp(name,
"LIBLINEAR_L2R_L2LOSS_SVC_DUAL")==0)
256 SG_INFO(
"created LibLinear l2 regularized l2 loss SVM dual object\n")
258 else if (strcmp(name,
"LIBLINEAR_L2R_L2LOSS_SVC")==0)
261 SG_INFO(
"created LibLinear l2 regularized l2 loss SVM primal object\n")
263 else if (strcmp(name,
"LIBLINEAR_L1R_L2LOSS_SVC")==0)
266 SG_INFO(
"created LibLinear l1 regularized l2 loss SVM primal object\n")
268 else if (strcmp(name,
"LIBLINEAR_L2R_L1LOSS_SVC_DUAL")==0)
271 SG_INFO(
"created LibLinear l2 regularized l1 loss dual SVM object\n")
274 SG_ERROR(
"unknown liblinear type\n")
284 else if (strcmp(name,
"LDA")==0)
288 SG_INFO(
"created LDA object\n")
292 else if (strcmp(name,
"LPM")==0)
300 SG_INFO(
"created LPM object\n")
302 else if (strcmp(name,
"LPBOOST")==0)
310 SG_INFO(
"created LPBoost object\n")
313 else if (strncmp(name,
"KNN", strlen(
"KNN"))==0)
317 SG_INFO(
"created KNN object\n")
319 else if (strncmp(name,
"KMEANS", strlen(
"KMEANS"))==0)
323 SG_INFO(
"created KMeans object\n")
325 else if (strncmp(name,
"HIERARCHICAL", strlen(
"HIERARCHICAL"))==0)
329 SG_INFO(
"created Hierarchical clustering object\n")
331 else if (strcmp(name,
"SVMLIN")==0)
338 SG_INFO(
"created SVMLin object\n")
340 else if (strncmp(name,
"WDSVMOCAS", strlen(
"WDSVMOCAS"))==0)
350 SG_INFO(
"created Weighted Degree Kernel SVM Ocas(OCAS) object of order %d (from order:%d)\n", d, from_d)
352 else if (strcmp(name,
"SVMOCAS")==0)
361 SG_INFO(
"created SVM Ocas(OCAS) object\n")
363 else if (strcmp(name,
"SVMSGD")==0)
368 SG_INFO(
"created SVM SGD object\n")
370 else if (strcmp(name,
"SVMBMRM")==0 || (strcmp(name,
"SVMPERF")==0))
379 SG_INFO(
"created SVM Ocas(BMRM/PERF) object\n")
381 else if (strcmp(name,
"MKL_CLASSIFICATION")==0)
386 else if (strcmp(name,
"MKL_ONECLASS")==0)
391 else if (strcmp(name,
"MKL_MULTICLASS")==0)
396 else if (strcmp(name,
"MKL_REGRESSION")==0)
403 SG_ERROR(
"Unknown classifier %s.\n", name)
417 CLabels* trainlabels=
ui->ui_labels->get_train_labels();
419 SG_ERROR(
"No trainlabels available.\n")
421 CKernel* kernel=
ui->ui_kernel->get_kernel();
425 bool success=
ui->ui_kernel->init_kernel(
"TRAIN");
427 if (!success || !
ui->ui_kernel->is_initialized() || !kernel->
has_features())
428 SG_ERROR(
"Kernel not initialized / no train features available.\n")
432 SG_ERROR(
"Number of train labels (%d) and training vectors (%d) differs!\n", trainlabels->
get_num_labels(), num_vec)
466 trainlabels=
ui->ui_labels->get_train_labels();
468 SG_INFO(
"Training one class mkl.\n")
469 if (!trainlabels && !oneclass)
470 SG_ERROR(
"No trainlabels available.\n")
472 CKernel* kernel=
ui->ui_kernel->get_kernel();
476 bool success=
ui->ui_kernel->init_kernel(
"TRAIN");
477 if (!success || !
ui->ui_kernel->is_initialized() || !kernel->
has_features())
478 SG_ERROR(
"Kernel not initialized.\n")
482 SG_ERROR(
"Number of train labels (%d) and training vectors (%d) differs!\n", trainlabels->
get_num_labels(), num_vec)
521 bool result=mkl->
train();
536 trainlabels=
ui->ui_labels->get_train_labels();
538 SG_INFO(
"Training one class svm.\n")
539 if (!trainlabels && !oneclass)
540 SG_ERROR(
"No trainlabels available.\n")
542 CKernel* kernel=
ui->ui_kernel->get_kernel();
546 bool success=
ui->ui_kernel->init_kernel(
"TRAIN");
548 if (!success || !
ui->ui_kernel->is_initialized() || !kernel->
has_features())
549 SG_ERROR(
"Kernel not initialized / no train features available.\n")
553 SG_ERROR(
"Number of train labels (%d) and training vectors (%d) differs!\n", trainlabels->
get_num_labels(), num_vec)
630 if (!
ui->ui_distance->init_distance(
"TRAIN"))
631 SG_ERROR(
"Initializing distance with train features failed.\n")
641 ((
CKMeans*) classifier)->set_max_iter(max_iter);
642 result=((
CKMeans*) classifier)->train();
652 SG_ERROR(
"Unknown clustering type %d\n", type)
660 CLabels* trainlabels=
ui->ui_labels->get_train_labels();
669 if (!
ui->ui_distance->init_distance(
"TRAIN"))
670 SG_ERROR(
"Initializing distance with train features failed.\n")
677 SG_ERROR(
"No distance available.\n")
693 trainlabels=
ui->ui_labels->get_train_labels();
695 SG_ERROR(
"No trainlabels available.\n")
697 CKernel* kernel=
ui->ui_kernel->get_kernel();
701 bool success=
ui->ui_kernel->init_kernel(
"TRAIN");
703 if (!success || !
ui->ui_kernel->is_initialized() || !kernel->
has_features())
704 SG_ERROR(
"Kernel not initialized / no train features available.\n")
708 SG_ERROR(
"Number of train labels (%d) and training vectors (%d) differs!\n", trainlabels->
get_num_labels(), num_vec)
715 bool result=krr->
train();
726 CFeatures* trainfeatures=
ui->ui_features->get_train_features();
727 CLabels* trainlabels=
ui->ui_labels->get_train_labels();
731 SG_ERROR(
"No trainfeatures available.\n")
734 SG_ERROR(
"Trainfeatures not based on DotFeatures.\n")
750 SG_ERROR(
"LDA requires train features of class SIMPLE type REAL.\n")
769 SG_ERROR(
"LPM and LPBOOST require trainfeatures of class SPARSE type REAL.\n")
781 CFeatures* trainfeatures=
ui->ui_features->get_train_features();
782 CLabels* trainlabels=
ui->ui_labels->get_train_labels();
787 SG_ERROR(
"No trainfeatures available.\n")
791 SG_ERROR(
"Trainfeatures are not of class STRING type BYTE.\n")
809 FILE* model_file=fopen(filename,
"r");
810 REQUIRE(model_file != NULL,
"SVM/Classifier loading failed on file %s.\n", filename);
818 SG_DEBUG(
"file successfully read.\n")
822 SG_ERROR(
"SVM/Classifier creation/loading failed on file %s.\n", filename)
827 SG_ERROR(
"Opening file %s failed.\n", filename)
832 SG_ERROR(
"Type %s of SVM/Classifier unknown.\n", type)
844 FILE* file=fopen(param,
"w");
848 printf(
"writing to file %s failed!\n", param);
851 printf(
"successfully written classifier into \"%s\" !\n", param);
859 SG_ERROR(
"create classifier first\n")
900 SG_INFO(
"Disabling max_train_time.\n")
908 SG_ERROR(
"No regression method allocated\n")
914 SG_ERROR(
"Underlying method not capable of SV-regression\n")
941 if (weight_epsilon<0)
961 if (lambda<0 || lambda>1)
971 SG_ERROR(
"1 <= mkl_block_norm <= inf\n")
1032 SG_INFO(
"Enabling shrinking optimization.\n")
1034 SG_INFO(
"Disabling shrinking optimization.\n")
1043 SG_INFO(
"Enabling batch computation.\n")
1045 SG_INFO(
"Disabling batch computation.\n")
1054 SG_INFO(
"Enabling LINADD optimization.\n")
1056 SG_INFO(
"Disabling LINADD optimization.\n")
1065 SG_INFO(
"Enabling svm bias.\n")
1067 SG_INFO(
"Disabling svm bias.\n")
1076 SG_INFO(
"Enabling mkl interleaved optimization.\n")
1078 SG_INFO(
"Disabling mkl interleaved optimization.\n")
1088 SG_INFO(
"Enabling AUC maximization.\n")
1090 SG_INFO(
"Disabling AUC maximization.\n")
1137 SG_ERROR(
"unknown classifier type\n")
1146 CFeatures* trainfeatures=
ui->ui_features->get_train_features();
1147 CFeatures* testfeatures=
ui->ui_features->get_test_features();
1150 SG_ERROR(
"No kernelmachine available.\n")
1154 REQUIRE(
ui->ui_kernel->get_kernel(),
"No kernel set");
1155 if (
ui->ui_kernel->get_kernel()->get_kernel_type()!=
K_CUSTOM)
1157 if (
ui->ui_kernel->get_kernel()->get_kernel_type()==
K_COMBINED
1158 && ( !trainfeatures || !testfeatures ))
1160 SG_DEBUG(
"skipping initialisation of combined kernel "
1161 "as train/test features are unavailable\n")
1166 SG_ERROR(
"No training features available.\n")
1168 SG_ERROR(
"No test features available.\n")
1170 success=
ui->ui_kernel->init_kernel(
"TEST");
1174 if (!success || !
ui->ui_kernel->is_initialized())
1175 SG_ERROR(
"Kernel not initialized.\n")
1191 SG_INFO(
"Starting kernel machine testing.\n")
1197 int32_t& brows, int32_t& bcols,
1222 return get_svm(weights, rows, cols, bias, brows, bcols, idx);
1233 return get_linear(weights, rows, cols, bias, brows, bcols);
1243 SG_ERROR(
"unknown classifier type\n")
1258 int32_t& brows, int32_t& bcols, int32_t idx)
1274 weights=SG_MALLOC(
float64_t, rows*cols);
1276 for (int32_t i=0; i<rows; i++)
1290 int32_t& brows, int32_t& bcols)
1311 centers=SG_MALLOC(
float64_t, rows*cols);
1330 centers=SG_MALLOC(
float64_t, rows*cols);
1331 for (int32_t i=0; i<rows*cols; i++)
1338 SG_ERROR(
"internal error - unknown clustering type\n")
1346 int32_t& brows, int32_t& bcols)
1370 CFeatures* trainfeatures=
ui->ui_features->get_train_features();
1371 CFeatures* testfeatures=
ui->ui_features->get_test_features();
1375 SG_ERROR(
"no kernelmachine available\n")
1380 SG_ERROR(
"no training features available\n")
1386 SG_ERROR(
"no test features available\n")
1390 bool success=
ui->ui_distance->init_distance(
"TEST");
1392 if (!success || !
ui->ui_distance->is_initialized())
1394 SG_ERROR(
"distance not initialized\n")
1399 ui->ui_distance->get_distance());
1400 SG_INFO(
"starting distance machine testing\n")
1407 CFeatures* testfeatures=
ui->ui_features->get_test_features();
1411 SG_ERROR(
"no classifier available\n")
1416 SG_ERROR(
"no test features available\n")
1421 SG_ERROR(
"testfeatures not based on DotFeatures\n")
1426 SG_INFO(
"starting linear classifier testing\n")
1432 CFeatures* testfeatures=
ui->ui_features->get_test_features();
1441 SG_ERROR(
"no test features available\n")
1447 SG_ERROR(
"testfeatures not of class STRING type BYTE\n")
1452 SG_INFO(
"starting linear classifier testing\n")
1458 CFeatures* trainfeatures=
ui->ui_features->get_train_features();
1459 CFeatures* testfeatures=
ui->ui_features->get_test_features();
1467 if (!
ui->ui_kernel->is_initialized())
1469 SG_ERROR(
"kernel not initialized\n")
1473 if (!
ui->ui_kernel->get_kernel() ||
1474 ui->ui_kernel->get_kernel()->get_kernel_type()!=
K_CUSTOM)
1478 SG_ERROR(
"no training features available\n")
1484 SG_ERROR(
"no test features available\n")
1490 ui->ui_kernel->get_kernel());
1514 if (strncmp(solver,
"NEWTON", 6)==0)
1516 SG_INFO(
"Using NEWTON solver.\n")
1519 else if (strncmp(solver,
"DIRECT", 6)==0)
1521 SG_INFO(
"Using DIRECT solver\n")
1524 else if (strncmp(solver,
"BLOCK_NORM", 9)==0)
1526 SG_INFO(
"Using BLOCK_NORM solver\n")
1529 else if (strncmp(solver,
"ELASTICNET", 10)==0)
1531 SG_INFO(
"Using ELASTICNET solver\n")
1534 else if (strncmp(solver,
"AUTO", 4)==0)
1536 SG_INFO(
"Automagically determining solver.\n")
1540 else if (strncmp(solver,
"CPLEX", 5)==0)
1542 SG_INFO(
"USING CPLEX METHOD selected\n")
1547 else if (strncmp(solver,
"GLPK", 4)==0)
1549 SG_INFO(
"Using GLPK solver\n")
1554 SG_ERROR(
"Unknown solver type, %s (not compiled in?)\n", solver)
1563 if (strcmp(name,
"LIBSVM_ONECLASS")==0)
1567 SG_INFO(
"created SVMlibsvm object for oneclass\n")
1569 else if (strcmp(name,
"LIBSVM_NU")==0)
1573 SG_INFO(
"created SVMlibsvm object\n")
1575 else if (strcmp(name,
"LIBSVM")==0)
1579 SG_INFO(
"created SVMlibsvm object\n")
1582 else if ((strcmp(name,
"LIGHT")==0) || (strcmp(name,
"SVMLIGHT")==0))
1586 SG_INFO(
"created SVMLight object\n")
1588 else if (strcmp(name,
"SVMLIGHT_ONECLASS")==0)
1592 SG_INFO(
"created SVMLightOneClass object\n")
1594 else if (strcmp(name,
"SVRLIGHT")==0)
1598 SG_INFO(
"created SVRLight object\n")
1600 #endif //USE_SVMLIGHT
1601 else if (strcmp(name,
"GPBTSVM")==0)
1605 SG_INFO(
"created GPBT-SVM object\n")
1607 else if (strcmp(name,
"MPDSVM")==0)
1611 SG_INFO(
"created MPD-SVM object\n")
1613 else if (strcmp(name,
"GNPPSVM")==0)
1617 SG_INFO(
"created GNPP-SVM object\n")
1619 else if (strcmp(name,
"LIBSVR")==0)
1623 SG_INFO(
"created SVRlibsvm object\n")
1627 SG_ERROR(
"Unknown SV-classifier %s.\n", name)
void set_epsilon(float64_t eps)
float distance(CJLCoverTreePoint p1, CJLCoverTreePoint p2, float64_t upper_bound)
void set_shrinking_enabled(bool enable)
bool set_perceptron_parameters(float64_t lernrate, int32_t maxiter)
bool set_svm_epsilon(float64_t epsilon)
int32_t get_num_support_vectors()
void set_bias_enabled(bool enable_bias)
void set_mkl_block_norm(float64_t q)
Class KernelRidgeRegression implements Kernel Ridge Regression - a regularized least square method fo...
bool get_trained_classifier(float64_t *&weights, int32_t &rows, int32_t &cols, float64_t *&bias, int32_t &brows, int32_t &bcols, int32_t idx=-1)
CLabels * classify_linear()
void set_max_train_time(float64_t t)
double norm(double *v, double p, int n)
bool set_svm_shrinking_enabled(bool enabled)
bool train_mkl_multiclass()
bool set_svm_linadd_enabled(bool enabled)
bool train_knn(int32_t k=3)
MKLMulticlass is a class for L1-norm Multiclass MKL.
static char * skip_spaces(char *str)
SGVector< float64_t > get_merge_distances()
Class Distance, a base class for all the distances used in the Shogun toolbox.
void set_qpsize(int32_t qps)
bool set_constraint_generator(char *cg)
bool train_clustering(int32_t k=3, int32_t max_iter=1000)
void set_kernel(CKernel *k)
The class Labels models labels, i.e. class assignments of objects.
virtual int32_t get_num_labels() const =0
bool set_svm_mkl_parameters(float64_t weight_epsilon, float64_t C_mkl, float64_t mkl_norm)
void set_shrinking_enabled(bool enable)
float64_t perceptron_learnrate
bool set_do_auc_maximization(bool do_auc)
L2 regularized SVM with L2-loss using newton in the primal.
Class LPM trains a linear classifier called Linear Programming Machine, i.e. a SVM using a norm regu...
bool set_svm_nu(float64_t nu)
Trains a one class C SVM.
int32_t perceptron_maxiter
L1 regularized SVM with L2-loss using dual coordinate descent.
virtual bool load_serializable(CSerializableFile *file, const char *prefix="")
CLabels * setup_auc_maximization(CLabels *labels)
void set_mkl_norm(float64_t norm)
A generic KernelMachine interface.
Multiple Kernel Learning for one-class-classification.
Agglomerative hierarchical single linkage clustering.
Features that support dot products among other operations.
virtual int32_t get_num_vec_lhs()
class LibSVMMultiClass. Does one vs one classification.
Multiple Kernel Learning for regression.
generic kernel multiclass
Class LDA implements regularized Linear Discriminant Analysis.
A generic DistanceMachine interface.
virtual void set_mkl_norm(float64_t norm)
void set_nu(float64_t nue)
bool classify_example(int32_t idx, float64_t &result)
bool set_svm_batch_computation_enabled(bool enabled)
CLabels * classify_distancemachine()
The AUC kernel can be used to maximize the area under the receiver operator characteristic curve (AUC...
static const float64_t epsilon
void set_mkl_epsilon(float64_t eps)
void set_interleaved_optimization_enabled(bool enable)
Class SVRLight, performs support vector regression using SVMLight.
CLabels * classify_kernelmachine()
bool new_classifier(char *name, int32_t d=6, int32_t from_d=40)
bool set_svr_tube_epsilon(float64_t tube_epsilon)
SGVector< float64_t > get_radiuses()
Class SGObject is the base class of all shogun objects.
void set_constraint_generator(CSVM *s)
void set_batch_computation_enabled(bool enable)
KMeans clustering, partitions the data into k (a-priori specified) clusters.
void set_batch_computation_enabled(bool enable)
bool set_svm_max_qpsize(int32_t max_qpsize)
void set_nu(float64_t nue)
bool set_solver(char *solver)
SGMatrix< int32_t > get_cluster_pairs()
float64_t svm_weight_epsilon
L2 regularized linear logistic regression.
bool set_mkl_block_norm(float64_t mkl_bnorm)
This class provides an interface to the LibLinear library for large- scale linear learning focusing o...
bool set_mkl_interleaved_enabled(bool enabled)
Multiple Kernel Learning for two-class-classification.
void set_qpsize(int32_t qps)
L2 regularized SVM with L2-loss using dual coordinate descent.
void set_tube_epsilon(float64_t eps)
bool set_svm_bufsize(int32_t bufsize)
float64_t get_alpha(int32_t idx)
virtual EFeatureClass get_feature_class() const =0
Class KNN, an implementation of the standard k-nearest neigbor classifier.
Class LinearMachine is a generic interface for all kinds of linear machines like classifiers.
Multiple Kernel Learning.
bool set_svm_bias_enabled(bool enabled)
virtual EMachineType get_classifier_type()
bool get_clustering(float64_t *&weights, int32_t &rows, int32_t &cols, float64_t *&bias, int32_t &brows, int32_t &bcols)
virtual SGVector< float64_t > get_w() const
int32_t get_support_vector(int32_t idx)
bool get_svm(float64_t *&weights, int32_t &rows, int32_t &cols, float64_t *&bias, int32_t &brows, int32_t &bcols, int32_t idx=-1)
Class LPBoost trains a linear classifier called Linear Programming Machine, i.e. a SVM using a norm ...
bool get_linear(float64_t *&weights, int32_t &rows, int32_t &cols, float64_t *&bias, int32_t &brows, int32_t &bcols)
bool train_linear(float64_t gamma=0)
Class LibSVR, performs support vector regression using LibSVM.
Class Perceptron implements the standard linear (online) perceptron.
ScatterSVM - Multiclass SVM.
virtual bool save_serializable(CSerializableFile *file, const char *prefix="")
CSVM * constraint_generator
all of classes and functions are contained in the shogun namespace
bool svm_do_auc_maximization
Class GMNPSVM implements a one vs. rest MultiClass SVM.
training with bias using test rule 2
The class Features is the base class of all feature objects.
training with bias using test rule 1
void set_linadd_enabled(bool enable)
virtual float64_t get_bias()
virtual bool train(CFeatures *data=NULL)
void set_mkl_epsilon(float64_t eps)
A generic Support Vector Machine Interface.
void set_linadd_enabled(bool enable)
void set_elasticnet_lambda(float64_t elasticnet_lambda)
the LaRank multiclass SVM machine
void set_bias_enabled(bool enable_bias)
CLabels * classify_byte_linear()
void set_epsilon(float64_t eps)
Matrix::Scalar max(Matrix m)
L2 regularized linear SVM with L1-loss using dual coordinate descent.
void set_kernel(CKernel *k)
bool has_property(EFeatureProperty p) const
float64_t svm_tube_epsilon
virtual bool has_features()
virtual void set_labels(CLabels *lab)
bool set_krr_tau(float64_t tau=1)
bool set_svm_C(float64_t C1, float64_t C2)
bool load(char *filename, char *type)
void set_solver_type(ESolverType st)
bool set_elasticnet_lambda(float64_t lambda)
bool svm_use_batch_computation
bool set_svm_qpsize(int32_t qpsize)
void set_C_mkl(float64_t C)
virtual EFeatureType get_feature_type() const =0
void set_C(float64_t c_neg, float64_t c_pos)
bool set_max_train_time(float64_t max)
void set_tube_epsilon(float64_t eps)
SGMatrix< float64_t > get_cluster_centers()
virtual CLabels * apply(CFeatures *data=NULL)