Table of Contents

Class: FullEM compClust/mlx/wrapper/FullEM.py
Base Classes   
ML_Algorithm.ML_Algorithm
Methods   
__init__
copy
createClusteringCommandLine
getLabeling
getModel
load_model_parameters
run
validate
  __init__ 
__init__ (
        self,
        dataset=None,
        parameters=None,
        )

  copy 
copy ( self )

  createClusteringCommandLine 
createClusteringCommandLine ( self )

command_line = createClusteringCommandLine(parameters)

  getLabeling 
getLabeling ( self )

  getModel 
getModel ( self )

  load_model_parameters 
load_model_parameters ( self )

Parse the output of rob's full em parameters file.

The format is as follows things in <> are variable: --- start of file --- EM clustering of file <filename>

EM mixture model parameters ---------------------------

#<Cluster #>

<mean vector>

<covariance matrix>

<repeat the above block for each cluster>

class weights <weights> log-likelihood of model = <value> --- end of file ---

Exceptions   
IOError( "Parse error" )
  run 
run ( self )

run()

Prepares the inputs to the clustering algorithm (fullem) and runs it.

  validate 
validate ( self )

validate()

Ensures that all parameters and environment variables nescessary to run the clustering algorithm (fullem) are defined.


Table of Contents

This document was automatically generated on Wed Aug 27 14:25:04 2003 by HappyDoc version 2.1