rl_equation_solver.utilities.history.HistoryMixin

class HistoryMixin[source]

Bases: object

Collection of history method

Methods

append_history(entry)

Append latest step for training history of policy_network

log_info()

Write info to logger

reset_history()

Clear history

update_history(key, value)

Update latest step for training history of policy_network

Attributes

avg_history

Get history averaged over each episode

history

Get training history of policy_network

property avg_history

Get history averaged over each episode

property history

Get training history of policy_network

append_history(entry)[source]

Append latest step for training history of policy_network

update_history(key, value)[source]

Update latest step for training history of policy_network

log_info()[source]

Write info to logger

reset_history()[source]

Clear history