31 #ifndef _RANDOMFOREST_H__
32 #define _RANDOMFOREST_H__
85 virtual const char*
get_name()
const {
return "RandomForest"; }
virtual bool train_machine(CFeatures *data=NULL)
The class Labels models labels, i.e. class assignments of objects.
void set_num_random_features(int32_t rand_featsize)
void set_machine_problem_type(EProblemType mode)
virtual const char * get_name() const
void set_feature_types(SGVector< bool > ft)
SGVector< bool > get_feature_types() const
A generic learning machine interface.
void set_weights(SGVector< float64_t > weights)
virtual void set_machine_parameters(CMachine *m, SGVector< index_t > idx)
virtual EProblemType get_machine_problem_type() const
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual void set_machine(CMachine *machine)
: Bagging algorithm i.e. bootstrap aggregating
This class implements the Random Forests algorithm. In Random Forests algorithm, we train a number of...
int32_t get_num_random_features() const
SGVector< float64_t > get_weights() const