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

[Question] Plotting Smoothed Evaluation Curve #371

Open
5 tasks done
Zachary-Fernandes opened this issue Mar 24, 2023 · 1 comment
Open
5 tasks done

[Question] Plotting Smoothed Evaluation Curve #371

Zachary-Fernandes opened this issue Mar 24, 2023 · 1 comment
Labels
question Further information is requested

Comments

@Zachary-Fernandes
Copy link

❓ Question

Hello, I have a question regarding plotting in rl-baselines3-zoo. For plotting the evaluation curves, is there an option to smooth them like one could when plotting the training curves through a rolling window? If not, could one use the same window_func() the training plotter uses or how else would one go about it? I am curious why smoothing is not available. Below is the training curve with a rolling window of 500 and the evaluation curve with no rolling window.

image

image

Checklist

@Zachary-Fernandes Zachary-Fernandes added the question Further information is requested label Mar 24, 2023
@araffin
Copy link
Member

araffin commented Mar 24, 2023

Hello,

s, is there an option to smooth them like one could when plotting the training curves through a rolling window?

There is no option currently, but normally for the evaluation you should have multiple runs and they will smooth out things (this is the all_plot.py script, example is in the doc).

If not, could one use the same window_func() the training plotter uses or how else would one go about it?

you can probably re-use it or see if seaborn has an option for that. (please share your code if you have something working ;))

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

No branches or pull requests

2 participants