I am using RandomForestRegressor for predicting a class of variables.
RandomForestRegressor
As per sklearn\'s documentation, one can use GridSearchCV for Random
GridSearchCV
Random