Skip to content

Commit

Permalink
update name in docstring following PR350: rlberry-py#350
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienT01 committed Jul 25, 2023
1 parent 16950c9 commit 0d9a824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rlberry/manager/experiment_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,13 +577,13 @@ def eval_agents(
Examples
--------
>>> from rlberry.agents import AgentManager
>>> from rlberry.agents import ExperimentManager
>>> eval_kwargs = {
'horizon': 1000,
'n_simulations': 10,
'gamma': 0.99
}
>>> agent_manager = AgentManager(..., eval_kwargs=eval_kwargs)
>>> agent_manager = ExperimentManager(..., eval_kwargs=eval_kwargs)
>>> # evaluation_results will return 5 values (n_simulations=5) where each value is the Monte-Carlo
>>> # evaluation over 10 simulations ((eval_kwargs["n_simulation"]))
>>> evaluation_results = agent_manager.eval_agents(n_simulations=5, verbose=True)
Expand Down

0 comments on commit 0d9a824

Please sign in to comment.