-
Notifications
You must be signed in to change notification settings - Fork 36
Error on NaN's in check_model
#888
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
Conversation
Benchmark Report for Commit c215fb2Computer Information
Benchmark Results
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #888 +/- ##
==========================================
+ Coverage 84.87% 84.92% +0.04%
==========================================
Files 34 34
Lines 3815 3814 -1
==========================================
+ Hits 3238 3239 +1
+ Misses 577 575 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Pull Request Test Coverage Report for Build 14386694475Details
💛 - Coveralls |
Pull Request Test Coverage Report for Build 14387051129Details
💛 - Coveralls |
04002ca
to
4cb9452
Compare
4cb9452
to
77dc871
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.
Looks good
@sunxd3 do you have an opinion on checking for Inf too? (I edited this in at the top but either it was too late or the bot comments distracted from it 😂) |
I think checking Inf is a good idea. Also to make it more useful, is there an option where the checking function will do multi-run? (Saying this because Inf can be less deterministic than the other two.) |
This should be an error.
This depends; certain distributions have |
Ok! I think let's leave Infs for another time/PR. I am a bit wary of edge cases - NaN is more straightforward because you probably don't want any of them anywhere, so |
Inf is now a new issue, #889, so someone can pick it up if they feel like it. But at least having the NaN's checked will fix the immediate request in TuringLang/Turing.jl#2515. |
Closes #887
Open questions:
±Inf
?