Score Python R2
from sklearn.metrics import r2_score
r2_score(y_true, y_pred)
Easy Eagle
from sklearn.metrics import r2_score
r2_score(y_true, y_pred)