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.