Skip to content

Conversation

atharva-novi
Copy link
Contributor

Currently, EconML treats DOUBLE as a positional argument in _check_sample_weight. This is incompatible with the latest version of scikit-learn (1.7.0), where dtype has been made a positional argument [ref]. This PR makes passes DOUBLE as a named argument (dtype) to _check_sample_weight.

Signed-off-by: Atharva Kelkar <akelkar@novilabs.com>
@atharva-novi atharva-novi force-pushed the add_kw_sample_wt_arg branch from 5e7cb3d to 047dbaa Compare June 23, 2025 13:20
@fverac fverac self-requested a review June 30, 2025 20:45
Copy link
Collaborator

@fverac fverac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the contribution!

@fverac fverac merged commit ea98838 into py-why:main Jul 3, 2025
93 checks passed
carl-offerfit pushed a commit to carl-offerfit/EconML that referenced this pull request Jul 7, 2025
Signed-off-by: Atharva Kelkar <akelkar@novilabs.com>
Signed-off-by: Carl Gold <carl.goldd@braze.com>
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.

2 participants