Class AlgorithmHLDA

java.lang.Object
  extended by Algorithm
      extended by AlgorithmHLDA
All Implemented Interfaces:
java.lang.Runnable

public class AlgorithmHLDA
extends Algorithm

Implements the Heteroscedastic Linear Discriminant Analysis Algorithm


Constructor Summary
AlgorithmHLDA()
           
 
Method Summary
 void computeDecisionRegions()
          Computes the line of discrimination for class independent HLDA
 void computeErrors()
          Counts the data points in each set in error and displays them on the text message window
 void computeHLDA(int fun, int gradfun, Matrix theta1)
           
 void displayMatrices()
          Display two matrices - covariance matrix and the transformation matrix in the text message window
 boolean initialize()
          Overrides the initialize() method in the base class.
 void run()
          Implementation of the run function from the Runnable interface.
 
Methods inherited from class Algorithm
computeMeans, disableControl, enableControl, nextStep, prevStep, scaleToFitData, setDataPoints, setInputPanel, setOutputPanel, setProcessBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmHLDA

public AlgorithmHLDA()
Method Detail

initialize

public boolean initialize()
Overrides the initialize() method in the base class. Initializes member data and prepares for execution of first step. This method "resets" the algorithm.

Specified by:
initialize in class Algorithm
Returns:
Returns true.

run

public void run()
Implementation of the run function from the Runnable interface. Determines what the current step is and calls the appropriate method.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class Algorithm

displayMatrices

public void displayMatrices()
Display two matrices - covariance matrix and the transformation matrix in the text message window


computeDecisionRegions

public void computeDecisionRegions()
Computes the line of discrimination for class independent HLDA


computeErrors

public void computeErrors()
Counts the data points in each set in error and displays them on the text message window


computeHLDA

public void computeHLDA(int fun,
                        int gradfun,
                        Matrix theta1)