Learn R Programming

iai (version 1.10.2)

predict_outcomes.policy_learner: 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 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

Run this code
if (FALSE) iai::predict_outcomes(lnr, X, rewards)

Run the code above in your browser using DataLab