15 using namespace shogun;
21 "Maximum training time.");
25 "Should feature data of model be stored after training?");
void set_max_train_time(float64_t t)
virtual CLabels * apply()=0
virtual bool load(FILE *srcfile)
virtual float64_t get_label(int32_t i)
The class Labels models labels, i.e. class assignments of objects.
static const float64_t INFTY
infinity
#define SG_NOTIMPLEMENTED
virtual bool train_machine(CFeatures *data=NULL)
bool m_store_model_features
void add(bool *param, const char *name, const char *description="")
virtual void set_store_model_features(bool store_model)
Class SGObject is the base class of all shogun objects.
virtual bool save(FILE *dstfile)
float64_t get_label(int32_t idx)
virtual EClassifierType get_classifier_type()
virtual CLabels * get_labels()
float64_t get_max_train_time()
ESolverType get_solver_type()
virtual void store_model_features()
The class Features is the base class of all feature objects.
virtual bool train(CFeatures *data=NULL)
virtual void set_labels(CLabels *lab)
void set_solver_type(ESolverType st)