#include <multidecisiontree.h>
Inheritance diagram for CLUS::MultiDecisionTree< T_Splitter >:
Public Member Functions | |
MultiDecisionTree (const Vector< int > &DDomainSize, int CsplitDim, int NoDatasets) | |
~MultiDecisionTree (void) | |
virtual int | InDim (void) |
Get the number of input dimensions. | |
virtual string | TypeName (void) |
Get the type of this object. | |
virtual void | Infer (void) |
Do the inference. | |
void | printBitFlipData () |
virtual void | Identify () |
Use the training data to learn a new structure. | |
virtual void | Prune (void) |
Prune the structure. | |
virtual int | SetOption (char *name, char *val) |
Set an option for the machine. | |
virtual void | SaveToStream (ostream &out) |
Output the structure data to a stream. | |
Protected Attributes | |
MultiDecisionTreeNode< T_Splitter > * | root |
const Vector< int > & | dDomainSize |
list of discrete domain sizes | |
int | dsplitDim |
num of discrete variables | |
int | csplitDim |
num of continuous+split variables | |
int | noDatasets |
the number of trees built and outputs produces | |
int | min_no_datapoints |
the minimum number of datapoints in a node to split further | |
int | splitType |
type of split to be passed to splitter, splitter dependent | |
bool | schemaMatch |
bool | labeled |
bool | alignSplits |
ContinuousLinearTransformation * | continuousTransformer |
DiscretePermutationTransformation * | discreteTransformer |
|
Definition at line 83 of file multidecisiontree.h. |
|
Definition at line 94 of file multidecisiontree.h. |
|
Use the training data to learn a new structure.
Reimplemented from CLUS::Machine. Definition at line 191 of file multidecisiontree.h. |
|
Get the number of input dimensions.
Reimplemented from CLUS::Machine. Definition at line 106 of file multidecisiontree.h. |
|
Do the inference.
Reimplemented from CLUS::Machine. Definition at line 116 of file multidecisiontree.h. |
|
Definition at line 156 of file multidecisiontree.h. |
|
Prune the structure.
Reimplemented from CLUS::Machine. Definition at line 426 of file multidecisiontree.h. |
|
Output the structure data to a stream.
Reimplemented from CLUS::Machine. Definition at line 491 of file multidecisiontree.h. |
|
Set an option for the machine.
Reimplemented from CLUS::Machine. Definition at line 460 of file multidecisiontree.h. |
|
Get the type of this object.
Reimplemented from CLUS::Machine. Definition at line 111 of file multidecisiontree.h. |
|
Definition at line 78 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::SetOption(). |
|
|
num of continuous+split variables
Definition at line 65 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), CLUS::MultiDecisionTree< T_Splitter >::InDim(), CLUS::MultiDecisionTree< T_Splitter >::Infer(), CLUS::MultiDecisionTree< T_Splitter >::MultiDecisionTree(), CLUS::MultiDecisionTree< T_Splitter >::printBitFlipData(), CLUS::MultiDecisionTree< T_Splitter >::Prune(), and CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(). |
|
list of discrete domain sizes
Definition at line 59 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), CLUS::MultiDecisionTree< T_Splitter >::MultiDecisionTree(), and CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(). |
|
|
num of discrete variables
Definition at line 62 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), CLUS::MultiDecisionTree< T_Splitter >::InDim(), CLUS::MultiDecisionTree< T_Splitter >::Infer(), CLUS::MultiDecisionTree< T_Splitter >::MultiDecisionTree(), CLUS::MultiDecisionTree< T_Splitter >::Prune(), and CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(). |
|
Definition at line 77 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::SetOption(). |
|
the minimum number of datapoints in a node to split further
Definition at line 71 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::MultiDecisionTree(). |
|
the number of trees built and outputs produces
Definition at line 68 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), CLUS::MultiDecisionTree< T_Splitter >::Infer(), CLUS::MultiDecisionTree< T_Splitter >::MultiDecisionTree(), CLUS::MultiDecisionTree< T_Splitter >::printBitFlipData(), and CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(). |
|
|
Definition at line 76 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::SetOption(). |
|
type of split to be passed to splitter, splitter dependent
Definition at line 74 of file multidecisiontree.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::MultiDecisionTree(). |