I am running a parameter grid with GridSearchCV on python 3.8.5 and sklearn 0.24.1:
grid_search = GridSearchCV(estimator=xg_clf, scoring=make_scorer(matthews_corrcoef), param_grid=param_grid, n_jobs=args.n_jobs, verbose = 3)
according to the documentation,
| verbose : int
| Controls the verbosity: the higher, the more messages.
|
| - >1 : the computation time for each fold and parameter candidate is
| displayed;
| - >2 : the score is also displayed;
| - >3 : the fold and candidate parameter indexes are also displayed
| together with the starting time of the computation.
setting verbose = 3, which I did, should print the Matthews Correlation Coefficient for each run.
However, the output is
Fitting 5 folds for each of 480 candidates, totalling 2400 fits
[CV 1/5] END colsample_bytree=0.8, gamma=0, learning_rate=0.7, max_depth=3, n_estimators=200, subsample=0.9; total time= 0.2s
[CV 2/5] END colsample_bytree=0.8, gamma=0, learning_rate=0.7, max_depth=3, n_estimators=200, subsample=0.9; total time= 0.2s
[CV 3/5] END colsample_bytree=0.8, gamma=0, learning_rate=0.7, max_depth=3, n_estimators=200, subsample=0.9; total time= 0.2s
[CV 4/5] END colsample_bytree=0.8, gamma=0, learning_rate=0.7, max_depth=3, n_estimators=200, subsample=0.9; total time= 0.2s
[CV 5/5] END colsample_bytree=0.8, gamma=0, learning_rate=0.7, max_depth=3, n_estimators=200, subsample=0.9; total time= 0.2s
[CV 1/5] END colsample_bytree=0.8, gamma=0, learning_rate=0.7, max_depth=3, n_estimators=200, subsample=0.95; total time= 0.2s
why isn't GridSearchCV printing the MCC for each run?
Maybe this is because I'm using a non-standard scorer?