[R-package] lgb.cv
mixes booster verbosity with evaluation metric monitoring
#6162
Labels
lgb.cv
mixes booster verbosity with evaluation metric monitoring
#6162
When one calls
lgb.cv
, one usually wants to monitor the evaluation metric in the training and validation set as the fitting procedure happens, and one usually doesn't want to know about every internal detail of what's happening inside each boosting round.lgb.cv
takes averbosity
parameter, with levels for fatal/warning/info/debug, but the messages about the metric of interest in the training and validation data do not correspond to any of those. Currently, they'd be bumped together withinfo
, even though they don't say it in the message.But there's no current arrangement in which one would only get the messages about the metrics and not the internal messages from each boosting round - example:
Whereas one would usually want to see only these:
And without the
[1]
that gets added by R's print function.Should ideally have a separate parameter for deciding whether to print the metric that wouldn't be tied to the booster's internals.
The text was updated successfully, but these errors were encountered: