predict_reward.categorical_reward_estimator {iai} | R Documentation |
Return counterfactual rewards estimated by a categorical reward estimator for each observation in the supplied data and predictions
Description
Julia Equivalent:
IAI.predict_reward
Usage
## S3 method for class 'categorical_reward_estimator'
predict_reward(obj, X, ...)
Arguments
obj |
The learner or grid to use for estimation |
X |
The features of the data. |
... |
Additional arguments depending on the treatment and outcome types. Refer to the Julia documentation for more information. |
IAI Compatibility
Requires IAI version 3.0 or higher.
Examples
## Not run: iai::predict_reward(lnr, X, treatments, outcomes, predictions)
[Package iai version 1.10.1 Index]