|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectAlgorithm
AlgorithmNN
public class AlgorithmNN
| Constructor Summary | |
|---|---|
AlgorithmNN()
|
|
| Method Summary | |
|---|---|
void |
computeDecisionRegions()
Computes the line of discrimination for nearest neighbor |
void |
computeErrors()
Computes and displays the classification errors for each set |
boolean |
initialize()
Implements the initialize() method in the base class. |
void |
run()
Implements the run function from the Runnable interface. |
| 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 |
|---|
public AlgorithmNN()
| Method Detail |
|---|
public boolean initialize()
initialize in class Algorithmpublic void run()
run in interface java.lang.Runnablerun in class Algorithmpublic void computeDecisionRegions()
public void computeErrors()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||