de.lmu.ifi.dbs.elki.datasource.filter
Class AttributeWiseErfNormalization<O extends NumberVector<O,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.datasource.filter.AbstractConversionFilter<O,O>
      extended by de.lmu.ifi.dbs.elki.datasource.filter.AbstractNormalization<O>
          extended by de.lmu.ifi.dbs.elki.datasource.filter.AttributeWiseErfNormalization<O>
Type Parameters:
O - Object type
All Implemented Interfaces:
Normalization<O>, ObjectFilter, InspectionUtilFrequentlyScanned, Parameterizable

public class AttributeWiseErfNormalization<O extends NumberVector<O,?>>
extends AbstractNormalization<O>

Attribute-wise Normalization using the error function. This mostly makes sense when you have data that has been mean-variance normalized before.


Constructor Summary
AttributeWiseErfNormalization()
          Constructor.
 
Method Summary
protected  O filterSingleObject(O obj)
          Normalize a single instance.
protected  SimpleTypeInformation<? super O> getInputTypeRestriction()
          Get the input type restriction used for negotiating the data query.
 O restore(O featureVector)
          Transforms a feature vector to the original attribute ranges.
 
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.filter.AbstractNormalization
convertedType, normalizeObjects, toString, transform
 
Methods inherited from class de.lmu.ifi.dbs.elki.datasource.filter.AbstractConversionFilter
filter, prepareComplete, prepareProcessInstance, prepareStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.datasource.filter.ObjectFilter
filter
 

Constructor Detail

AttributeWiseErfNormalization

public AttributeWiseErfNormalization()
Constructor.

Method Detail

restore

public O restore(O featureVector)
                                    throws NonNumericFeaturesException
Description copied from interface: Normalization
Transforms a feature vector to the original attribute ranges.

Parameters:
featureVector - a feature vector to be transformed into original space
Returns:
a feature vector transformed into original space corresponding to the given feature vector
Throws:
NonNumericFeaturesException - feature vector is not compatible with values initialized during normalization

filterSingleObject

protected O filterSingleObject(O obj)
Description copied from class: AbstractConversionFilter
Normalize a single instance. You can implement this as UnsupportedOperationException if you override both public "normalize" functions!

Specified by:
filterSingleObject in class AbstractConversionFilter<O extends NumberVector<O,?>,O extends NumberVector<O,?>>
Parameters:
obj - Database object to normalize
Returns:
Normalized database object

getInputTypeRestriction

protected SimpleTypeInformation<? super O> getInputTypeRestriction()
Description copied from class: AbstractConversionFilter
Get the input type restriction used for negotiating the data query.

Specified by:
getInputTypeRestriction in class AbstractConversionFilter<O extends NumberVector<O,?>,O extends NumberVector<O,?>>
Returns:
Type restriction

Release 0.4.0 (2011-09-20_1324)