Question 36
Consider the following code. How many DecisionTreeClassifier models will be trained internally?
from sklearn.ensemble import RandomForestClassifierfrom sklearn.model_selection import GridSearchCVparam_grid = [{'max_depth':range(1, 20, 2)}]gs = GridSearchCV(RandomForestClassifier(n_estimators=10), param_grid, cv = 5)gs.fit(X,y)