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

Utility class for evaluating a decision forests. More...

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

Public Member Functions

 DecisionForestEvaluator ()
 Constructor. More...
 
virtual ~DecisionForestEvaluator ()
 Destructor. More...
 
void evaluate (pcl::DecisionForest< NodeType > &DecisionForestEvaluator, pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &feature_handler, pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &stats_estimator, DataSet &data_set, std::vector< ExampleIndex > &examples, std::vector< LabelType > &label_data)
 Evaluates the specified examples using the supplied forest. More...
 
void evaluate (pcl::DecisionForest< NodeType > &DecisionForestEvaluator, pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &feature_handler, pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &stats_estimator, DataSet &data_set, ExampleIndex example, std::vector< NodeType > &leaves)
 Evaluates a specific patch using the supplied forest. More...
 

Detailed Description

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

Utility class for evaluating a decision forests.

Definition at line 56 of file decision_forest_evaluator.h.

Constructor & Destructor Documentation

◆ DecisionForestEvaluator()

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

Constructor.

Definition at line 53 of file decision_forest_evaluator.hpp.

◆ ~DecisionForestEvaluator()

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

Destructor.

Member Function Documentation

◆ evaluate() [1/2]

template<class FeatureType , class DataSet , class LabelType , class ExampleIndex , class NodeType >
void pcl::DecisionForestEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluate ( pcl::DecisionForest< NodeType > &  DecisionForestEvaluator,
pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &  feature_handler,
pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &  stats_estimator,
DataSet &  data_set,
ExampleIndex  example,
std::vector< NodeType > &  leaves 
)

Evaluates a specific patch using the supplied forest.

Parameters
[in]DecisionForestEvaluatorthe decision forest
[in]feature_handlerthe feature handler used to train the tree
[in]stats_estimatorthe statistics estimation instance used while training the tree
[in]data_setthe data set used for evaluation
[in]examplethe examples that have to be evaluated
[out]leavesthe leaves where the patch arrives

Definition at line 105 of file decision_forest_evaluator.hpp.

◆ evaluate() [2/2]

template<class FeatureType , class DataSet , class LabelType , class ExampleIndex , class NodeType >
void pcl::DecisionForestEvaluator< FeatureType, DataSet, LabelType, ExampleIndex, NodeType >::evaluate ( pcl::DecisionForest< NodeType > &  DecisionForestEvaluator,
pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &  feature_handler,
pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &  stats_estimator,
DataSet &  data_set,
std::vector< ExampleIndex > &  examples,
std::vector< LabelType > &  label_data 
)

Evaluates the specified examples using the supplied forest.

Parameters
[in]DecisionForestEvaluatorthe decision forest
[in]feature_handlerthe feature handler used to train the tree
[in]stats_estimatorthe statistics estimation instance used while training the tree
[in]data_setthe data set used for evaluation
[in]examplesthe examples that have to be evaluated
[out]label_datathe destination for the resulting label data

Definition at line 72 of file decision_forest_evaluator.hpp.


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