Point Cloud Library (PCL)  1.9.1-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 59 of file decision_forest_evaluator.h.

Constructor & Destructor Documentation

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.

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

Destructor.

Definition at line 60 of file decision_forest_evaluator.hpp.

Member Function Documentation

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 67 of file decision_forest_evaluator.hpp.

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 92 of file decision_forest_evaluator.hpp.


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