Point Cloud Library (PCL)  1.8.0
List of all members | Public Member Functions | Public Attributes
pcl::RegressionVarianceNode< FeatureType, LabelType > Class Template Reference

Node for a regression trees which optimizes variance. More...

#include <pcl/ml/regression_variance_stats_estimator.h>

Public Member Functions

 RegressionVarianceNode ()
 Constructor. More...
 
virtual ~RegressionVarianceNode ()
 Destructor. More...
 
void serialize (std::ostream &stream) const
 Serializes the node to the specified stream. More...
 
void deserialize (std::istream &stream)
 Deserializes a node from the specified stream. More...
 

Public Attributes

FeatureType feature
 The feature associated with the node. More...
 
float threshold
 The threshold applied on the feature response. More...
 
LabelType value
 The label value of this node. More...
 
LabelType variance
 The variance of the labels that ended up at this node during training. More...
 
std::vector< RegressionVarianceNodesub_nodes
 The child nodes. More...
 

Detailed Description

template<class FeatureType, class LabelType>
class pcl::RegressionVarianceNode< FeatureType, LabelType >

Node for a regression trees which optimizes variance.

Definition at line 53 of file regression_variance_stats_estimator.h.

Constructor & Destructor Documentation

§ RegressionVarianceNode()

template<class FeatureType , class LabelType >
pcl::RegressionVarianceNode< FeatureType, LabelType >::RegressionVarianceNode ( )
inline

Constructor.

Definition at line 57 of file regression_variance_stats_estimator.h.

§ ~RegressionVarianceNode()

template<class FeatureType , class LabelType >
virtual pcl::RegressionVarianceNode< FeatureType, LabelType >::~RegressionVarianceNode ( )
inlinevirtual

Destructor.

Definition at line 59 of file regression_variance_stats_estimator.h.

Member Function Documentation

§ deserialize()

template<class FeatureType , class LabelType >
void pcl::RegressionVarianceNode< FeatureType, LabelType >::deserialize ( std::istream &  stream)
inline

Deserializes a node from the specified stream.

Parameters
[in]streamThe source for the deserialization.

Definition at line 86 of file regression_variance_stats_estimator.h.

§ serialize()

template<class FeatureType , class LabelType >
void pcl::RegressionVarianceNode< FeatureType, LabelType >::serialize ( std::ostream &  stream) const
inline

Serializes the node to the specified stream.

Parameters
[out]streamThe destination for the serialization.

Definition at line 65 of file regression_variance_stats_estimator.h.

Member Data Documentation

§ feature

template<class FeatureType , class LabelType >
FeatureType pcl::RegressionVarianceNode< FeatureType, LabelType >::feature

The feature associated with the node.

Definition at line 110 of file regression_variance_stats_estimator.h.

§ sub_nodes

template<class FeatureType , class LabelType >
std::vector<RegressionVarianceNode> pcl::RegressionVarianceNode< FeatureType, LabelType >::sub_nodes

The child nodes.

Definition at line 120 of file regression_variance_stats_estimator.h.

§ threshold

template<class FeatureType , class LabelType >
float pcl::RegressionVarianceNode< FeatureType, LabelType >::threshold

The threshold applied on the feature response.

Definition at line 112 of file regression_variance_stats_estimator.h.

§ value

template<class FeatureType , class LabelType >
LabelType pcl::RegressionVarianceNode< FeatureType, LabelType >::value

The label value of this node.

Definition at line 115 of file regression_variance_stats_estimator.h.

§ variance

template<class FeatureType , class LabelType >
LabelType pcl::RegressionVarianceNode< FeatureType, LabelType >::variance

The variance of the labels that ended up at this node during training.

Definition at line 117 of file regression_variance_stats_estimator.h.


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