19 using namespace shogun;
23 pos_pseudo(1e-10), neg_pseudo(1e-10)
48 CLabels* trainlabels=
ui->ui_labels->get_train_labels();
50 ui_features->get_train_features();
57 SG_ERROR(
"No features available.\n");
66 SG_ERROR(
"No estimator available.\n");
85 CFeatures* testfeatures=
ui->ui_features->get_test_features();
89 SG_ERROR(
"no estimator available") ;
95 SG_ERROR(
"no test features available") ;
106 CFeatures* testfeatures=
ui->ui_features->get_test_features();
110 SG_ERROR(
"no estimator available") ;
116 SG_ERROR(
"no test features available") ;
The class Labels models labels, i.e. class assignments of objects.
bool new_estimator(float64_t pos, float64_t neg)
Class SGObject is the base class of all shogun objects.
virtual void set_features(CStringFeatures< uint16_t > *feat)
CPluginEstimate * estimator
The class Features is the base class of all feature objects.
virtual bool train(CFeatures *data=NULL)
virtual EFeatureType get_feature_type()
virtual void set_labels(CLabels *lab)