|
||||||||||
| 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.ClassificationErrorCalculator
This error calculator assumes that your are measuring memership in a class. The expected and actual values are rounded and subtracted. If the result is 0, then there was perfect classification. Anything other than zero is the count of values that were incorrect.
| Constructor Summary | |
ClassificationErrorCalculator()
Creates a new instance of ClassificationErrorCalculator |
|
| Method Summary | |
double |
calculateError(java.util.Map expected,
java.util.Map actual)
Calculates the error by rounding the expected values and the actual values and subtracting. |
java.lang.String |
getDefaultName()
Returns the the default name of the classification error calculator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassificationErrorCalculator()
| Method Detail |
public double calculateError(java.util.Map expected,
java.util.Map actual)
calculateError in class ErrorCalculatorexpected - The expected values from the example.actual - The actual values obtained by training 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 | |||||||||