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

Show the learning improvement plots for each iterations #1207

Open
OmkarEllicium opened this issue Jan 24, 2025 · 9 comments
Open

Show the learning improvement plots for each iterations #1207

OmkarEllicium opened this issue Jan 24, 2025 · 9 comments
Assignees

Comments

@OmkarEllicium
Copy link

Hi Team,

Is it possible to show how much the model is improving in each iteration?

@OmkarEllicium
Copy link
Author

@gufengzhou any idea?

@gufengzhou
Copy link
Contributor

There're many already. Among the exported plots:

  • pareto_front.png shows convergence of NRMSE & RSSD over time (same as iterations)
  • ROAS_convergence1.png shows convergence of ROAS over iteration
  • ts_validation.png shows NRMSE convergence over iteration

Or what do you mean by improving?

@OmkarEllicium
Copy link
Author

Any other way than saving PNGs? My data is large so while saving PNG it basically crashes.
Which files are used to plot graphs shown in these PNGs?

@gufengzhou
Copy link
Contributor

Robyn provides very comprehensive raw outputs and I'd recommend you to explore them. For example you can

  • use the table pareto_hyperparameters.csv, (schema of exported tables here),
  • or after robyn_run, check OutputModels$convergence$moo_distrb_plot$data, or OutputModels$convergence$moo_cloud_plot$data
  • or after robyn_outputs, check OutputCollect$resultHypParam

@gufengzhou gufengzhou self-assigned this Jan 24, 2025
@OmkarEllicium
Copy link
Author

OmkarEllicium commented Jan 24, 2025 via email

@OmkarEllicium
Copy link
Author

@gufengzhou this is how NRMSE looks over all iterations:

Image

It this expected? Shouldn't it be a smoother line with larger value at the start and slowly coming down?

@gufengzhou
Copy link
Contributor

gufengzhou commented Jan 28, 2025

No it's not expected. Yes it should improve/ minimise. The R version looks like this below. Would you please try running more iterations? 500 is not enough usually. Are you using own data or our sample data? Our sample data usually converges after 1-2k.

Image

@OmkarEllicium
Copy link
Author

@gufengzhou I am using my own data

@gufengzhou
Copy link
Contributor

please try more iterations and hope it looks better. btw the exported ts_validation.png is showing this already, in case you haven't found it

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

4 participants