sinergym.utils.callbacks.LoggerCallback
- class sinergym.utils.callbacks.LoggerCallback(*args: Any, **kwargs: Any)
Custom callback for plotting additional values in tensorboard. :param sinergym_logger: Boolean, indicate if CSVLogger inner Sinergym will be activated or not. :param ep_rewards: Here will be stored all rewards during episode. :param ep_powers: Here will be stored all consumption data during episode. :param ep_term_comfort: Here will be stored all comfort terms (reward component) during episode. :param ep_term_energy: Here will be stored all energy terms (reward component) during episode. :param num_comfort_violation: Number of timesteps in which comfort has been violated. :param ep_timesteps: Each timestep during an episode, this value increment 1.
- __init__(sinergym_logger=False, verbose=0)
Methods
__init__
([sinergym_logger, verbose])- on_training_end()