Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with AverageReturnMetric #909

Open
billh0420 opened this issue Jan 4, 2024 · 0 comments
Open

Problem with AverageReturnMetric #909

billh0420 opened this issue Jan 4, 2024 · 0 comments

Comments

@billh0420
Copy link

It seems to be necessary to increase the buffer_size for AverageReturnMetric to get better precision.

One would think that increasing buffer_size would only speed up the computation (at a cost of increase memory usage). But this is not the case. Using the default buffer size of 10 yields only an accuracy to one decimal place. I notices this problem when trying to compute the AverageReturnMetric for 100 episodes: the results were always like .50... or .70... etc and never .87000....

If I provide a buffer size of 200, then I get satisfactory results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant