-
-
Notifications
You must be signed in to change notification settings - Fork 38
Improve floating point accuracy #395
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e7d45e7
fix: stabilize MCSE calculation
avehtari 4aa7c4d
fix: stabilize weighted variance calculations
avehtari 9103840
fix: stabilize subsampling square differences
avehtari aa65ac6
fix: stabilize PSIS tail differences
avehtari 5b2bee1
fix: stabilize stacking gradient calculation
avehtari 572ae71
refactor: move new helper functions to helpers.R
avehtari a336b76
fix: handle equal infinite PSIS values
avehtari 9f4341f
fix: handle equal infinite stacking terms
avehtari 23005f4
fix: pass log-scale ELPD to moment matching MCSE
avehtari ea1cac4
fix: handle infinite log inputs
avehtari 912929c
fix: retain tiny positive MCSE deviations
avehtari 9ea4fb5
perf: vectorize mcse_elpd and cheapen log-ratio validation
avehtari 374b8fa
fix: propagate missing values through exp_diff_over_exp
avehtari bf22710
fix: report -Inf log-likelihood errors in terms of the loo() input
avehtari 4d884ce
docs: note the normalized-weight assumption in the two-pass variances
avehtari 2d12c3f
style: match the surrounding blank-line spacing in the new tests
avehtari 32fad02
test: name the importance sampling method in the -Inf log-ratio tests
avehtari 0567eda
fix: require finite log-likelihood values in loo()
avehtari ce89e90
fix: reject NA, NaN and +Inf predictive densities in model weighting
avehtari 666e51a
docs: separate the two reasons loo() rejects infinite log likelihoods
avehtari fd4783e
fix placement of validate_lpd_point and add NEWS item
jgabry 31f5a11
Move internal functions even lower down in file
jgabry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.