

def check_gridsearch(name):
    forest = FOREST_CLASSIFIERS[name]()
    clf = GridSearchCV(clf, {
        'n_estimators': (1, 2),
        'max_depth': (1, 2),
    })
    clf.fit(iris.data, iris.target)

dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/ensemble/tests/test_forest.py check_gridsearch/VarMisuse@23/35 `forest`->`clf`