Gaia
|
The Cleaner analyzer checks for values that may cause problems when doing mathematical analysis (such as normalize, pca, ...), and removes them. More...
#include <cleaner.h>
Public Member Functions | |
Cleaner (const ParameterMap ¶ms) | |
Transformation | analyze (const DataSet *data, const Region ®ion) const |
![]() | |
Analyzer (const ParameterMap ¶ms) | |
virtual Transformation | analyze (const DataSet *dataset) const |
void | checkDataSet (const DataSet *dataset) const |
Checks that the given dataset is valid. More... | |
void | checkMinPoints (const DataSet *dataset, int n) const |
Checks that the given dataset as at least the specified number of points. More... | |
const Region & | checkFixedLength (const Region ®ion, const PointLayout &layout) const |
Checks that the given Region only contains fixed-length descriptors and throws an exception if not. More... | |
Static Public Attributes | |
static const Real | MIN_RANGE = 1e-7f |
Minimum range under which a dimension will be thrown away. | |
Additional Inherited Members | |
![]() | |
QString | name |
Name for the algorithm, usually the key that was used to instantiate it from the factory. | |
QStringList | validParams |
List of valid parameters this analyzer accepts. More... | |
![]() | |
ParameterMap | _params |
QStringList | _descriptorNames |
QStringList | _exclude |
The Cleaner analyzer checks for values that may cause problems when doing mathematical analysis (such as normalize, pca, ...), and removes them.
This analyzer checks for Real descriptors which have either Infinite or NaN values, and the ones that are constant (< 1e-7, actually, hence they can not be normalized, and do not add any information anyway), and returns a transformation that removes them.
descriptorNames | the names of the descriptors to be included in the checking. Only accepts real descriptors, can use wildcards. (default: "*"). |
except | the names of the descriptors to be removed from the selected list specified before. Can use wildcards. (default: ""). |