-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CompatHelper: bump compat for Copulas to 0.1, (keep existing compat) #134
CompatHelper: bump compat for Copulas to 0.1, (keep existing compat) #134
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #134 +/- ##
==========================================
- Coverage 93.11% 92.28% -0.83%
==========================================
Files 11 11
Lines 842 830 -12
==========================================
- Hits 784 766 -18
- Misses 58 64 +6 ☔ View full report in Codecov by Sentry. |
Specialize on Gaussian and Independent copulas only.
Fix Shapley method
if n_dep == 1 | ||
dist_cond = Normal(cond_mean[1, 1], cond_var[1, 1]) | ||
sample_norm = rand(dist_cond, n_sample) | ||
dist_cond = Normal(cond_mean[1, 1], sqrt(cond_var[1, 1])) |
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.
I didn't rerun the tests locally... I wonder if the test errors are caused by this fix (stddev instead of variance).
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.
yes that should be it. Fwiw the values for ishigami function are closer to the sobol indices now so it's not suspicious
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.
closer in a handwavy way lol
This pull request changes the compat entry for the
Copulas
package from=0.1.13
to=0.1.13, 0.1
.This keeps the compat entries for earlier versions.
Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.