Evaluator¶
- class maze.train.trainers.common.evaluators.evaluator.Evaluator¶
Abstract interface for policy evaluation.
- evaluate(policy: TorchPolicy) None¶
Evaluate given policy.
- For most use cases, this method is expected to:
Write the evaluation results into the statistic logs
Serialize the policy if the reward improved
- Parameters:
policy – Policy to evaluate