Repository navigation
DOC: example to show how to use the ScoringMonitor callback nested under GridSearchCV - #34153
Conversation
ScoringMonitor callback nested under GridSearchCV
There was a problem hiding this comment.
I find that it's a great addition to the example gallery. I like a lot that it's not just a tutorial about using the scoring monitor but additionally showcases the kind of analysis that callbacks enable and were not possible before.
There's a lot of UX improvements to do though :)
|
one thing that i find annoying is that (at least on my browser, firefox) the dataframes are truncated and there's no horizontal scrollbar. That's somthing to fix indepently of this example though. (we already did it for the HTML diagrams) |
|
Should we remind in this example that the callbacks are experimental and subject to evolve quickly ? |
Co-authored-by: Jérémie du Boisberranger <[email protected]> Co-authored-by: Olivier Grisel <[email protected]>
Co-authored-by: Jérémie du Boisberranger <[email protected]>
|
I almost forgot, we added a TODO in the user doc to link to this example when it's there, see scikit-learn/doc/callbacks.rst Line 148 in dd3a56e |
|
@copilot please update this PR to address #34153 (comment) by looking at how this is typically done in other sections of the user guide. |
|
Let me ask again via the Agents' tab... |
|
It seems that copilot could not directly push commits to my existing PR, so I pushed the change myself. |
|
@jeremiedbb merge? Or wait for a second reviewer? |
…under `GridSearchCV` (#34153) Co-authored-by: Jérémie du Boisberranger <[email protected]>
…under `GridSearchCV` (scikit-learn#34153) Co-authored-by: Jérémie du Boisberranger <[email protected]>
This example showcases the interplay of all the callback work that went into 1.9 from a users point of view.
Note that some things require a bit of boilerplate (in particular to align recorded score values with hyperparameter values for each candidate explored in the grid search). The final analysis also highlights some limitations of the current implementation of the callback (missing ability to measure metrics on validation data). I expect this example to improve in readability and coverage in the future.