Skip to content

Commit

Permalink
Fixed typo in A2C's docstring (#1303)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPasqua committed Jan 28, 2023
1 parent 5ee9009 commit bea3c44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/misc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Others:
Documentation:
^^^^^^^^^^^^^^
- Renamed ``load_parameters`` to ``set_parameters`` (@DavyMorgan)
- Fixed typo in ``A2C`` docstring (@AlexPasqua)


Release 1.7.0 (2023-01-10)
Expand Down
2 changes: 1 addition & 1 deletion stable_baselines3/a2c/a2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class A2C(OnPolicyAlgorithm):
:param n_steps: The number of steps to run for each environment per update
(i.e. batch size is n_steps * n_env where n_env is number of environment copies running in parallel)
:param gamma: Discount factor
:param gae_lambda: Factor for trade-off of bias vs variance for Generalized Advantage Estimator
:param gae_lambda: Factor for trade-off of bias vs variance for Generalized Advantage Estimator.
Equivalent to classic advantage when set to 1.
:param ent_coef: Entropy coefficient for the loss calculation
:param vf_coef: Value function coefficient for the loss calculation
Expand Down

0 comments on commit bea3c44

Please sign in to comment.