predict_outcomes.policy_learner: Return the predicted outcome for each treatment made by a...

View source: R/iaibase.R

predict_outcomes.policy_learnerR 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)


iai documentation built on Oct. 19, 2024, 1:07 a.m.