#include <continuouslineartransformation.h>
Public Member Functions | |
ContinuousLinearTransformation (int NoAttributes, int NoDatasets, Matrix< double > &TrainingDataset) | |
double | getShift (int i, int j) |
void | SetShiftsAttribute (int attrib, Vector< double > &shiftsAtt) |
double | GetShift (int attrib, int datasetIndex) |
void | ApplyShiftToTuple (double *dataPoint, int datasetIndex) |
Use the same convention with last position encoding the original dataset. | |
bool | HasAttributeShifts (int attrib) |
Private Attributes | |
Vector< bool > | mask |
keep track the attributes | |
Matrix< double > | shifts |
shifts: attributes as rows, datasets as columns | |
Matrix< double > & | dataset |
original dataset; transformations are applied to it when they change |
Keeps track of what columns transformations are applied on.
Applying the shift means substracting it from the dataset.
Definition at line 51 of file continuouslineartransformation.h.
|
Definition at line 63 of file continuouslineartransformation.h. |
|
Use the same convention with last position encoding the original dataset.
Definition at line 113 of file continuouslineartransformation.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Infer(), and CLUS::MultiDecisionTree< T_Splitter >::Prune(). |
|
Definition at line 107 of file continuouslineartransformation.h. Referenced by CLUS::BinaryMultiClassificationSplitter::ComputeCenter(), CLUS::BinaryMultiClassificationSplitter::ComputeSplitPoint(), and CLUS::BinaryMultiClassificationSplitter::getContinuousShift(). |
|
Definition at line 70 of file continuouslineartransformation.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::SaveToStream(). |
|
|
Definition at line 76 of file continuouslineartransformation.h. Referenced by CLUS::MultiDecisionTree< T_Splitter >::Identify(). |
|
original dataset; transformations are applied to it when they change
Definition at line 60 of file continuouslineartransformation.h. Referenced by ContinuousLinearTransformation(), and SetShiftsAttribute(). |
|
keep track the attributes
Definition at line 54 of file continuouslineartransformation.h. Referenced by ApplyShiftToTuple(), ContinuousLinearTransformation(), getShift(), HasAttributeShifts(), and SetShiftsAttribute(). |
|
shifts: attributes as rows, datasets as columns
Definition at line 57 of file continuouslineartransformation.h. Referenced by ApplyShiftToTuple(), ContinuousLinearTransformation(), GetShift(), getShift(), and SetShiftsAttribute(). |