Initialize the agent with an environment from where the agent can learn.
initAgent(name, env, conf = NULL, custom_brain = F, ...)
| name | The name of the Agent, see |
|---|---|
| env | The environment to initialize the Agent |
| conf | The configuration |
| custom_brain | Boolean argument: whether to use customized neural network, only for advanced users, not recommended |
[AgentArmed].
initAgent("AgentDQN", "CartPole-v0")