|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.sjm.machlearn.util.MainClass
|
+--com.sjm.machlearn.classifiers.Classifier
|
+--com.sjm.machlearn.classifiers.lvq.LVQ
|
+--com.sjm.machlearn.classifiers.lvq.LVQ1
LVQ1.java : Performs supervised learning using Kohonen's LVQ1 Algorithm.
| Fields inherited from class com.sjm.machlearn.classifiers.lvq.LVQ |
alpha,
code_class_id,
code_vectors,
converter,
max_epochs,
nvectors,
nweights |
| Fields inherited from class com.sjm.machlearn.classifiers.Classifier |
Fold10Validation,
JackKnifeValidation,
Random10Validation |
| Fields inherited from class com.sjm.machlearn.util.MainClass |
debug,
debug_level,
debug_listeners |
| Constructor Summary | |
LVQ1()
|
|
LVQ1(int nvec)
|
|
| Method Summary | |
Classifier |
cloneClassifier()
|
void |
initializeLVQ()
|
java.lang.String |
printClassifier()
|
void |
runEpoch(double[][] trainset,
int[] output)
|
void |
trainExample(double[] example,
int output)
|
| Methods inherited from class com.sjm.machlearn.classifiers.lvq.LVQ |
classify,
getDiff,
getDiff,
getDist,
getDist,
getNearest,
getNearest,
initializeVectors,
runEpoch,
setAlpha,
setMaxEpochs,
setNumVectors,
setParameter,
train |
| Methods inherited from class com.sjm.machlearn.classifiers.Classifier |
doTune,
generateROCCurve,
getAccuracy,
getBothCat,
getExampleWeight,
getMisCat |
| Methods inherited from class com.sjm.machlearn.util.MainClass |
_internalError,
_internalError,
addDebugListener,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugMesg,
debugOff,
debugOn,
internalError,
internalError,
setDebug,
setDebugLevel |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public LVQ1()
public LVQ1(int nvec)
| Method Detail |
public void runEpoch(double[][] trainset,
int[] output)
public void trainExample(double[] example,
int output)
public java.lang.String printClassifier()
public Classifier cloneClassifier()
public void initializeLVQ()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||