ML functions
 
Loading...
Searching...
No Matches
ml::Node Struct Reference

Represents a node in a decision tree. More...

#include <DecisionTree.h>

Public Attributes

union { 
 
   float   threshold 
 Threshold value for non-leaf nodes.
 
   float   leafValue 
 Value for leaf nodes.
 
};  
 
int indexID
 Index of the feature to compare.
 
int leftChild
 Index of the left child node.
 
int rightChild
 Index of the right child node.
 
bool isLeaf
 Whether the node is a leaf.
 
bool isMissTrackLeft
 Whether to track left if feature value is missing.
 

Detailed Description

Represents a node in a decision tree.


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