policy_kwargs not documented in DQN #2035
Labels
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
help wanted
Help from contributors is welcomed
π Documentation
Currently, the documentation of DQN on the
policy_kwargs
parameter states the following:policy_kwargs (Dict[str, Any] | None) β additional arguments to be passed to the policy on creation
A list of policy keyword arguments and their default settings would be very helpful here. If you think that this would take to much space, please at least add a hint to the possible policy classes and document the keyword arguments there. Spending some time reading the source code, I found the following keyword arguments for
MlpPolicy
:net_arch
activation_fn
featuers_extractor_class
features_extractor_kwargs
normalize_images
optimizer_class
optimizer_kwargs
For other people interested in customizing those parameters: In
dqn/policies.py
you will find the relevant code for DQN. This can be used as a starting point as long as the documentation is not complete.Checklist
The text was updated successfully, but these errors were encountered: