V
- vector typepublic class Log1PlusNormalization<V extends NumberVector> extends AbstractVectorStreamConversionFilter<V,V> implements Normalization<V>
By default b=1, and thus the transformation is \(\log_2(1+|x|)\).
Modifier and Type | Class and Description |
---|---|
static class |
Log1PlusNormalization.Parameterizer<V extends NumberVector>
Parameterization class.
|
BundleStreamSource.Event
Modifier and Type | Field and Description |
---|---|
protected double |
boost
Boosting factor, and scaling coefficient.
|
protected double |
scale
Boosting factor, and scaling coefficient.
|
static Log1PlusNormalization<NumberVector> |
STATIC
Static instance.
|
factory
source
Constructor and Description |
---|
Log1PlusNormalization(double boost)
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.
|
initializeOutputType
data, getMeta, nextEvent
asMultipleObjectsBundle, assignDBID, filter, hasDBIDs, init, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
restore, transform
filter
public static final Log1PlusNormalization<NumberVector> STATIC
protected double boost
protected double scale
public Log1PlusNormalization(double boost)
boost
- Boosting parameterprotected V filterSingleObject(V featureVector)
AbstractStreamConversionFilter
filterSingleObject
in class AbstractStreamConversionFilter<V extends NumberVector,V extends NumberVector>
featureVector
- Database object to normalizeprotected 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.