Description Usage Arguments Details Value See Also
Given the ground truth (correct) target values and the estimated target values, calculates the the R^2 metric.
1 | measure_r2_score(y_true, y_pred)
|
y_true |
A numeric vector; the ground truth (correct) target values. |
y_pred |
A numeric vector; the estimated target values. |
See here for more information: https://en.wikipedia.org/wiki/Coefficient_of_determination
A numeric vector of length one; the R^2 metric.
Other measure: measure_auc_score
,
measure_correlation_score
,
measure_mse_score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.