Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.outlier
Class GaussianModel<V extends NumberVector<V,Double>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<V,OutlierResult>
          extended by de.lmu.ifi.dbs.elki.algorithm.outlier.GaussianModel<V>
Type Parameters:
V - Vector type
All Implemented Interfaces:
Algorithm<V,OutlierResult>, Parameterizable

@Title(value="Gaussian Model Outlier Detection")
@Description(value="Fit a multivariate gaussian model onto the data, and use the PDF to compute an outlier score.")
public class GaussianModel<V extends NumberVector<V,Double>>
extends AbstractAlgorithm<V,OutlierResult>

Outlier have smallest GMOD_PROB: the outlier scores is the probability density of the assumed distribution.

Author:
Lisa Reichert

Field Summary
static AssociationID<Double> GMOD_PROB
          Association ID for the Gaussian model outlier probability
private  boolean invert
          Invert the result
private  Flag INVERT_FLAG
          Parameter to specify a scaling function to use.
static OptionID INVERT_ID
          OptionID for INVERT_FLAG
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
GaussianModel(Parameterization config)
          Constructor, adhering to Parameterizable
 
Method Summary
protected  OutlierResult runInTime(Database<V> database)
          The run method encapsulated in measure of runtime.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm
isTime, isVerbose, run, setTime, setVerbose
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVERT_ID

public static final OptionID INVERT_ID
OptionID for INVERT_FLAG


INVERT_FLAG

private final Flag INVERT_FLAG
Parameter to specify a scaling function to use.

Key: -gaussod.invert


invert

private boolean invert
Invert the result


GMOD_PROB

public static final AssociationID<Double> GMOD_PROB
Association ID for the Gaussian model outlier probability

Constructor Detail

GaussianModel

public GaussianModel(Parameterization config)
Constructor, adhering to Parameterizable

Parameters:
config - Parameterization
Method Detail

runInTime

protected OutlierResult runInTime(Database<V> database)
                           throws IllegalStateException
Description copied from class: AbstractAlgorithm
The run method encapsulated in measure of runtime. An extending class needs not to take care of runtime itself.

Specified by:
runInTime in class AbstractAlgorithm<V extends NumberVector<V,Double>,OutlierResult>
Parameters:
database - the database to run the algorithm on
Returns:
the Result computed by this algorithm
Throws:
IllegalStateException - if the algorithm has not been initialized properly (e.g. the setParameters(String[]) method has been failed to be called).

Release 0.3 (2010-03-31_1612)