exarl.base.agent_base
Module Contents
Classes
Agent base class: Inherits from abstract base class for mandating |
Attributes
- exarl.base.agent_base.file_path
- exarl.base.agent_base.lib_path
- class exarl.base.agent_base.ExaAgent(**kwargs)
Bases:
abc.ABCAgent base class: Inherits from abstract base class for mandating functionality (pure virtual functions).
- abstract get_weights(self)
get target model weights
- abstract set_weights(self)
set target model weights
- abstract train(self)
train the agent
- abstract action(self)
next action based on current state
- abstract load(self)
load weights
- abstract save(self, results_dir)
save weights
- abstract has_data(self)
return true if agent has experiences from simulation