Class AlgorithmPCA

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

public class AlgorithmPCA
extends Algorithm

Operation of the PCA Class-Independent Algorithm


Constructor Summary
AlgorithmPCA()
           
 
Method Summary
 void computeDecisionRegions()
          Computes the line of discrimination for the classification algorithms when the corresponding flags have been initialized
 void computeErrors()
          Computes the number of data points in classification error
 boolean initialize()
          Overrides the initialize() method in the base class.
 void printMatrices()
          Appends messages to the pro_box_d variable
 void run()
          Implementation of the run function from the Runnable interface.
 void transformPCA()
          transforms a given set of points to a new space using the class independent principal component analysis algorithm
 
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

AlgorithmPCA

public AlgorithmPCA()
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:
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

transformPCA

public void transformPCA()
transforms a given set of points to a new space using the class independent principal component analysis algorithm


computeDecisionRegions

public void computeDecisionRegions()
Computes the line of discrimination for the classification algorithms when the corresponding flags have been initialized


computeErrors

public void computeErrors()
Computes the number of data points in classification error


printMatrices

public void printMatrices()
Appends messages to the pro_box_d variable