predict_outcomes.policy_learner {iai} | R Documentation |
Return the predicted outcome for each treatment made by a policy learner for each point in the features
Description
Julia Equivalent:
IAI.predict_outcomes
Usage
## S3 method for class 'policy_learner'
predict_outcomes(obj, X, rewards, ...)
Arguments
obj |
The learner or grid to use for prediction. |
X |
The features of the data. |
rewards |
The estimated reward matrix for the data. |
... |
Additional arguments (unused) |
IAI Compatibility
Requires IAI version 2.0 or higher
Examples
## Not run: iai::predict_outcomes(lnr, X, rewards)
[Package iai version 1.10.1 Index]