Please consider citing the scikit-learn.
R^2 (coefficient of determination) regression score function
Best possible score is 1.0, lower values are worse.
Note: not a symmetric function.
return the R^2 score
y_true : array-like
y_pred : array-like