getSamples: Extract quantities from a bandit object

Description Usage Arguments Details Value

Description

Extract quantities from a bandit object

Usage

1
2
3
4
5
getSamples(object, what = "current")

getJobs(object, what = "all")

getModel(object, what = "last")

Arguments

object

an object inheriting from class "bandit"

what

the specific object to select. See details.

Details

By default, getSamples extracts all samples with a non-missing outcome. Alternatives are "last", for the samples used in the last training job; "remaining" for all samples with a missing outcome.

By default, getJobs extracts a summary of all jobs done by the bandit. The alternative "last" extracts a summary of the last job done by the bandit.

By default, getModel extracts the model estimated at the last training job. The id of a training job may be supplied.

Value

For getSamples and getJobs, a data.frame. For getModel, a model object.


rferrali/banditr documentation built on May 27, 2019, 5:56 a.m.