Top Description Fields Constructors Methods
javax.visrec.ml.eval

public Class EvaluationMetrics

extends Object
Class Inheritance
Known Direct Subclasses
javax.visrec.ml.eval.RegressionMetrics, javax.visrec.ml.eval.ClassificationMetrics
Imports
java.util.HashMap

Wrapper for constants and values for classifier and regressor evaluation metrics.

Field Summary

Modifier and TypeField and Description
public static final String
private static final HashMap<String, String>
public static final String
public static final String
F_STAT

Is there a relationship between inputs and predictions(outputs) at all.

public static final String
MEAN_ABSOLUTE_ERROR

Mean value of sum of squared errors.

public static final String
public static final String
public static final String
R_SQUARED

Percent of variation explained by the regression model.

public static final String
public static final String
public static final String
RESIDUAL_STANDARD_ERROR

Estimation of standard deviation of prediction errors for some given data set.

public static final String
private final HashMap<String, Float>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public float
get(String key)

public void
set(String key, float value)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

ACCURACYback to summary
public static final String ACCURACY
descriptionback to summary
private static final HashMap<String, String> description
F1SCOREback to summary
public static final String F1SCORE
F_STATback to summary
public static final String F_STAT

Is there a relationship between inputs and predictions(outputs) at all. If there is a relationship, this value is greater then 1. When there is now relationship, this value is around 1.

MEAN_ABSOLUTE_ERRORback to summary
public static final String MEAN_ABSOLUTE_ERROR

Mean value of sum of squared errors. Errors are squared in order to better explain variability, and take into account positive and negative errors. Regression metrics

MEAN_SQUARED_ERRORback to summary
public static final String MEAN_SQUARED_ERROR
PRECISIONback to summary
public static final String PRECISION
R_SQUAREDback to summary
public static final String R_SQUARED

Percent of variation explained by the regression model. 1 is good , 0 is bad, bigger is better.

RECALLback to summary
public static final String RECALL
RESIDUAL_SQUARE_SUMback to summary
public static final String RESIDUAL_SQUARE_SUM
RESIDUAL_STANDARD_ERRORback to summary
public static final String RESIDUAL_STANDARD_ERROR

Estimation of standard deviation of prediction errors for some given data set. Smaller is better.

ROOT_MEAN_SQUARED_ERRORback to summary
public static final String ROOT_MEAN_SQUARED_ERROR
valuesback to summary
private final HashMap<String, Float> values

Constructor Detail

EvaluationMetricsback to summary
public EvaluationMetrics()

Method Detail

getback to summary
public float get(String key)
setback to summary
public void set(String key, float value)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override