#include <discretepermutationtransformation.h>
Public Member Functions | |
DiscretePermutationTransformation (int NoAttributes, int NoDatasets, Matrix< double > &cDataset, Matrix< int > &dDataset, const Vector< int > &DDomainSize) | |
void | SetShiftsAttribute (int attrib, Vector< Permutation > &shiftsAtt) |
Permutation | GetShift (int attrib, int datasetIndex) |
void | ApplyShiftToTuple (int *dataPoint, int datasetIndex) |
bool | HasAttributeShifts (int attrib) |
void | saveToStream (ostream &out, int attribute, int dataset) |
Private Attributes | |
Vector< bool > | mask |
keep track of the attributes with shifts | |
Matrix< Permutation > | shifts |
shifts: attributes as rows, datasets as columns | |
Matrix< double > & | cdataset |
original dataset; keep arround for dataset information only | |
Matrix< int > & | ddataset |
discrete dataset; last column ignored since is classlabel | |
const Vector< int > & | dDomainSize |
int | numDataSets |
|
Definition at line 149 of file discretepermutationtransformation.h. |
|
Definition at line 189 of file discretepermutationtransformation.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Infer(), and CLUS::MultiDecisionTree< T_Splitter >::Prune(). |
|
Definition at line 184 of file discretepermutationtransformation.h. Referenced by CLUS::BinaryMultiClassificationSplitter::ComputeCenter(), and CLUS::BinaryMultiClassificationSplitter::ComputeSplitPoint(). |
|
|
Definition at line 201 of file discretepermutationtransformation.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(). |
|
Definition at line 165 of file discretepermutationtransformation.h. |
|
original dataset; keep arround for dataset information only
Definition at line 139 of file discretepermutationtransformation.h. Referenced by DiscretePermutationTransformation(), and SetShiftsAttribute(). |
|
discrete dataset; last column ignored since is classlabel
Definition at line 142 of file discretepermutationtransformation.h. Referenced by DiscretePermutationTransformation(), and SetShiftsAttribute(). |
|
Definition at line 144 of file discretepermutationtransformation.h. Referenced by DiscretePermutationTransformation(). |
|
keep track of the attributes with shifts
Definition at line 133 of file discretepermutationtransformation.h. Referenced by ApplyShiftToTuple(), DiscretePermutationTransformation(), HasAttributeShifts(), and SetShiftsAttribute(). |
|
Definition at line 146 of file discretepermutationtransformation.h. Referenced by DiscretePermutationTransformation(). |
|
shifts: attributes as rows, datasets as columns
Definition at line 136 of file discretepermutationtransformation.h. Referenced by ApplyShiftToTuple(), DiscretePermutationTransformation(), GetShift(), saveToStream(), and SetShiftsAttribute(). |