y_pred=ml.predict(x_test)
print(y_pred)

from sklearn.metrics import r2_score
r2_score(y_test,y_pred)


pred_y_df=pd.DataFrame({'Actual Value':y_test,'Predicted Value':y_pred, 'Difference': y_test-y_pred})
pred_y_df[0:20]
[((5, 0, 5, 23), 'sklearn.metrics.r2_score', 'r2_score', ({(5, 9, 5, 15): 'y_test', (5, 16, 5, 22): 'y_pred'}, {}), '(y_test, y_pred)', False, 'from sklearn.metrics import r2_score\n')]