V
- vector typepublic class InstanceMeanVarianceNormalization<V extends NumberVector> extends AbstractVectorStreamConversionFilter<V,V> implements Normalization<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 SimpleTypeInformation<? super V> |
convertedType(SimpleTypeInformation<V> in)
Get the output type from the input type after conversion.
|
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) |
data, getMeta, nextEvent
asMultipleObjectsBundle, assignDBID, filter, hasDBIDs, init, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
restore, transform
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> convertedType(SimpleTypeInformation<V> in)
AbstractStreamConversionFilter
convertedType
in class AbstractStreamConversionFilter<V extends NumberVector,V extends NumberVector>
in
- input type restrictionprotected SimpleTypeInformation<? super V> getInputTypeRestriction()
AbstractStreamConversionFilter
getInputTypeRestriction
in class AbstractStreamConversionFilter<V extends NumberVector,V extends NumberVector>
Copyright © 2019 ELKI Development Team. License information.