question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Charts: Slow performance when using ROC curve preset

See original GitHub issue

A common use case I’d like to use wandb for is to store accuracy metrics across a number of experimental conditions and training bootstraps, and then compare those metrics faceted by experimental conditions, aggregating bootstraps as variance in the model performance.

I implemented a small demo of that in this dashboard, however the dashboard is incredibly slow for me; it takes 30s-1m to load the dashboard in a new tab, and normal interface usage like scrolling, clicking on panel elements, hovering, etc. often have a latency of 5+ seconds.

This is using wandb’s wandb.plot.roc_curve on a relatively small number of models and a relatively small test set (the ROC tables have 178 values in them each, which is less fine-grained than I’d normally like to see ROC metrics), so I’m concerned about using this in a real use case. Is this slowness expected for plots like this? How could I implement this behavior while retaining a snappy interface, or are there improvements that can be made to the web interface to support these use cases?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
cvphelpscommented, Oct 23, 2020

Thanks @stef-stripe, could you please shoot me an email at carey@wandb.com so we can talk next week?

1reaction
shawnlewiscommented, Oct 23, 2020

Hi folks, we just pushed a fix that improves the page behavior. Custom charts are new, there was an over-zealous rendering bug. There’s plenty more to optimize beyond this.

Can you try refreshing the pages and let us know if this first improvement helps?

As Carey said, we’ve love to talk on Monday.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Charts: Slow performance when using ROC curve ...
A common use case I'd like to use wandb for is to store accuracy metrics across a number of experimental conditions and training...
Read more >
ROCR: Visualizing the Performance of Scoring Classifiers
Title Visualizing the Performance of Scoring Classifiers. Description ROC graphs, sensitivity/specificity curves, lift charts,.
Read more >
Use the ROC Curve tools: DataRobot docs
The ROC Curve tools provide visualizations and metrics to help you determine whether the classification performance of a particular model meets your ...
Read more >
Regarding ROC curve of good classifier, why TPR and FPR ...
The ROC curve shows the model's performance at every possible threshold - you start with a very low threshold at the bottom left, ......
Read more >
Wave a wandb.plot() to Visualize – Weights & Biases
In all of the preset custom charts, you can: ... Log a Precision-Recall curve or an ROC curve (see links for more details):...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found