predict.numeric_reward_estimator: Return counterfactual rewards estimated by a numeric reward...

View source: R/rewardestimation.R

predict.numeric_reward_estimatorR Documentation

Return counterfactual rewards estimated by a numeric reward estimator for each observation in the supplied data

Description

Julia Equivalent: IAI.predict

Usage

## S3 method for class 'numeric_reward_estimator'
predict(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 2.1 or higher.

Examples

## Not run: iai::predict(lnr, X, treatments, outcomes)


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