38 #ifndef PCL_ML_DT_DECISION_TREE_EVALUATOR_H_ 39 #define PCL_ML_DT_DECISION_TREE_EVALUATOR_H_ 43 #include <pcl/ml/dt/decision_tree.h> 44 #include <pcl/ml/feature_handler.h> 45 #include <pcl/ml/stats_estimator.h> 83 std::vector<ExampleIndex> & examples,
84 std::vector<LabelType> & label_data);
99 std::vector<ExampleIndex> & examples,
100 std::vector<LabelType> & label_data);
115 ExampleIndex example,
131 std::vector<ExampleIndex> & examples,
132 std::vector<NodeType*> & nodes);
138 #include <pcl/ml/impl/dt/decision_tree_evaluator.hpp> DecisionTreeEvaluator()
Constructor.
Utility class for evaluating a decision tree.
Class representing a decision tree.
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...
virtual ~DecisionTreeEvaluator()
Destructor.
Define standard C methods and C++ classes that are common to all methods.
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.
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 interface which is used for creating and evaluating features.