Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

iai (version 1.7.0)

predict_reward: Return counterfactual rewards estimated using learner parameters for each observation in the supplied data and predictions

Description

Julia Equivalent: IAI.predict_reward

Usage

predict_reward(lnr, ...)

Arguments

lnr

The learner or grid to use for estimation

...

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

Run this code
if (FALSE) iai::predict_reward(lnr, treatments, outcomes, predictions)

Run the code above in your browser using DataLab