Skip to content

Doc_ModelHolder

inXS212 edited this page Nov 5, 2018 · 1 revision

ModelHolders

this page will present scripts in the ModelHolders folder

Brief Presentation

ModelHolders is the class holding it all together, it contains the input formatter, the output formatter, the reward manager (if there are one), and the model. Any ModelHolders contains a predict method, and a fit method. It serves as an intermediate between the Agents, and the Models class.

Everything is hidden away from the agent by the ModelHolder. It converts observations (inputs), actions (outputs), and rewards, thanks to the formatters. Then call the models prediction method, with the formatted IOs.

Clone this wiki locally