causalml
causalml copied to clipboard
Uplift modeling and causal inference with machine learning algorithms
Hi, would it be possible to get confidence intervals from a learner predict method? Something like this ```python cate, cate_lb, cate_ub = learner.predict(X=X, treatment=treatment, y=y, return_ci=True) ```
I wanted to receive to components of the CATE prediction via R-Learner. Unfortunately, it is not possible to retrieve this information because it is not defined [here](https://github.com/uber/causalml/blob/master/causalml/inference/meta/rlearner.py#L122-L137). I tried to...
Hi, I was going through the cf value optimization example and wanted to know if its possible to estimate the CATE using any of the meta-learner algorithms for observational data...
Hi, We have just recently seen our code failing due to the error message noted below: build 22-Feb-2021 10:15:19 .tox/py37/lib/python3.7/site-packages/causalml/inference/tree/__init__.py:3: in build 22-Feb-2021 10:15:19 from .causaltree import CausalMSE, CausalTreeRegressor build...
Hi, we work with the tree visualization of causalml. We train the uplift tree by **UpliftTreeClassifier()**, fit it using **uplift_model.fit()** and visualize the uplift tree by **uplift_tree_plot()**. Is it possible...
I have a question regarding the [meta_learners_with_synthetic_data] example (https://github.com/uber/causalml/blob/master/examples/meta_learners_with_synthetic_data.ipynb). When tuning the meta-learners via cross validation, 1. should the cum gain or qini auuc be used as the metric to...
Is it possible to export a trained model (i.e. UpliftRandomForestClassifier) to a PMML file for deploying? Many thanks
Hi. I have a problem using `BaseXClassifier.plot_importance` to visualize feature importance with my dataset that has approx. 300 features. The `matplotlib.pyplot.figsize` is too small for the data that the letters...
Is there any way to plot the shap values for Causal RF class? What about partial dependence plots?
**Describe the bug** I installed causalml from pip and got the error of "ModuleNotFoundError: No module named 'causalml.inference.tree.causaltree'" when importing the following functions/packages: from causalml.dataset import make_uplift_classification from causalml.inference.tree import...