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>

Inheritance diagram for gaia2::Cleaner:
gaia2::Analyzer

Public Member Functions

 Cleaner (const ParameterMap &params)
 
Transformation analyze (const DataSet *data, const Region &region) const
 
- Public Member Functions inherited from gaia2::Analyzer
 Analyzer (const ParameterMap &params)
 
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 RegioncheckFixedLength (const Region &region, 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

- Public Attributes inherited from gaia2::Analyzer
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...
 
- Protected Attributes inherited from gaia2::Analyzer
ParameterMap _params
 
QStringList _descriptorNames
 
QStringList _exclude
 

Detailed Description

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.

Parameters
descriptorNamesthe names of the descriptors to be included in the checking. Only accepts real descriptors, can use wildcards. (default: "*").
exceptthe names of the descriptors to be removed from the selected list specified before. Can use wildcards. (default: "").

The documentation for this class was generated from the following files: