Fixed typo in A2C's docstring (#1303)

This commit is contained in:
Alex Pasquali 2023-01-28 12:04:07 +01:00 committed by GitHub
parent 5ee9009535
commit bea3c44ba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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