score.categorical_reward_estimator: Calculate the scores for a categorical reward estimator on...

View source: R/rewardestimation.R

score.categorical_reward_estimatorR Documentation

Calculate the scores for a categorical reward estimator on the given data

Description

Julia Equivalent: IAI.score

Usage

## S3 method for class 'categorical_reward_estimator'
score(obj, X, ...)

Arguments

obj

The learner or grid to evaluate.

X

The features of the data.

...

Other parameters, including zero or more target vectors as required by the problem type. Refer to the Julia documentation for other available parameters.

IAI Compatibility

Requires IAI version 2.1 or higher.

Examples

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


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