measure_r2_score: Measure Coefficient of Determination (R^2 Score).

Description Usage Arguments Details Value See Also

View source: R/measure.R

Description

Given the ground truth (correct) target values and the estimated target values, calculates the the R^2 metric.

Usage

1
measure_r2_score(y_true, y_pred)

Arguments

y_true

A numeric vector; the ground truth (correct) target values.

y_pred

A numeric vector; the estimated target values.

Details

See here for more information: https://en.wikipedia.org/wiki/Coefficient_of_determination

Value

A numeric vector of length one; the R^2 metric.

See Also

Other measure: measure_auc_score, measure_correlation_score, measure_mse_score


easyml documentation built on June 26, 2017, 9:02 a.m.