cntk.contrib.deeprl.agent.agent_factory module¶
Factory method to create an agent.
-
make_agent
(agent_config, o_space, a_space)[source]¶ Choose appropriate method to create an agent.
Parameters: - agent_config – configure file specifying the agent type as well as training details.
- o_space – observation space, gym.spaces.tuple_space.Tuple is not supported.
- a_space – action space, limits to gym.spaces.discrete.Discrete.
Returns: - QLearning,
ActorCritic, TabularQLearning, or RandomAgent.
Return type: subclass inherited from
agent.AgentBaseClass