py-why / py-why/EconML

Any plans to port econml to numpy 2+ and sklearn 1.6+?

Open
#954 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.8k
Forks
827
PR merge metrics
No merged PRs in 30d

Description

Hi all, I've got a use-case for econml, and I'm having a hard time installing it together with my current stack, which uses numpy 2 and sklearn 1.6.

I've seen a few issues discussing numpy 2 compatibility (#944 , for example), but numpy <2 is still in pyproject.toml.

Questions:

  1. Is this planned? Or has it been scoped? What work is needed and how much? (Perhaps I could help if it's manageable)
  2. Is there some known workaround to get it working with these packages?

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the NumPy constraint in pyproject.toml and the related compatibility discussion in issue #944. Determine the work needed for NumPy 2 and scikit-learn 1.6 support, with installation compatibility and existing project behavior preserved as the completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python, scikit-learn
Domain
build-system, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.