39 void CGUIPluginEstimate::init()
63 CLabels* trainlabels=
ui->ui_labels->get_train_labels();
65 ui_features->get_train_features();
81 SG_ERROR(
"No estimator available.\n")
100 CFeatures* testfeatures=
ui->ui_features->get_test_features();
110 SG_ERROR(
"no test features available")
121 CFeatures* testfeatures=
ui->ui_features->get_test_features();
131 SG_ERROR(
"no test features available")
float64_t apply_one(int32_t vec_idx)
classify the test feature vector indexed by vec_idx
The class Labels models labels, i.e. class assignments of objects.
bool new_estimator(float64_t pos, float64_t neg)
float64_t apply_one(int32_t idx)
Class SGObject is the base class of all shogun objects.
virtual void set_features(CStringFeatures< uint16_t > *feat)
virtual EFeatureType get_feature_type() const
CPluginEstimate * estimator
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual bool train(CFeatures *data=NULL)
virtual void set_labels(CLabels *lab)
virtual CLabels * apply(CFeatures *data=NULL)