|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectAlgorithm
AlgorithmLDA
public class AlgorithmLDA
Implements the Linear Discriminant Analysis Algorithm
| Constructor Summary | |
|---|---|
AlgorithmLDA()
|
|
| Method Summary | |
|---|---|
void |
betweenClass(Matrix M)
Determines the between class scatter matrix for the class independent linear discrimination algorithm |
void |
computeDecisionRegions()
Computes the line of discrimination for class independent LDA |
void |
computeErrors()
Counts the data points in each set in error and displays them on the text message window |
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. |
void |
transformLDA(DataPoints d,
Matrix S)
Transforms a given set of points to a new space using the class independent linear discrimination analysis algorithm |
void |
withinClass(Matrix M)
Determines the within class scatter matrix |
| 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 |
|---|
public AlgorithmLDA()
| Method Detail |
|---|
public boolean initialize()
initialize in class Algorithmpublic void withinClass(Matrix M)
M - Matrix for within class scatter matrixMatrixpublic void betweenClass(Matrix M)
M - Matrix for storing between class scatter matrixMatrixpublic void run()
run in interface java.lang.Runnablerun in class Algorithmpublic void displayMatrices()
public void transformLDA(DataPoints d,
Matrix S)
d - Datapoint - input data pointS - Matrix containing between class to within class ratioDataPoints,
Matrixpublic void computeDecisionRegions()
public void computeErrors()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||