Point Cloud Library (PCL)
1.10.1
|
42 #include <pcl/ml/dt/decision_tree.h>
43 #include <pcl/ml/feature_handler.h>
44 #include <pcl/ml/stats_estimator.h>
51 template <
class FeatureType,
81 std::vector<ExampleIndex>& examples,
82 std::vector<LabelType>& label_data);
101 std::vector<ExampleIndex>& examples,
102 std::vector<LabelType>& label_data);
120 ExampleIndex example,
139 std::vector<ExampleIndex>& examples,
140 std::vector<NodeType*>& nodes);
145 #include <pcl/ml/impl/dt/decision_tree_evaluator.hpp>
This file defines compatibility wrappers for low level I/O functions.
void evaluateAndAdd(pcl::DecisionTree< NodeType > &tree, 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 tree and adds the results to the supplied results...
DecisionTreeEvaluator()
Constructor.
Class representing a decision tree.
Utility class interface which is used for creating and evaluating features.
void evaluate(pcl::DecisionTree< NodeType > &tree, 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 tree.
Utility class for evaluating a decision tree.
virtual ~DecisionTreeEvaluator()
Destructor.
void getNodes(pcl::DecisionTree< NodeType > &tree, pcl::FeatureHandler< FeatureType, DataSet, ExampleIndex > &feature_handler, pcl::StatsEstimator< LabelType, NodeType, DataSet, ExampleIndex > &stats_estimator, DataSet &data_set, std::vector< ExampleIndex > &examples, std::vector< NodeType * > &nodes)
Evaluates the specified examples using the supplied tree.