AlgorithmConfig.update_from_dict(config_dict: dict) AlgorithmConfig[source]#

Modifies this AlgorithmConfig via the provided python config dict.

Warns if config_dict contains deprecated keys. Silently sets even properties of self that do NOT exist. This way, this method may be used to configure custom Policies which do not have their own specific AlgorithmConfig classes, e.g. ray.rllib.examples.policy.random_policy::RandomPolicy.


config_dict – The old-style python config dict (PartialAlgorithmConfigDict) to use for overriding some properties defined in there.


This updated AlgorithmConfig object.