shark::CARTClassifier< LabelType >::NodeInfo Struct Reference

#include <shark/Models/Trees/CARTClassifier.h>

Public Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
 NodeInfo ()
 
 NodeInfo (std::size_t nodeId)
 
 NodeInfo (std::size_t nodeId, LabelType label)
 
 NodeInfo (NodeInfo const &)=default
 
NodeInfooperator= (NodeInfo const &)=default
 
 NodeInfo (NodeInfo &&n)
 
NodeInfooperator= (NodeInfo &&n)
 

Public Attributes

std::size_t nodeId
 
std::size_t attributeIndex
 
double attributeValue
 
std::size_t leftNodeId
 
std::size_t rightNodeId
 
LabelType label
 
double misclassProp
 
std::size_t r
 
double g
 

Detailed Description

template<class LabelType>
struct shark::CARTClassifier< LabelType >::NodeInfo

Definition at line 66 of file CARTClassifier.h.

Constructor & Destructor Documentation

◆ NodeInfo() [1/5]

template<class LabelType>
shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo ( )
inline

◆ NodeInfo() [2/5]

template<class LabelType>
shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo ( std::size_t  nodeId)
inlineexplicit

Definition at line 91 of file CARTClassifier.h.

◆ NodeInfo() [3/5]

template<class LabelType>
shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo ( std::size_t  nodeId,
LabelType  label 
)
inline

◆ NodeInfo() [4/5]

template<class LabelType>
shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo ( NodeInfo const &  )
default

◆ NodeInfo() [5/5]

template<class LabelType>
shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo ( NodeInfo &&  n)
inline

Member Function Documentation

◆ operator=() [1/2]

template<class LabelType>
NodeInfo& shark::CARTClassifier< LabelType >::NodeInfo::operator= ( NodeInfo const &  )
default

◆ operator=() [2/2]

template<class LabelType>
NodeInfo& shark::CARTClassifier< LabelType >::NodeInfo::operator= ( NodeInfo &&  n)
inline

◆ serialize()

Member Data Documentation

◆ attributeIndex

template<class LabelType>
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::attributeIndex

◆ attributeValue

template<class LabelType>
double shark::CARTClassifier< LabelType >::NodeInfo::attributeValue

◆ g

template<class LabelType>
double shark::CARTClassifier< LabelType >::NodeInfo::g

◆ label

template<class LabelType>
LabelType shark::CARTClassifier< LabelType >::NodeInfo::label

◆ leftNodeId

◆ misclassProp

template<class LabelType>
double shark::CARTClassifier< LabelType >::NodeInfo::misclassProp

◆ nodeId

◆ r

template<class LabelType>
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::r

◆ rightNodeId

template<class LabelType>
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::rightNodeId

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