|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.normalization.DummyNormalization<O>
public class DummyNormalization<O extends DatabaseObject>
Dummy normalization that does nothing. This class is used at normalization of multi-represented objects if one representation needs no normalization.
Field Summary |
---|
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
---|
optionHandler |
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debug |
Constructor Summary | |
---|---|
DummyNormalization()
|
Method Summary | |
---|---|
String |
description()
Returns a description of the class and the required parameters. |
List<O> |
normalize(List<O> featureVectors)
Performs a normalization on a set of feature vectors. |
List<ObjectAndAssociations<O>> |
normalizeObjects(List<ObjectAndAssociations<O>> objectAndAssociationsList)
Performs a normalization on a list of database objects and their associations. |
List<O> |
restore(List<O> featureVectors)
Transforms a set of feature vectores to the original attribute ranges. |
O |
restore(O featureVector)
Transforms a feature vector to the original attribute ranges. |
String[] |
setParameters(String[] args)
Sets the attributes of the class accordingly to the given parameters. |
String |
toString()
Returns a string representation of this object. |
String |
toString(String pre)
Returns a string representation of this normalization. |
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. |
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
---|
addOption, checkGlobalParameterConstraints, deleteOption, description, description, getAttributeSettings, getParameters, getParameterValue, getPossibleOptions, inlineDescription, isSet, setParameters |
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
---|
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning |
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.utilities.optionhandling.Parameterizable |
---|
checkGlobalParameterConstraints, getAttributeSettings, getParameters, getPossibleOptions, inlineDescription |
Constructor Detail |
---|
public DummyNormalization()
Method Detail |
---|
public List<ObjectAndAssociations<O>> normalizeObjects(List<ObjectAndAssociations<O>> objectAndAssociationsList) throws NonNumericFeaturesException
Normalization
normalizeObjects
in interface Normalization<O extends DatabaseObject>
objectAndAssociationsList
- the list of database objects and their associations
NonNumericFeaturesException
- if feature vectors differ in length or values are not
suitable to normalizationNormalization.normalizeObjects(java.util.List)
public List<O> normalize(List<O> featureVectors) throws NonNumericFeaturesException
Normalization
normalize
in interface Normalization<O extends DatabaseObject>
featureVectors
- a set of feature vectors to be normalized
NonNumericFeaturesException
- if feature vectors differ in length or values are not
suitable to normalizationNormalization.normalize(java.util.List)
public List<O> restore(List<O> featureVectors) throws NonNumericFeaturesException
Normalization
restore
in interface Normalization<O extends DatabaseObject>
featureVectors
- a set of feature vectors to be transformed into original space
NonNumericFeaturesException
- if feature vectors differ in length or are not compatible
with values initialized during normalizationNormalization.restore(java.util.List)
public O restore(O featureVector) throws NonNumericFeaturesException
Normalization
restore
in interface Normalization<O extends DatabaseObject>
featureVector
- a feature vector to be transformed into original space
NonNumericFeaturesException
- feature vector is not compatible with values initialized
during normalizationNormalization.restore(DatabaseObject)
public LinearEquationSystem transform(LinearEquationSystem linearEquationSystem) throws NonNumericFeaturesException
Normalization
transform
in interface Normalization<O extends DatabaseObject>
linearEquationSystem
- the linear equation system to be transformed
NonNumericFeaturesException
- if specified linear equation system is not compatible
with values initialized during normalizationNormalization.transform(de.lmu.ifi.dbs.elki.math.linearalgebra.LinearEquationSystem)
public String toString(String pre)
Normalization
toString
in interface Normalization<O extends DatabaseObject>
pre
- the prefix of each new line
Normalization.toString(String)
public String description()
Parameterizable
description
in interface Parameterizable
description
in class AbstractParameterizable
Parameterizable.description()
public String[] setParameters(String[] args) throws IllegalArgumentException
Parameterizable
setParameters
in interface Parameterizable
setParameters
in class AbstractParameterizable
args
- parameters to set the attributes accordingly to
IllegalArgumentException
Parameterizable.setParameters(String[])
public String toString()
toString
in class Object
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |