AI4Finance-Foundation / AI4Finance-Foundation/ElegantRL

Conditions to stop training when target return is reached

未关闭
#331 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
4.4k
派生
978
PR 合并指标
30 天内没有已合并 PR

描述

Hello, I am testing elegantRL for different environments, but I could not find any examples of completed training. I have been running the LunarLander example for a few days, using the original parameters (attached). How can I tell when the model is fully trained? Is there a minimum number of episodes that need to exceed the target return? If so, where can I specify that? Or is the training indefinite and I have to stop it manually?

While the original example is still running, I tried changing some parameters to see if the training would finish, or if there were any statistics besides the ones shown in the log. I set the target return to 2 and the eval times also 2, and the model surpassed the target return, but it kept training even after several episodes with avgR above 2.

Could you please explain how the stop condition works and what are the best practices for evaluating the model performance? Thank you very much.

![LearningCurve](https://github.com/AI4Finance-Foundation/ElegantRL/assets/66888451/d59738db-8446-43da-8c11-0025728470e8)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。