|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectAlgorithm
AlgorithmLDA2
public class AlgorithmLDA2
Implements the class dependent Linear Discriminant Algorithm
| Constructor Summary | |
|---|---|
AlgorithmLDA2()
|
|
| Method Summary | |
|---|---|
void |
betweenClass1(Matrix M1,
Matrix M2,
Matrix M3,
Matrix M4)
Determines the between class scatter matrix for the class dependent linear discrimination algorithm |
void |
computeDecisionRegions()
method computes the line of discrimination for class dependent LDA |
void |
computeErrors()
Counts the data points in each set in error and displays them on the text message window |
boolean |
initialize()
Overrides the initialize() method in the base class. |
void |
printMatrices()
Display two matrices - covariance matrix and the transformation matrix in the text message window |
void |
run()
Implementation of the run function from the Runnable interface. |
void |
transformLDA1(Matrix S1,
Matrix S2,
Matrix S3,
Matrix S4)
Transforms a given set of points to a new space using the class dependent 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 AlgorithmLDA2()
| Method Detail |
|---|
public boolean initialize()
initialize in class Algorithmpublic void run()
run in interface java.lang.Runnablerun in class Algorithm
public void transformLDA1(Matrix S1,
Matrix S2,
Matrix S3,
Matrix S4)
S1 - covariance matrix of the first classS2 - covariance matrix of the second classS3 - covariance matrix of the third classS4 - covariance matrix of the fourth classMatrixpublic void withinClass(Matrix M)
M - Matrix storing within class scatter matrixMatrixpublic void computeDecisionRegions()
public void betweenClass1(Matrix M1,
Matrix M2,
Matrix M3,
Matrix M4)
M1 - between class scatter matrix for the first classM2 - between class scatter matrix for the second classM3 - between class scatter matrix for the third classM4 - between class scatter matrix for the fourth classpublic void computeErrors()
public void printMatrices()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||