py-why / py-why/EconML

Error in x.dowhy.fit()

Open
#732 0 comments 2 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

In the file Case Study - Customer Segmentation at An Online Media Company - EconML + DoWhy.ipynb:

esw.dowhy.fit() raise error cause "module 'networkx.algorithms' has no attribute 'd_separated'"

It need to modify the code in d_separation.py :
nx.algorithms..d_separated -> nx.algorithms.d_separation.d_separated

My networkx version is: 2.6.4

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

Open Case Study - Customer Segmentation at An Online Media Company - EconML + DoWhy.ipynb and d_separation.py, then run the notebook cell containing esw.dowhy.fit(). Check the NetworkX d-separation reference in d_separation.py and verify that the notebook completes without the reported attribute error.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.