org.apache.spark.mllib.evaluation
an RDD of (prediction, observation) pairs.
Returns the variance explained by regression.
Returns the variance explained by regression. explainedVariance = \sum_i (\hat{y_i} - \bar{y})^2 / n
https://en.wikipedia.org/wiki/Fraction_of_variance_unexplained
Returns the mean absolute error, which is a risk function corresponding to the expected value of the absolute error loss or l1-norm loss.
Returns the mean absolute error, which is a risk function corresponding to the expected value of the absolute error loss or l1-norm loss.
Returns the mean squared error, which is a risk function corresponding to the expected value of the squared error loss or quadratic loss.
Returns the mean squared error, which is a risk function corresponding to the expected value of the squared error loss or quadratic loss.
Returns R2, the unadjusted coefficient of determination.
Returns R2, the unadjusted coefficient of determination.
Returns the root mean squared error, which is defined as the square root of the mean squared error.
Returns the root mean squared error, which is defined as the square root of the mean squared error.
Evaluator for regression.