I am working with sklift to describe what the uplift for a given treatment (in this case marketing discount) is. When training the model, we can get both probabilities, such as:
# model results: conditional probabilities of treatment effect
# probability of performing the targeted action (visits):
#prob_treat = model_sm.trmnt_preds_ # probability in treatment group
#prob_control = model_sm.ctrl_preds_ # probability in control group
But when I try to get these prob_treat and prob_control for inference (unseen data), I cannot find anything in the docs. All I can do is to get the uplift using model.predict(X_val)
. I am in need to understand for inference what the probas are if treatment are given vs not given. Can some one help?
I didn't use sklift and I use causalml package which is from Uber. But I have some ideas about your question.
prob_treat-prob_control
.