org.ddogleg.fitting.modelset.distance
Enum StatisticalDistance
- java.lang.Object
-
- java.lang.Enum<StatisticalDistance>
-
- org.ddogleg.fitting.modelset.distance.StatisticalDistance
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StatisticalDistance>
public enum StatisticalDistance extends java.lang.Enum<StatisticalDistance>
Statistic used byStatisticalDistanceModelMatcher.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description MEANMean metric is used to evaluate goodness.PERCENTILEMedian is used to evaluate goodness.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static StatisticalDistancevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StatisticalDistance[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEAN
public static final StatisticalDistance MEAN
Mean metric is used to evaluate goodness. Threshold is in standard deviations. 2
-
PERCENTILE
public static final StatisticalDistance PERCENTILE
Median is used to evaluate goodness. Threshold is fraction of points saved. 0.95
-
-
Method Detail
-
values
public static StatisticalDistance[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StatisticalDistance c : StatisticalDistance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatisticalDistance valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-
DataMelt 3.0 © DataMelt by jWork.ORG