introduction-datascience-python-book
introduction-datascience-python-book copied to clipboard
Parameters for calculating the r2_score
As per the documentation, the metrics.r2_score expected 2 parameters, the first should be the true values 'y' and the second should be the predicted values 'y_hat'.