Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.algorithm.result.clustering
Class EMModel<V extends RealVector<V,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult<V>
          extended by de.lmu.ifi.dbs.elki.algorithm.result.clustering.EMModel<V>
Type Parameters:
V - the type of RealVector handled by this Result
All Implemented Interfaces:
Result<V>, Loggable

public class EMModel<V extends RealVector<V,?>>
extends AbstractResult<V>

// todo arthur comment

Author:
Arthur Zimek

Field Summary
private  Matrix covarianceMatrix
           
private  V mean
           
 
Fields inherited from class de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult
db, FILE_EXTENSION
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Fields inherited from interface de.lmu.ifi.dbs.elki.algorithm.result.Result
SEPARATOR
 
Constructor Summary
EMModel(Database<V> db, V mean, Matrix covarianceMatrix)
          todo comment
 
Method Summary
 void output(PrintStream outStream, Normalization<V> normalization, List<AttributeSettings> settings)
          Writes the clustering result to the given stream.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.result.AbstractResult
getDatabase, output, writeHeader
 
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, toString, wait, wait, wait
 

Field Detail

mean

private V extends RealVector<V,?> mean

covarianceMatrix

private Matrix covarianceMatrix
Constructor Detail

EMModel

public EMModel(Database<V> db,
               V mean,
               Matrix covarianceMatrix)
todo comment

Parameters:
db -
mean -
covarianceMatrix -
Method Detail

output

public void output(PrintStream outStream,
                   Normalization<V> normalization,
                   List<AttributeSettings> settings)
            throws UnableToComplyException
Description copied from interface: Result
Writes the clustering result to the given stream.

Parameters:
outStream - the stream to write to
normalization - Normalization to restore original values according to, if this action is supported - may remain null.
settings - the settings to be written into the header, if this parameter is null, no header will be written
Throws:
UnableToComplyException - if any feature vector is not compatible with values initialized during normalization
See Also:
Result.output(java.io.PrintStream,de.lmu.ifi.dbs.elki.normalization.Normalization,java.util.List)

Release 0.1 (2008-07-10_1838)