get_learner_probs: Get probabilities to draw a learner

Description Usage Arguments Value

View source: R/learners.R

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 Jan. 26, 2019, 12:20 p.m.