Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Types | Public Member Functions
pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType > Class Template Referenceabstract

#include <pcl/ml/dt/decision_tree_data_provider.h>

+ Inheritance diagram for pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >:

Public Types

using Ptr = shared_ptr< DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType > >
 
using ConstPtr = shared_ptr< const DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType > >
 

Public Member Functions

 DecisionTreeTrainerDataProvider ()=default
 Constructor. More...
 
virtual ~DecisionTreeTrainerDataProvider ()=default
 Destructor. More...
 
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. More...
 

Detailed Description

template<class FeatureType, class DataSet, class LabelType, class ExampleIndex, class NodeType>
class pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >

Definition at line 50 of file decision_tree_data_provider.h.

Member Typedef Documentation

◆ ConstPtr

template<class FeatureType , class DataSet , class LabelType , class ExampleIndex , class NodeType >
using pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::ConstPtr = shared_ptr<const DecisionTreeTrainerDataProvider<FeatureType, DataSet, LabelType, ExampleIndex, NodeType> >

Definition at line 63 of file decision_tree_data_provider.h.

◆ Ptr

template<class FeatureType , class DataSet , class LabelType , class ExampleIndex , class NodeType >
using pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::Ptr = shared_ptr<DecisionTreeTrainerDataProvider<FeatureType, DataSet, LabelType, ExampleIndex, NodeType> >

Definition at line 58 of file decision_tree_data_provider.h.

Constructor & Destructor Documentation

◆ DecisionTreeTrainerDataProvider()

template<class FeatureType , class DataSet , class LabelType , class ExampleIndex , class NodeType >
pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::DecisionTreeTrainerDataProvider ( )
default

Constructor.

◆ ~DecisionTreeTrainerDataProvider()

template<class FeatureType , class DataSet , class LabelType , class ExampleIndex , class NodeType >
virtual pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::~DecisionTreeTrainerDataProvider ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getDatasetAndLabels()

template<class FeatureType , class DataSet , class LabelType , class ExampleIndex , class NodeType >
virtual void pcl::DecisionTreeTrainerDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::getDatasetAndLabels ( DataSet &  data_set,
std::vector< LabelType > &  label_data,
std::vector< ExampleIndex > &  examples 
)
pure virtual

Virtual function called to obtain training examples and labels before training a specific tree.

Implemented in pcl::face_detection::FaceDetectorDataProvider< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >.


The documentation for this class was generated from the following file: