42 template <
class FeatureType,
49 : decision_tree_trainer_()
52 template <
class FeatureType,
60 template <
class FeatureType,
69 for (std::size_t tree_index = 0; tree_index < num_of_trees_to_train_; ++tree_index) {
71 decision_tree_trainer_.train(tree);
73 forest.push_back(tree);
Class representing a decision forest.
virtual ~DecisionForestTrainer()
Destructor.
void train(DecisionForest< NodeType > &forest)
Trains a decision forest using the set training data and settings.
DecisionForestTrainer()
Constructor.
Class representing a decision tree.