irl_benchmark.config package¶
Module contents¶
This module contains configurations for IRL and RL algorithms.
-
irl_benchmark.config.
preprocess_config
(config_for: object, domains: dict, config: dict) → dict¶ Pre-processes a config dictionary.
This is based on the values specified for each IRL algorithm in IRL_CONFIG_DOMAINS. The following steps are performed:
- If values in config are missing, add their default values.
- If values are illegal (e.g. too high), raise an error.
- If unknown fields are specified, raise an error.
Manipulates a copy of the passed config and returns it.
- config: dict
- The unprocessed config dictionary.
- dict
- The processed config dictionary.