Repository navigation
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
ablaom
marked this pull request as draft
October 25, 2026 21:33
forgotten commits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates IterationControl to 0.6, making some new features available. This addresses some shortcomings summarized at JuliaAI/IterationControl.jl#64.
This PR also resolves the bug #83, but I will probably work on a non-breaking patch for this, minus a new test.Needs:
train!IterationControl.jl#72Draft release notes
(new feature) An update to IterationControl 0.6 means that a detailed trace is available for each control. Traces are accessed using
report(mach).traces, wheremachis the machine bound to theIteratedModelinstance. This means explicit callbacks to record things like the out-of-sample loss are unnecessary, unless live tracking is required. On warm restarts, there is an option to extend the existing traces (setwarm_restart_extends_traces = true). Refer to the newIteratedModeldoc-string for details.(breaking) The form of
report(mach)for a machine bound to aIteratedModelhaschanged. Whereas before,
traces = report(mach).controls, now dotraces = report(mach).traces. The form oftraceshas also changed; it is now a vector ofIterationControl.ControlTraceobjects; seeIterationControl.jlversion 0.6 fordetails.
(breaking - new default)
WithIterationsDo()is now the same asWithIterationsDo(identity)(breaking - new default)
WithEvaluationDo()is now the same asWithEvaluationDo(identity)(breaking - new default)
WithFittedParamsDo()is now the same asWithFittedParamsDO(identity)(breaking - new default)
WithReportDo()is now the same asWithReportDo(identity)(breaking - new default)
WithMachineDo()is now the same asWithMachineDo(identity)(breaking - new default)
WithModelDo()is now the same asWithModelDo(identity)(mildly breaking) With the exception of
Save, controls that had a<:Functiontype parameter (corresponding to a callback function) no longer do so.
(bug fix) Resolve incorrect behavior when using scores instead of losses (Different behaviour for score versus loss. #83)