V
- vector type@Alias(value="de.lmu.ifi.dbs.elki.datasource.filter.normalization.AttributeWiseCDFNormalization") public class AttributeWiseCDFNormalization<V extends NumberVector> extends java.lang.Object implements Normalization<V>
This process is for example also mentioned in section 3.4 of
Effects of Feature Normalization on Image Retrieval
S. Aksoy, R. M. Haralick
but they do not detail how to obtain an appropriate function `F`.
Modifier and Type | Class and Description |
---|---|
protected static class |
AttributeWiseCDFNormalization.Adapter
Array adapter class for vectors.
|
static class |
AttributeWiseCDFNormalization.Parameterizer<V extends NumberVector>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Distribution> |
dists
Stores the estimated distributions
|
protected java.util.List<DistributionEstimator<?>> |
estimators
Stores the distribution estimators
|
protected NumberVector.Factory<V> |
factory
Number vector factory.
|
private static Logging |
LOG
Class logger.
|
Constructor and Description |
---|
AttributeWiseCDFNormalization(java.util.List<DistributionEstimator<?>> estimators)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
constantZero(java.util.List<V> column,
AttributeWiseCDFNormalization.Adapter adapter)
Test if an attribute is constant zero.
|
MultipleObjectsBundle |
filter(MultipleObjectsBundle objects)
Filter a set of object packages.
|
protected Distribution |
findBestFit(java.util.List<V> col,
AttributeWiseCDFNormalization.Adapter adapter,
int d,
double[] test)
Find the best fitting distribution.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
restore, transform
private static final Logging LOG
protected java.util.List<DistributionEstimator<?>> estimators
protected java.util.List<Distribution> dists
protected NumberVector.Factory<V extends NumberVector> factory
public AttributeWiseCDFNormalization(java.util.List<DistributionEstimator<?>> estimators)
estimators
- Distribution estimatorspublic MultipleObjectsBundle filter(MultipleObjectsBundle objects)
ObjectFilter
filter
in interface ObjectFilter
objects
- Object to filterprotected Distribution findBestFit(java.util.List<V> col, AttributeWiseCDFNormalization.Adapter adapter, int d, double[] test)
col
- Column of tableadapter
- Adapter for accessing the datad
- Dimensiontest
- Scatch space for testing goodness of fitprotected boolean constantZero(java.util.List<V> column, AttributeWiseCDFNormalization.Adapter adapter)
column
- Columnadapter
- Data accessor.true
if all values are zeropublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.