145 virtual bool load(FILE* srcfile);
154 virtual bool save(FILE* dstfile);
225 SG_ERROR(
"train_machine is not yet implemented for %s!\n",
242 SG_ERROR(
"Model storage and therefore Cross-Validation and "
243 "Model-Selection is not supported for %s\n",
get_name());
260 #endif // _MACHINE_H__
virtual const char * get_name() const =0
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.
virtual bool train_machine(CFeatures *data=NULL)
bool m_store_model_features
A generic learning machine interface.
virtual void set_store_model_features(bool store_model)
Class SGObject is the base class of all shogun objects.
virtual bool save(FILE *dstfile)
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)