Home Reference Source Test
import {ReinforcedLearningBase} from 'modelscript/src/ReinforcedLearning.mjs'
public class | source

ReinforcedLearningBase

base interface class for reinforced learning

Constructor Summary

Public Constructor
public

constructor(options: Object): this

base class for reinforced learning

Member Summary

Public Members
public
public
public
public
public

Method Summary

Public Methods
public

learn()

interface instance method for reinforced learning step

public

interface instance method for reinforced prediction step

public

train()

interface instance method for reinforced training step

Public Constructors

public constructor(options: Object): this source

base class for reinforced learning

Params:

NameTypeAttributeDescription
options Object
  • optional
  • default: {}

Return:

this

Public Members

public bounds source

public getBound source

public iteration source

public last_selected source

public total_reward source

Public Methods

public learn() source

interface instance method for reinforced learning step

public predict() source

interface instance method for reinforced prediction step

public train() source

interface instance method for reinforced training step