Skip to content

Commit bea3c44

Browse files
authored
Fixed typo in A2C's docstring (#1303)
1 parent 5ee9009 commit bea3c44

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/misc/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Others:
3939
Documentation:
4040
^^^^^^^^^^^^^^
4141
- Renamed ``load_parameters`` to ``set_parameters`` (@DavyMorgan)
42+
- Fixed typo in ``A2C`` docstring (@AlexPasqua)
4243

4344

4445
Release 1.7.0 (2023-01-10)

stable_baselines3/a2c/a2c.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class A2C(OnPolicyAlgorithm):
2929
:param n_steps: The number of steps to run for each environment per update
3030
(i.e. batch size is n_steps * n_env where n_env is number of environment copies running in parallel)
3131
:param gamma: Discount factor
32-
:param gae_lambda: Factor for trade-off of bias vs variance for Generalized Advantage Estimator
32+
:param gae_lambda: Factor for trade-off of bias vs variance for Generalized Advantage Estimator.
3333
Equivalent to classic advantage when set to 1.
3434
:param ent_coef: Entropy coefficient for the loss calculation
3535
:param vf_coef: Value function coefficient for the loss calculation

0 commit comments

Comments
 (0)