|
||||||||||
| 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.MSEErrorCalculator
Mean squared error calculator.
| Constructor Summary | |
MSEErrorCalculator(int sz)
Creates a new instance of MSEErrorCalculator |
|
| Method Summary | |
double |
calculateError(java.util.Map expected,
java.util.Map actual)
Calculates the mean squared error. |
java.lang.String |
getDefaultName()
Returns the default name of the mean squared error calculator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MSEErrorCalculator(int sz)
sz - The size of the data set.| Method Detail |
public double calculateError(java.util.Map expected,
java.util.Map actual)
calculateError in class ErrorCalculatorexpected - The expected values.actual - The actual values.
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 | |||||||||