# Using built-in evaluation in rllib

**URL:** <https://discuss.ray.io/t/using-built-in-evaluation-in-rllib/4832>\
**Category:** RLlib\
**Created:** [January 28, 2022, 4:52pm UTC](https://discuss.ray.io/t/using-built-in-evaluation-in-rllib/4832 "2022-01-28T16:52:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbk80](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/dbk80/32/1822_2.png) [@dbk80](https://discuss.ray.io/u/dbk80)\
**Post date:** [January 28, 2022, 4:52pm UTC](https://discuss.ray.io/t/using-built-in-evaluation-in-rllib/4832/1 "2022-01-28T16:52:17Z")

</div>

Hi,

I am using the built-in evaluation functionality in ray rllib by setting evaluation\_interval in the trainer configuration to a number.  
is there a keyword to request an additional evaluation on the final iteration (independent of the choice of evaluation\_interval)?

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Lars\_Simon\_Zehnder](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/lars_simon_zehnder/32/1185_2.png) [@Lars\_Simon\_Zehnder](https://discuss.ray.io/u/Lars_Simon_Zehnder)\
**Post date:** [January 28, 2022, 9:33pm UTC](https://discuss.ray.io/t/using-built-in-evaluation-in-rllib/4832/2 "2022-01-28T21:33:39Z")

</div>

Hi @dbk80 ,

I don’t know of any configuration setting that ensures you an evaluation at the end of training.

What you can always do though is to call `trainer.evaluate()` and evaluate “manually”.
