|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.penguinwerks.jodene.listeners.StopOnClassificationListener
Stops training when the max number of incorrect classifications is reached.
| Constructor Summary | |
StopOnClassificationListener()
Creates a new instance of StopOnCassificationListener |
|
StopOnClassificationListener(double stopValue)
Creates a new listener. |
|
| Method Summary | |
void |
epochEnd(TrainingEpochEvent evt)
Implements epoch end listeners. |
java.lang.String |
getErrorName()
The name of this error listener. |
double |
getStopValue()
Returns the number of missclassifications that will stop training. |
void |
setErrorName(java.lang.String name)
Sets the error name for the listener. |
void |
setStopValue(double val)
Sets the number of missclassifications that stop training. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StopOnClassificationListener()
public StopOnClassificationListener(double stopValue)
stopValue - The value that stops training.| Method Detail |
public void epochEnd(TrainingEpochEvent evt)
epochEnd in interface EpochEventListenerevt - The epoch end event.public void setErrorName(java.lang.String name)
name - The error name.public java.lang.String getErrorName()
public double getStopValue()
public void setStopValue(double val)
val - The number of classifications.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||