hive.utils.experiment module
Implementation of a simple experiment class.
- class hive.utils.experiment.Experiment(name, dir_name, schedule)[source]
Bases:
object
Implementation of a simple experiment class.
Initializes an experiment object.
The experiment state is an exposed property of objects of this class. It can be used to keep track of objects that need to be saved to keep track of the experiment, but don’t fit in one of the standard categories. One example of this is the various schedules used in the Runner class.
- Parameters
- register_experiment(config=None, logger=None, agents=None, environment=None)[source]
Registers all the components of an experiment.
- save(tag='current')[source]
Saves the experiment. :param tag: Tag to prefix the folder. :type tag: str