Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overcoming Library Dependency Challenges When Installing CausalML #679

Closed
shakednave-vi opened this issue Sep 6, 2023 · 4 comments
Closed
Labels
dependencies Pull requests that update a dependency file

Comments

@shakednave-vi
Copy link

I need to install causalml, but it requires me to use sklearn==1.2.2 and pandas==1.3.5 in my pip virtual environment to avoid conflicts. Is there a solution to this issue caused by causalml’s outdated library dependencies?

@jeongyoonlee
Copy link
Collaborator

Hi @shakednave-vi.

We relaxed the pandas (and numpy) version requirement in #681, but it's not trivial for scikit-learn as our causal tree implementation depends on a specific version of scikit-learn.

cc: @alexander-pv

@jeongyoonlee jeongyoonlee added the dependencies Pull requests that update a dependency file label Sep 22, 2023
@shakednave-vi
Copy link
Author

Hi @jeongyoonlee,

Can you please refer to the non-trivial parts in the package and I'll see if I can contribute?

@jeongyoonlee
Copy link
Collaborator

It involves removing dependencies on the Scikit-learn's tree module within causalml.inference.tree.causal.*. Check out #686 for more details and one proposal by @alexander-pv.

@jeongyoonlee
Copy link
Collaborator

I'm closing this issue as the pandas version requirement has been relaxed in #681, and we have #682, which is more specific for the scikit-learn dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants