Machine Learning, Artificial Intelligence, Data Science, Ai Projects, Calories.
1.4849313759878278 (Wow, the error is extremely LOW) xgbr_r2 = r2(y_test, xgbr_prediction) xgbr_r2 # 0.9988308899957399 (Score is really GOOD) Our model is performing fantastically. Let’s also plot a graph which gives us the difference between the Actual and the Predicted value. px.scatter(x =