Skip to content

Correct handling of sample weights in FitGenetic#260

Open
gbrunin wants to merge 5 commits into
ppdebreuck:masterfrom
gbrunin:sample_weights
Open

Correct handling of sample weights in FitGenetic#260
gbrunin wants to merge 5 commits into
ppdebreuck:masterfrom
gbrunin:sample_weights

Conversation

@gbrunin

@gbrunin gbrunin commented Aug 8, 2025

Copy link
Copy Markdown
Collaborator

When finding the best hyperparameters of a model with the genetic fit, passing sample_weight as fit_params fails because it is not handled properly: each fold sees the whole sample_weight, not the subset for the training set, leading to a mismatch error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant