Skip to content

Add quantile-quantile plot to wandb custom charts - #539

Merged
lm2612 merged 10 commits into
mainfrom
add_wandb_quantiles
Aug 18, 2026
Merged

lm2612 merged 10 commits into
mainfrom
add_wandb_quantiles

Conversation

@lm2612

@lm2612 lm2612 commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Pull Request

Description

Addresses issue #538
It would be useful to compare p-levels as well as the median on W&B. We can do this using a quantile-quantile plot, which would show the target p-level on the x-axis against the fraction of validation data that falls below that p-level on the y-axis. The ideal model would line up along the y=x line.

To do this I have used the existing line plotting function that plots the MAE at different horizons. This involves storing the fraction of the validation data below each level in a wandb table. I've extended the function wandb_line_plot() to also include the option to show the identity line where y=x as a dashed line.

How Has This Been Tested?

The test run was extended to include quantile regression.

  • Yes

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@lm2612

lm2612 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author
Screenshot 2026-08-11 at 14 27 57

@lm2612
lm2612 marked this pull request as ready for review August 17, 2026 12:29
@lm2612
lm2612 marked this pull request as draft August 17, 2026 12:32
@lm2612

lm2612 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

@lm2612
lm2612 marked this pull request as ready for review August 18, 2026 14:04
@lm2612
lm2612 requested a review from Sukh-P August 18, 2026 14:04

@Sukh-P Sukh-P left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lm2612 this looks great, thanks for adding it in! I think it's good to go

@lm2612
lm2612 merged commit 714babf into main Aug 18, 2026
5 checks passed
@lm2612
lm2612 deleted the add_wandb_quantiles branch August 18, 2026 14:49
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

Successfully merging this pull request may close these issues.

2 participants