Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

CLUS::MultiDecisionTree< T_Splitter > Class Template Reference

#include <multidecisiontree.h>

Inheritance diagram for CLUS::MultiDecisionTree< T_Splitter >:

Inheritance graph
[legend]
Collaboration diagram for CLUS::MultiDecisionTree< T_Splitter >:

Collaboration graph
[legend]

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
ContinuousLinearTransformationcontinuousTransformer
DiscretePermutationTransformationdiscreteTransformer

template<class T_Splitter>
class CLUS::MultiDecisionTree< T_Splitter >


Constructor & Destructor Documentation

template<class T_Splitter>
CLUS::MultiDecisionTree< T_Splitter >::MultiDecisionTree const Vector< int > &  DDomainSize,
int  CsplitDim,
int  NoDatasets
[inline]
 

Definition at line 83 of file multidecisiontree.h.

template<class T_Splitter>
CLUS::MultiDecisionTree< T_Splitter >::~MultiDecisionTree void   )  [inline]
 

Definition at line 94 of file multidecisiontree.h.


Member Function Documentation

template<class T_Splitter>
virtual void CLUS::MultiDecisionTree< T_Splitter >::Identify void   )  [inline, virtual]
 

Use the training data to learn a new structure.

Reimplemented from CLUS::Machine.

Definition at line 191 of file multidecisiontree.h.

template<class T_Splitter>
virtual int CLUS::MultiDecisionTree< T_Splitter >::InDim void   )  [inline, virtual]
 

Get the number of input dimensions.

Reimplemented from CLUS::Machine.

Definition at line 106 of file multidecisiontree.h.

template<class T_Splitter>
virtual void CLUS::MultiDecisionTree< T_Splitter >::Infer void   )  [inline, virtual]
 

Do the inference.

Reimplemented from CLUS::Machine.

Definition at line 116 of file multidecisiontree.h.

template<class T_Splitter>
void CLUS::MultiDecisionTree< T_Splitter >::printBitFlipData  )  [inline]
 

Definition at line 156 of file multidecisiontree.h.

template<class T_Splitter>
virtual void CLUS::MultiDecisionTree< T_Splitter >::Prune void   )  [inline, virtual]
 

Prune the structure.

Reimplemented from CLUS::Machine.

Definition at line 426 of file multidecisiontree.h.

template<class T_Splitter>
virtual void CLUS::MultiDecisionTree< T_Splitter >::SaveToStream ostream &  out  )  [inline, virtual]
 

Output the structure data to a stream.

Parameters:
out stream for output

Reimplemented from CLUS::Machine.

Definition at line 491 of file multidecisiontree.h.

template<class T_Splitter>
virtual int CLUS::MultiDecisionTree< T_Splitter >::SetOption char *  name,
char *  val
[inline, virtual]
 

Set an option for the machine.

Parameters:
name name of option to be set
val value of option

Reimplemented from CLUS::Machine.

Definition at line 460 of file multidecisiontree.h.

template<class T_Splitter>
virtual string CLUS::MultiDecisionTree< T_Splitter >::TypeName void   )  [inline, virtual]
 

Get the type of this object.

Returns:
name of object type as a string

Reimplemented from CLUS::Machine.

Definition at line 111 of file multidecisiontree.h.


Field Documentation

template<class T_Splitter>
bool CLUS::MultiDecisionTree< T_Splitter >::alignSplits [protected]
 

Definition at line 78 of file multidecisiontree.h.

Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::SetOption().

template<class T_Splitter>
ContinuousLinearTransformation* CLUS::MultiDecisionTree< T_Splitter >::continuousTransformer [protected]
 

Definition at line 80 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 >::Prune(), CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(), and CLUS::MultiDecisionTree< T_Splitter >::~MultiDecisionTree().

template<class T_Splitter>
int CLUS::MultiDecisionTree< T_Splitter >::csplitDim [protected]
 

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().

template<class T_Splitter>
const Vector<int>& CLUS::MultiDecisionTree< T_Splitter >::dDomainSize [protected]
 

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().

template<class T_Splitter>
DiscretePermutationTransformation* CLUS::MultiDecisionTree< T_Splitter >::discreteTransformer [protected]
 

Definition at line 81 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 >::Prune(), CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(), and CLUS::MultiDecisionTree< T_Splitter >::~MultiDecisionTree().

template<class T_Splitter>
int CLUS::MultiDecisionTree< T_Splitter >::dsplitDim [protected]
 

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().

template<class T_Splitter>
bool CLUS::MultiDecisionTree< T_Splitter >::labeled [protected]
 

Definition at line 77 of file multidecisiontree.h.

Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::SetOption().

template<class T_Splitter>
int CLUS::MultiDecisionTree< T_Splitter >::min_no_datapoints [protected]
 

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().

template<class T_Splitter>
int CLUS::MultiDecisionTree< T_Splitter >::noDatasets [protected]
 

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().

template<class T_Splitter>
MultiDecisionTreeNode< T_Splitter >* CLUS::MultiDecisionTree< T_Splitter >::root [protected]
 

Definition at line 56 of file multidecisiontree.h.

Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), CLUS::MultiDecisionTree< T_Splitter >::Infer(), CLUS::MultiDecisionTree< T_Splitter >::printBitFlipData(), CLUS::MultiDecisionTree< T_Splitter >::Prune(), CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(), and CLUS::MultiDecisionTree< T_Splitter >::~MultiDecisionTree().

template<class T_Splitter>
bool CLUS::MultiDecisionTree< T_Splitter >::schemaMatch [protected]
 

Definition at line 76 of file multidecisiontree.h.

Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(), and CLUS::MultiDecisionTree< T_Splitter >::SetOption().

template<class T_Splitter>
int CLUS::MultiDecisionTree< T_Splitter >::splitType [protected]
 

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().


The documentation for this class was generated from the following file:
Generated on Mon Jul 21 16:57:50 2003 for SECRET by doxygen 1.3.2