Point Cloud Library (PCL)  1.9.1-dev
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 52 of file regression_variance_stats_estimator.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 56 of file regression_variance_stats_estimator.h.

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

Destructor.

Definition at line 58 of file regression_variance_stats_estimator.h.

Member Function Documentation

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 85 of file regression_variance_stats_estimator.h.

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 64 of file regression_variance_stats_estimator.h.

Member Data Documentation

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

The feature associated with the node.

Definition at line 109 of file regression_variance_stats_estimator.h.

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

The child nodes.

Definition at line 119 of file regression_variance_stats_estimator.h.

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

The threshold applied on the feature response.

Definition at line 111 of file regression_variance_stats_estimator.h.

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

The label value of this node.

Definition at line 114 of file regression_variance_stats_estimator.h.

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 116 of file regression_variance_stats_estimator.h.


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