Given the ground truth (correct) target values and the estimated target values, calculates the correlation metric.
measure_correlation_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. |
A numeric vector of length one; the correlation metric.
See here for more information: https://en.wikipedia.org/wiki/Pearson_correlation_coefficient
Other measure: measure_auc_score
,
measure_mse_score
,
measure_r2_score