#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 | |
NodeInfo & | operator= (NodeInfo const &)=default |
NodeInfo (NodeInfo &&n) | |
NodeInfo & | operator= (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 |
Definition at line 66 of file CARTClassifier.h.
|
inline |
Definition at line 89 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo().
|
inlineexplicit |
Definition at line 91 of file CARTClassifier.h.
|
inline |
Definition at line 93 of file CARTClassifier.h.
References shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo(), and shark::CARTClassifier< LabelType >::NodeInfo::operator=().
|
default |
|
inline |
Definition at line 97 of file CARTClassifier.h.
References shark::CARTClassifier< LabelType >::NodeInfo::label.
|
default |
Referenced by shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo().
|
inline |
Definition at line 103 of file CARTClassifier.h.
References shark::CARTClassifier< LabelType >::NodeInfo::nodeId.
|
inline |
Definition at line 78 of file CARTClassifier.h.
References shark::CARTClassifier< LabelType >::NodeInfo::attributeIndex, shark::CARTClassifier< LabelType >::NodeInfo::attributeValue, shark::CARTClassifier< LabelType >::NodeInfo::g, shark::CARTClassifier< LabelType >::NodeInfo::label, shark::CARTClassifier< LabelType >::NodeInfo::leftNodeId, shark::CARTClassifier< LabelType >::NodeInfo::misclassProp, shark::CARTClassifier< LabelType >::NodeInfo::nodeId, shark::CARTClassifier< LabelType >::NodeInfo::r, and shark::CARTClassifier< LabelType >::NodeInfo::rightNodeId.
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::attributeIndex |
Definition at line 68 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< RealVector >::evalPattern(), and shark::CARTClassifier< LabelType >::NodeInfo::serialize().
double shark::CARTClassifier< LabelType >::NodeInfo::attributeValue |
Definition at line 69 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< RealVector >::evalPattern(), and shark::CARTClassifier< LabelType >::NodeInfo::serialize().
double shark::CARTClassifier< LabelType >::NodeInfo::g |
Definition at line 75 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< LabelType >::NodeInfo::serialize().
LabelType shark::CARTClassifier< LabelType >::NodeInfo::label |
Definition at line 72 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< LabelType >::NodeInfo::NodeInfo(), and shark::CARTClassifier< LabelType >::NodeInfo::serialize().
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::leftNodeId |
Definition at line 70 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< RealVector >::evalPattern(), shark::CARTClassifier< RealVector >::optimizeTree(), and shark::CARTClassifier< LabelType >::NodeInfo::serialize().
double shark::CARTClassifier< LabelType >::NodeInfo::misclassProp |
Definition at line 73 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< LabelType >::NodeInfo::serialize().
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::nodeId |
Definition at line 67 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< RealVector >::evalPattern(), shark::CARTClassifier< LabelType >::NodeInfo::operator=(), and shark::CARTClassifier< LabelType >::NodeInfo::serialize().
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::r |
Definition at line 74 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< RealVector >::countAttributes(), and shark::CARTClassifier< LabelType >::NodeInfo::serialize().
std::size_t shark::CARTClassifier< LabelType >::NodeInfo::rightNodeId |
Definition at line 71 of file CARTClassifier.h.
Referenced by shark::CARTClassifier< RealVector >::optimizeTree(), and shark::CARTClassifier< LabelType >::NodeInfo::serialize().