
V - vector typepublic class LengthNormalization<V extends NumberVector<?>> extends AbstractStreamNormalization<V>
| Modifier and Type | Class and Description |
|---|---|
static class |
LengthNormalization.Parameterizer<V extends NumberVector<?>>
Parameterization class.
|
BundleStreamSource.Event| Modifier and Type | Field and Description |
|---|---|
(package private) DoubleNorm<? super V> |
norm
Norm to use.
|
factorysource| Constructor and Description |
|---|
LengthNormalization(DoubleNorm<? super V> norm)
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.
|
V |
restore(V featureVector)
Transforms a feature vector to the original attribute ranges.
|
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.
|
convertedType, normalizeObjects, toStringinitializeOutputTypedata, getMeta, nextEventfilter, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfilterDoubleNorm<? super V extends NumberVector<?>> norm
public LengthNormalization(DoubleNorm<? super V> norm)
norm - Norm to useprotected V filterSingleObject(V featureVector)
AbstractStreamConversionFilterfilterSingleObject in class AbstractStreamConversionFilter<V extends NumberVector<?>,V extends NumberVector<?>>featureVector - Database object to normalizepublic V restore(V featureVector)
NormalizationfeatureVector - a feature vector to be transformed into original spacepublic LinearEquationSystem transform(LinearEquationSystem linearEquationSystem)
Normalizationtransform in interface Normalization<V extends NumberVector<?>>transform in class AbstractStreamNormalization<V extends NumberVector<?>>linearEquationSystem - the linear equation system to be transformedprotected SimpleTypeInformation<? super V> getInputTypeRestriction()
AbstractStreamConversionFiltergetInputTypeRestriction in class AbstractStreamConversionFilter<V extends NumberVector<?>,V extends NumberVector<?>>