Point Cloud Library (PCL)  1.14.0-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...
 
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 51 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 54 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 83 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 61 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 106 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 118 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 109 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 112 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 115 of file regression_variance_stats_estimator.h.


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