Can I get F1 score each time from GridSearchCV?
Can I get F1 score each time from GridSearchCV? Question: I want to show F1 score from gridsearch each loop of change parameter. I use f1_micro in the GridSearchCV like this. params = { ‘max_depth’: [None, 2, 4, 6, 8, 10], ‘max_features’: [None, ‘sqrt’, ‘log2’, 0.2, 0.4, 0.6, 0.8], } clf = GridSearchCV( estimator=DecisionTreeClassifier(), param_grid=params, …