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
fix: filter out crazy trials [DET-4782] #1795
Conversation
2b79628
to
e965ffb
Compare
does this come after #1796 ? this is deleting the experiment details pages |
e965ffb
to
609167f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. Assuming users are not going to find real value in metric points with values outside the ALLOWED_METRIC_VLAUE
range and won't really get confused with not seeing those here, this would be a good and easy improvement to make the charts more usable. cc @vishnu2kmohan
for a more complicated, less performant solution, employing outlier detection could be an option for the future 🤔
Might we please log a console warning that we've encountered such an outlier (and also capture such instances via Telemetry, if it makes sense)? I'm still a little concerned that there may arise a situation where a metric may genuinely lie outside and that we are dropping it due to an implementation constraint. |
@vishnu2kmohan this is only the reporting end when displaying the learning curve. We're not actually dropping metric values from the experiment. If we want to log such a case, it would make sense for the backend to capture this when it encounters it there. uPlot does not render numbers in the billions either, and talking with @katport, if the metric values are exceeding such a high value, it's more likely that something went wrong. |
rebased to remove all those intersecting commits |
this sounds odd; it can certainly render values that high: https://jsfiddle.net/0mvdktqf/ if you want to squash spikes, you can tweak y scale auto-ranging (e.g. set soft max / hard max): https://leeoniya.github.io/uPlot/demos/soft-minmax.html or use log scales: might also want to check out these recent discussions: grafana/grafana#979 cheers! |
Hey @leeoniya thanks for the comment and the suggestions! Looks like it rendered just fine with the single digits and the billion+ values. I'll try to nail down exactly what the issue is, but introduction of time series with these giant numbers among "normal" series with values between 0 ~ 10 is triggering a blank chart without an error. |
Description
Extremely large metric values found in learning curve trials causes the uplot charts to break. Filter out any trials that have metric values that exceed 100,000 in value.
Test Plan
check to make sure experiment 725 on the latest-master loads ok when the metric is set to
[Training] loss
Commentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.