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.