simple_learner: simple_learner

Description Usage Arguments Author(s)

View source: R/learner.R

Description

function to return a learner given the problem passed to it and learning implementation

Usage

1
simple_learner(n_bandit, exploration)

Arguments

n_bandit

a number to pass to the multiarm bandit function

exploration

the probability of a random value being selected

bandit

the function to create the multiarm bandit

Author(s)

Joe Peskett


joepeskett/bandits documentation built on Dec. 28, 2019, 7:04 p.m.