#include <binaryprobabilisticdecisiontree.h>
Inheritance diagram for CLUS::BinaryProbabilisticDecisionTree< T_Splitter >:
Public Member Functions | |
BinaryProbabilisticDecisionTree (const Vector< int > &DDomainSize, int CsplitDim) | |
~BinaryProbabilisticDecisionTree (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. | |
virtual void | Identify (void) |
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 | |
BinaryProbabilisticDecisionTreeNode< T_Splitter > * | root |
const Vector< int > & | dDomainSize |
vector of discrete domain sizes | |
int | dsplitDim |
number of discrete split variables | |
int | csplitDim |
number of continuous split variables | |
double | minMass |
the minimum mass (sum of weights) to continue splitting | |
double | threshold |
the minimum value of the probability to belong to a partition to be considered | |
bool | bootstrapping |
do we do bootstrapping | |
int | bootstrappingRepetitions |
number of repetitions for bootstrapping |
|
Definition at line 75 of file binaryprobabilisticdecisiontree.h. |
|
Definition at line 88 of file binaryprobabilisticdecisiontree.h. |
|
Use the training data to learn a new structure.
Reimplemented from CLUS::Machine. Definition at line 144 of file binaryprobabilisticdecisiontree.h. |
|
Get the number of input dimensions.
Reimplemented from CLUS::Machine. Definition at line 94 of file binaryprobabilisticdecisiontree.h. |
|
Do the inference.
Reimplemented from CLUS::Machine. Definition at line 104 of file binaryprobabilisticdecisiontree.h. |
|
Prune the structure.
Reimplemented from CLUS::Machine. Definition at line 171 of file binaryprobabilisticdecisiontree.h. |
|
Output the structure data to a stream.
Reimplemented from CLUS::Machine. Definition at line 205 of file binaryprobabilisticdecisiontree.h. |
|
Set an option for the machine.
Reimplemented from CLUS::Machine. Definition at line 193 of file binaryprobabilisticdecisiontree.h. |
|
Get the type of this object.
Reimplemented from CLUS::Machine. Definition at line 99 of file binaryprobabilisticdecisiontree.h. Referenced by CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::SaveToStream(). |
|
do we do bootstrapping
Definition at line 69 of file binaryprobabilisticdecisiontree.h. Referenced by CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::BinaryProbabilisticDecisionTree(). |
|
number of repetitions for bootstrapping
Definition at line 72 of file binaryprobabilisticdecisiontree.h. Referenced by CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::BinaryProbabilisticDecisionTree(). |
|
number of continuous split variables
Definition at line 60 of file binaryprobabilisticdecisiontree.h. Referenced by CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::BinaryProbabilisticDecisionTree(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::Identify(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::InDim(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::Infer(), and CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::SaveToStream(). |
|
vector of discrete domain sizes
Definition at line 54 of file binaryprobabilisticdecisiontree.h. Referenced by CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::BinaryProbabilisticDecisionTree(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::Identify(), and CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::SaveToStream(). |
|
|
the minimum mass (sum of weights) to continue splitting
Definition at line 63 of file binaryprobabilisticdecisiontree.h. Referenced by CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::BinaryProbabilisticDecisionTree(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::Identify(), and CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::SetOption(). |
|
|
the minimum value of the probability to belong to a partition to be considered
Definition at line 66 of file binaryprobabilisticdecisiontree.h. Referenced by CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::BinaryProbabilisticDecisionTree(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::Identify(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::Infer(), CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::Prune(), and CLUS::BinaryProbabilisticDecisionTree< T_Splitter >::SetOption(). |