Exercise

Regression with SGB

As in the exercises from the previous lesson, you'll be working with the Bike Sharing Demand dataset. In the following set of exercises, you'll solve this bike count regression problem using stochastic gradient boosting.

Instructions

100 XP
  • Instantiate a Stochastic Gradient Boosting Regressor (SGBR) and set:

    • max_depth to 4 and n_estimators to 200,

    • subsample to 0.9, and

    • max_features to 0.75.