seldonian.RL.RL_runner.run_trial_given_agent_and_env¶
- run_trial_given_agent_and_env(agent, env, num_episodes)¶
Run a set of epidoes given parameters explicitly rather than via a dictionary.
Not parallelized here because often agent or env are not pickleable.
- Parameters:
agent – RL Agent
env – RL Environment
num_episodes – Number of episodes to run
- Returns:
List of generated episodes