1. 学习
  2. /
  3. 课程
  4. /
  5. Machine Learning with Tree-Based Models in Python

Connected

练习

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.

说明

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.