Options
All
  • Public
  • Public/Protected
  • All
Menu

base interface class for reinforced learning

memberof

ml

Hierarchy

Implements

Index

Constructors

constructor

  • base class for reinforced learning

    prop

    {Number} options.bounds - number of bounds / bandits

    prop

    {Function} options.getBound - get value of bound

    prop

    {Number} this.bounds - number of bounds / bandits

    prop

    {Array} this.last_selected - list of selections

    prop

    {Number} this.total_reward - total rewards

    prop

    {Number} this.iteration - total number of iterations

    Parameters

    Returns ReinforcedLearningBase

Properties

bounds

bounds: number

getBound

getBound: BoundFunction

iteration

iteration: number

last_selected

last_selected: Vector

total_reward

total_reward: number

Methods

learn

  • learn(): void
  • interface instance method for reinforced learning step

    Returns void

predict

  • predict(): void
  • interface instance method for reinforced prediction step

    Returns void

train

  • train(): void
  • interface instance method for reinforced training step

    Returns void