X-Boost  2.3.8
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
IndirectDecisionTree< DataType > Class Template Reference

#include <IndirectDecisionTree.h>

Public Member Functions

 IndirectDecisionTree (const IndirectDecisionTree< DataType > &src)
 
void operator= (const IndirectDecisionTree< DataType > &src)
 
void print (int depth)
 
int classify (const DataType *features, long stride) const
 execute classification using the DecisionTree
 
int operator() (const DataType *features, long stride) const
 

Static Public Member Functions

static std::string signature ()
 

Public Attributes

int classifier
 index to a Binary Classifier
 
DataType th
 Classifier Threshold.
 
int category
 if not a node, a category
 
IndirectDecisionTree< DataType > * left
 sub-nodes (if null is a leaf)
 
IndirectDecisionTree< DataType > * right
 

Detailed Description

template<class DataType>
class IndirectDecisionTree< DataType >

An [indirect] decision Tree. It contains an index of a feature. If has some sub-nodes,uses th to split in them. If not have subnodes, it reports the category


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