3. Given the code below, what will
grid.best_params_ output?
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import StandardScaler
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import GridSearchCV
pipe = Pipeline([
('scaler', StandardScaler()),
('clf', RandomForestClassifier(random_state=42))
])
param_grid = {'clf__n_estimators': [20], 'clf__max_depth': [4]}
grid = GridSearchCV(pipe, param_grid, cv=2)
grid.fit(X_train, y_train)
print(grid.best_params_)