Class AlgorithmSVM

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

public class AlgorithmSVM
extends Algorithm

Algorithm Support Vector Machines


Constructor Summary
AlgorithmSVM()
           
 
Method Summary
 void computeDecisionRegions()
          method computes the line of discrimination for the classification algorithms when the corresponding flags have been initialized
 void computeErrors()
          computes errors display two matrices
 void computeSupportVectors()
          method computes the all the support vectors
 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, setOutputPanel, setProcessBox
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmSVM

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

computeSupportVectors

public void computeSupportVectors()
method computes the all the support vectors


computeDecisionRegions

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


computeErrors

public void computeErrors()
computes errors display two matrices