diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst index ebbb9f2..7ff0c0e 100644 --- a/docs/misc/changelog.rst +++ b/docs/misc/changelog.rst @@ -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) diff --git a/stable_baselines3/a2c/a2c.py b/stable_baselines3/a2c/a2c.py index 972e700..ec4ae2e 100644 --- a/stable_baselines3/a2c/a2c.py +++ b/stable_baselines3/a2c/a2c.py @@ -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