|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.penguinwerks.jodene.ErrorCalculator
com.penguinwerks.jodene.calculators.SSEErrorCalculator
A sum of squares error calculator. This calculates the network error based on the sum of squares.
| Constructor Summary | |
SSEErrorCalculator()
Default constructor. |
|
| Method Summary | |
double |
calculateError(java.util.Map expected,
java.util.Map actual)
Calculates the error based on the sum of squares where the total error is equal to the sum of the squares of the differences between the actual and expected values. |
java.lang.String |
getDefaultName()
Returns the default name of the sum of squares error calculator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SSEErrorCalculator()
| Method Detail |
public double calculateError(java.util.Map expected,
java.util.Map actual)
calculateError in class ErrorCalculatorexpected - The expected values, based on a training example.actual - The actual values obtained from the network.
public java.lang.String getDefaultName()
getDefaultName in class ErrorCalculator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||