ModuleNotFoundError: No module named 'econml.tests'
Open
@kbattocchi is already working on this.
Since Mar 12, 2022.
- Dominant language
- Jupyter Notebook
- Stars
- 4.8k
- Forks
- 827
- PR merge metrics
- No merged PRs in 30d
Description
I tried to run this on my local and Google Colab, both provided the same error.
I am simply trying to run an example in your documentation:
# Main imports
from econml.dynamic.dml import DynamicDML
from econml.tests.dgp import DynamicPanelDGP, add_vlines
# Helper imports
import numpy as np
from sklearn.linear_model import Lasso, LassoCV, LogisticRegression, LogisticRegressionCV, MultiTaskLassoCV
import matplotlib.pyplot as plt
%matplotlib inline
Traceback below:
ModuleNotFoundError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_34972/2185440898.py in <module>
1 # Main imports
2 from econml.dynamic.dml import DynamicDML
----> 3 from econml.tests.dgp import DynamicPanelDGP, add_vlines
4
5 # Helper imports
ModuleNotFoundError: No module named 'econml.tests'
Any help would be appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.