OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DecisionTreeEntry Struct Reference

#include <DecisionTreeEntry.h>

Public Member Functions

 DecisionTreeEntry (const double value, const int64_t feature_index, const int64_t left_child_row_idx)
 
 DecisionTreeEntry (const double value)
 
bool isSplitNode () const
 

Public Attributes

double value
 
int64_t feature_index
 
int64_t left_child_row_idx
 
int64_t right_child_row_idx
 

Detailed Description

Definition at line 19 of file DecisionTreeEntry.h.

Constructor & Destructor Documentation

DecisionTreeEntry::DecisionTreeEntry ( const double  value,
const int64_t  feature_index,
const int64_t  left_child_row_idx 
)
inline
DecisionTreeEntry::DecisionTreeEntry ( const double  value)
inline

Definition at line 37 of file DecisionTreeEntry.h.

Member Function Documentation

bool DecisionTreeEntry::isSplitNode ( ) const
inline

Definition at line 39 of file DecisionTreeEntry.h.

References feature_index.

Referenced by tree_model_reg_predict().

39 { return feature_index >= 0; }
int64_t feature_index

+ Here is the caller graph for this function:

Member Data Documentation

int64_t DecisionTreeEntry::feature_index

Definition at line 21 of file DecisionTreeEntry.h.

Referenced by isSplitNode(), and tree_model_reg_predict().

int64_t DecisionTreeEntry::left_child_row_idx

Definition at line 22 of file DecisionTreeEntry.h.

Referenced by tree_model_reg_predict().

int64_t DecisionTreeEntry::right_child_row_idx

Definition at line 23 of file DecisionTreeEntry.h.

Referenced by tree_model_reg_predict().

double DecisionTreeEntry::value

Definition at line 20 of file DecisionTreeEntry.h.

Referenced by tree_model_reg_predict().


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