Learn R Programming

iai (version 1.7.0)

predict_outcomes: Return the predicted outcome for each treatment made by a model for each point in the features

Description

Julia Equivalent: IAI.predict_outcomes (for prescription or policy learners as appropriate)

Usage

predict_outcomes(lnr, X, ...)

Arguments

lnr

The learner or grid to use for prediction.

X

The features of the data.

...

For policy learners only, the reward matrix.

IAI Compatibility

Requires IAI version 2.0 or higher for policy learners.

Examples

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

Run the code above in your browser using DataLab