V
- vector type@Alias(value="de.lmu.ifi.dbs.elki.datasource.filter.normalization.AttributeWiseMADNormalization") public class AttributeWiseMADNormalization<V extends NumberVector> extends Object implements Normalization<V>
Modifier and Type | Field and Description |
---|---|
protected NumberVector.Factory<V> |
factory
Number vector factory.
|
private double[] |
imadsigma
Stores the inverse median absolute deviation in each dimension.
|
private static Logging |
LOG
Class logger.
|
private double[] |
median
Stores the median in each dimension.
|
Constructor and Description |
---|
AttributeWiseMADNormalization()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MultipleObjectsBundle |
filter(MultipleObjectsBundle objects)
Filter a set of object packages.
|
private double |
normalize(int d,
double val)
Normalize a single dimension.
|
private double |
restore(int d,
double val)
Restore a single dimension.
|
V |
restore(V featureVector)
Transforms a feature vector to the original attribute ranges.
|
String |
toString() |
LinearEquationSystem |
transform(LinearEquationSystem linearEquationSystem)
Transforms a linear equation system describing linear dependencies
derived on the normalized space into a linear equation system describing
linear dependencies quantitatively adapted to the original space.
|
private static final Logging LOG
protected NumberVector.Factory<V extends NumberVector> factory
private double[] median
private double[] imadsigma
public AttributeWiseMADNormalization()
public MultipleObjectsBundle filter(MultipleObjectsBundle objects)
ObjectFilter
filter
in interface ObjectFilter
objects
- Object to filterpublic V restore(V featureVector) throws NonNumericFeaturesException
Normalization
restore
in interface Normalization<V extends NumberVector>
featureVector
- a feature vector to be transformed into original spaceNonNumericFeaturesException
- feature vector is not compatible with values initialized
during normalizationpublic LinearEquationSystem transform(LinearEquationSystem linearEquationSystem) throws NonNumericFeaturesException
Normalization
transform
in interface Normalization<V extends NumberVector>
linearEquationSystem
- the linear equation system to be transformedNonNumericFeaturesException
- if specified linear equation system is not compatible
with values initialized during normalizationprivate double normalize(int d, double val)
d
- Dimensionval
- Valueprivate double restore(int d, double val)
d
- Dimensionval
- ValueCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.