Open davidpomerenke opened 1 year ago
Temporary workaround (via https://numba.pydata.org/numba-doc/dev/reference/deprecation.html):
from numba.core.errors import NumbaDeprecationWarning
import warnings
warnings.simplefilter('ignore', category=NumbaDeprecationWarning)
from econml.dr import LinearDRLearner
The warning suppression code must come before the econml imports for it to work.
will print the long warning log given below.
I am using Python 3.10.10, econml 0.14.1.
Econml requires
shap >=0.38.1,<0.42.0
according to Poetry, and I have shap 0.41.0.It seems that the issue is solved in shap 0.42.0: https://github.com/shap/shap/issues/2909
Thus upgrading the shap dependency would probably fix this.
Warning log: