Class AlgorithmPCA2

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

public class AlgorithmPCA2
extends Algorithm

Operation of the PCA Class-Independent Algorithm


Constructor Summary
AlgorithmPCA2()
           
 
Method Summary
 void computeDecisionRegions()
          Computes the line of discrimination for the classification algorithms when the corresponding flags have been initialized
 void computeErrors()
          Computes the classification error for the data points given
 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 transformPCA2()
          Transforms a given set of points to a new space using the class dependent principal component analysis algorithm
 
Methods inherited from class Algorithm
computeMeans, disableControl, enableControl, nextStep, prevStep, scaleToFitData, setDataPoints, setOutputPanel, setProcessBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmPCA2

public AlgorithmPCA2()
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

transformPCA2

public void transformPCA2()
Transforms a given set of points to a new space using the class dependent 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 classification error for the data points given


printMatrices

public void printMatrices()
Appends messages to the pro_box_d variable