38 #ifndef PCL_ML_FERNS_FERN_EVALUATOR_H_ 39 #define PCL_ML_FERNS_FERN_EVALUATOR_H_ 43 #include <pcl/ml/ferns/fern.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 std::vector<ExampleIndex> & examples,
116 std::vector<NodeType*> & nodes);
122 #include <pcl/ml/impl/ferns/fern_evaluator.hpp> void evaluate(pcl::Fern< FeatureType, NodeType > &fern, 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 fern.
FernEvaluator()
Constructor.
Define standard C methods and C++ classes that are common to all methods.
Class representing a Fern.
void getNodes(pcl::Fern< FeatureType, NodeType > &fern, 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 evaluateAndAdd(pcl::Fern< FeatureType, NodeType > &fern, 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 ~FernEvaluator()
Destructor.
Utility class interface which is used for creating and evaluating features.