Package net.simplace.sim.util.statistics
Klasse MSE
java.lang.Object
net.simplace.sim.util.statistics.ErrorCalculationMethod
net.simplace.sim.util.statistics.MSE
Methods for calculating the mean squared error
See D. Wallach, Working with Dynamic Crop Models, p. 22
- Autor:
- Gunther Krauss
-
Feldübersicht
Von Klasse geerbte Felder net.simplace.sim.util.statistics.ErrorCalculationMethod
count, sum -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddDataPair(double observed, double calculated) Adds a pair of observed and calculated data to the listGets the full name or a short description of the error methodgetLabel()Gets the label of the calculation methoddoublegetValue()Calculates the (error)value from the list of pairsbooleanisBetter(double better, double worse) Checks if the first value is better than the second value with respect to the calcualtion method.Von Klasse geerbte Methoden net.simplace.sim.util.statistics.ErrorCalculationMethod
getWorstValue, init
-
Konstruktordetails
-
MSE
public MSE()
-
-
Methodendetails
-
addDataPair
public void addDataPair(double observed, double calculated) Beschreibung aus Klasse kopiert:ErrorCalculationMethodAdds a pair of observed and calculated data to the list- Angegeben von:
addDataPairin KlasseErrorCalculationMethod- Parameter:
observed-calculated-
-
getValue
public double getValue()Beschreibung aus Klasse kopiert:ErrorCalculationMethodCalculates the (error)value from the list of pairs- Angegeben von:
getValuein KlasseErrorCalculationMethod- Gibt zurück:
- errorvalue
-
isBetter
public boolean isBetter(double better, double worse) Beschreibung aus Klasse kopiert:ErrorCalculationMethodChecks if the first value is better than the second value with respect to the calcualtion method.- Angegeben von:
isBetterin KlasseErrorCalculationMethod- Parameter:
better-worse-- Gibt zurück:
- true if first value is better than second
-
getLabel
Beschreibung aus Klasse kopiert:ErrorCalculationMethodGets the label of the calculation method- Angegeben von:
getLabelin KlasseErrorCalculationMethod- Gibt zurück:
- label
-
getDescription
Beschreibung aus Klasse kopiert:ErrorCalculationMethodGets the full name or a short description of the error method- Setzt außer Kraft:
getDescriptionin KlasseErrorCalculationMethod- Gibt zurück:
- description or full name
-