libuplift.meta.response#
‘Fake’ uplift models based on response classifiers.
Classes#
Predict uplift based on treatment classifiers. |
|
Predict uplift using a classifier built on full data. |
|
Predict uplift based on a control classifier. |
Module Contents#
- class libuplift.meta.response.TreatmentUpliftClassifier(base_estimator=LogisticRegression(), reverse=False)[source]#
Bases:
_ResponseModelBasePredict uplift based on treatment classifiers.
Ignore control.
- class libuplift.meta.response.ResponseUpliftClassifier(base_estimator=LogisticRegression(), reverse=False)[source]#
Bases:
TreatmentUpliftClassifierPredict uplift using a classifier built on full data.
Ignore causal nature of the data.
- class libuplift.meta.response.ControlUpliftClassifier(base_estimator=LogisticRegression(), reverse=True)[source]#
Bases:
TreatmentUpliftClassifierPredict uplift based on a control classifier.
Ignore treatment data. If reverse is True lower classification scores are assumed to correspond to higher uplift.