45 template <
class FeatureType,
55 std::vector<LabelType> label_data_;
79 std::vector<LabelType>& label_data,
80 std::vector<ExampleIndex>& examples) = 0;
DecisionTreeTrainerDataProvider()=default
Constructor.
virtual ~DecisionTreeTrainerDataProvider()=default
Destructor.
shared_ptr< const DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType > > ConstPtr
virtual void getDatasetAndLabels(DataSet &data_set, std::vector< LabelType > &label_data, std::vector< ExampleIndex > &examples)=0
Virtual function called to obtain training examples and labels before training a specific tree.
shared_ptr< DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType > > Ptr
Define standard C methods and C++ classes that are common to all methods.
Defines functions, macros and traits for allocating and using memory.
Defines all the PCL and non-PCL macros used.