V
- vector typepublic class InstanceMeanVarianceNormalization<V extends NumberVector> extends AbstractStreamNormalization<V>
Modifier and Type | Class and Description |
---|---|
static class |
InstanceMeanVarianceNormalization.Parameterizer<V extends NumberVector>
Parameterization class.
|
BundleStreamSource.Event
Modifier and Type | Field and Description |
---|---|
private int |
multiplicity
Multiplicity of the vector.
|
factory
source
Constructor and Description |
---|
InstanceMeanVarianceNormalization()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected V |
filterSingleObject(V featureVector)
Normalize a single instance.
|
protected SimpleTypeInformation<? super V> |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected void |
initializeOutputType(SimpleTypeInformation<V> type)
Initialize factory from a data type.
|
protected double[] |
multivariateStandardization(double[] raw) |
protected double[] |
univariateStandardization(double[] raw) |
convertedType, restore, toString, transform
data, getMeta, nextEvent
asMultipleObjectsBundle, assignDBID, filter, hasDBIDs, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
filter
public InstanceMeanVarianceNormalization()
protected V filterSingleObject(V featureVector)
AbstractStreamConversionFilter
filterSingleObject
in class AbstractStreamConversionFilter<V extends NumberVector,V extends NumberVector>
featureVector
- Database object to normalizeprotected double[] univariateStandardization(double[] raw)
protected double[] multivariateStandardization(double[] raw)
protected void initializeOutputType(SimpleTypeInformation<V> type)
AbstractVectorStreamConversionFilter
initializeOutputType
in class AbstractVectorStreamConversionFilter<V extends NumberVector,V extends NumberVector>
type
- Output data type information.protected SimpleTypeInformation<? super V> getInputTypeRestriction()
AbstractStreamConversionFilter
getInputTypeRestriction
in class AbstractStreamConversionFilter<V extends NumberVector,V extends NumberVector>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.