1. Học hỏi
  2. /
  3. Khoa Học
  4. /
  5. Machine Learning with Tree-Based Models in Python

Connected

Bài tập

Evaluate the SGB regressor

You have prepared the ground to determine the test set RMSE of sgbr which you shall evaluate in this exercise.

y_pred and y_test are available in your workspace.

Hướng dẫn

100 XP
  • Import mean_squared_error as MSE from sklearn.metrics.

  • Compute test set MSE and assign the result to mse_test.

  • Compute test set RMSE and assign the result to rmse_test.