You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is: We add a logger field to the wrapper structs (there are two of them - ProbabilisticTunedModel and DeterministicTunedModel ) just like we did for TunedModel. And then we pass logger on to the Resampler instances , which in this case appears here. In this way, whenever any iteration control (e.g., WithLossDo) accesses a loss, it will also get logged to the specified logger.
Instead of nothing the default value of logger will be MLJBase.default_logger().
To close JuliaAI/MLJ.jl#1029.
This will be very similar to what we did for MLJTuning in these two PRs:
default_logger()
the defaultlogger
inTunedModel(logger=...)
MLJTuning.jl#221That is: We add a
logger
field to the wrapper structs (there are two of them - ProbabilisticTunedModel and DeterministicTunedModel ) just like we did forTunedModel
. And then we passlogger
on to theResampler
instances , which in this case appears here. In this way, whenever any iteration control (e.g.,WithLossDo
) accesses a loss, it will also get logged to the specifiedlogger
.Instead of
nothing
the default value oflogger
will beMLJBase.default_logger()
.cc @pebeto
The text was updated successfully, but these errors were encountered: