Module for Evaluations
Methods
# static benchmarkSingleAgent(env, agent, iterations, randomSeed, maxIteration, resetEnvStats) → {object}
Benchmark a single agent
Parameters:
Name | Type | Description |
---|---|---|
env |
SingleAgentEnvironment
|
The environment to benchmark in |
agent |
Agent
|
The agent to bechmark. The agent has to be initialized |
iterations |
number
|
The number of iterations |
randomSeed |
number
|
The random seed |
maxIteration |
number
|
The maximum number of game iterations |
resetEnvStats |
boolean
|
Whether to reset the stats of the environment |
The bechmark result
object