Closed simonpcouch closed 11 months ago
Ah, okay. There's a bit more going on here than I had wrapped my head around.👻
In this example, for each fold, we fit one model—with 13 neighbors—and then are able to predict across several different values of neighbors with that one model. When we extract, though, we're only extracting from that one fit with 13 neighbors. I'm not sure that it's incorrect for us to attach that same hyperparameter to all of the extracts associated with it, though it's probably confusing to then attach that .config
to the hyperparameter combination that it's otherwise not associated with in our output.
I'm conflicted between
1) documenting the current behavior, or 2) revising the recycling here so that we only return extracts for the models that we've fitted (and documenting it)
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
The hyperparameters attached to
extract
entries are incorrect for the models from the initial grid.Created on 2023-09-27 with reprex v2.0.2
Note that the issue shown for
mt_knn_bo
applies to the object intest_objects.RData
by the same name.