Custom Charts: Parameterize number of samples in pr_curve
See original GitHub issueRequested feature
Currently the number of points to plot when using wandb.plot.pr_curve
is hardcoded to 20:
This is a bit frustrating because it leads to a very bad curve in some cases:
There is no point between ~ 0.8 and ~ 0.98 here. The problem is solved by just setting samples
to a higher number, e. g. 100.
Suggested Solution
This would be solved by simply making samples
an argument to pr_curve
and setting it to 20 by default.
If you are willing to change this I could open a PR with the change - would be only a couple of lines.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Plot Precision Recall Curves With Weights & Biases - Wandb
This article provides usage and examples for plotting Precision Recall curves with Weights & Biases using wandb.plot.pr_curve().
Read more >sklearn.metrics.precision_recall_curve
Compute precision-recall pairs for different probability thresholds. Note: this implementation is restricted to the binary classification task. The precision is ...
Read more >scikit learn - Area under Precision-Recall Curve (AUC of PR ...
Short answer is: YES. Average Precision is a single number used to summarise a Precision-Recall curve: enter image description here.
Read more >ROCR: Visualizing the Performance of Scoring Classifiers
ROCR is a flexible tool for creating cutoff-parameterized 2D performance curves by freely combining two from over 25 performance measures (new.
Read more >Precision-recall curves – what are they and how are they used?
This article demonstrates that adding a lot of patients without disease and with low test results to a study may improve the ROC...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the label
feature_request
to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.
WandB Internal User commented: jerofad commented: Hi seems this issues isn’t fixed yet. I was also wondering why the plot using
wandb pr_curve
was not informative. What’s the work -around for this?