get_learner_probs: Get probabilities to draw a learner

Description Usage Arguments Value

Description

Get probabilities to draw a learner

Usage

1
get_learner_probs(learners, sampling = "parset_dims")

Arguments

learners

[character(n)] vector of learner id's

sampling

[character(1)] "uniform" or "parset_dims". "uniform" draws each learner equally likely, while parset dims draws learners proportional to their parameter set dimensions.

Value

[numeric(n)] sampling probabilities for each learner


pfistfl/OMLRandomBotv2 documentation built on May 25, 2019, 8:28 p.m.