Commit Graph

1928 Commits

Author SHA1 Message Date
Ozzie Gooen
72b3643c6a
Merge pull request #533 from quantified-uncertainty/add-bernoulli
Add Bernoulli distribution
2022-05-16 10:30:19 -04:00
Ozzie Gooen
606f24ff24 Cleanup and addition of toInternalSampleArray 2022-05-15 21:34:36 -04:00
Ozzie Gooen
e0f505c8ea Add logistic distribution 2022-05-15 21:10:13 -04:00
Ozzie Gooen
b4f67f49c4 Updated yarn.lock 2022-05-15 19:49:33 -04:00
Ozzie Gooen
432e5b9bca Formatted code 2022-05-15 19:42:43 -04:00
Ozzie Gooen
6156ae65d1 Cleanup 2022-05-15 19:42:10 -04:00
Ozzie Gooen
7216f8079f First attempt at adding bernoulli 2022-05-15 18:27:25 -04:00
Ozzie Gooen
15965b0b05 First simple version of samplesMap 2022-05-15 17:24:54 -04:00
Ozzie Gooen
80fed66efe
Merge pull request #528 from quantified-uncertainty/function-chart-fix
Function chart fixes
2022-05-15 16:11:53 -04:00
Ozzie Gooen
9d5a70e16a
Merge pull request #527 from quantified-uncertainty/sampleN
Added sampleN to interface
2022-05-15 16:11:47 -04:00
Ozzie Gooen
9ac99c781c Responded to CR 2022-05-15 15:58:37 -04:00
Ozzie Gooen
b63136080b Formatting 2022-05-15 15:29:54 -04:00
Ozzie Gooen
56728c7ea5 Removed unneeded code 2022-05-15 15:23:58 -04:00
Ozzie Gooen
91ccd333e0 Minor refactors 2022-05-15 15:21:00 -04:00
Ozzie Gooen
b015c20fa4 Cached FunctionChart percentiles calculation 2022-05-15 14:39:50 -04:00
Ozzie Gooen
4676026aa0 Ran formatter 2022-05-15 10:58:29 -04:00
Ozzie Gooen
47d7ef49cf Merged with master 2022-05-15 10:54:16 -04:00
Ozzie Gooen
b2b51c8f46 Added sampleN to interface 2022-05-15 10:52:35 -04:00
Quinn Dougherty
8710248a22 Merge remote-tracking branch 'origin/develop' into score-dist-on-scalar-resolution 2022-05-13 16:41:00 -04:00
Sam Nolan
2da5d5394e
Merge pull request #525 from quantified-uncertainty/pass-environment
Pass environment down to GenericDist
2022-05-13 16:28:21 -04:00
Sam Nolan
95d0212ffc Remove redundant defaultEnv 2022-05-13 20:23:41 +00:00
Sam Nolan
80e05ea5be Pass environment down to GenericDist 2022-05-13 20:16:52 +00:00
Quinn Dougherty
bdbb86aa9e logScore on records now interprets almost every which way we're
interested in

Value: [1e-3 to 9e-1]
2022-05-13 16:15:04 -04:00
Quinn Dougherty
b4a1137019 Implemented correct math underlying logScoreWithPointResolution
Value: [1e-2 to 7e-1]

Realized that I need to switch argument order, put `prior` last maybe.
2022-05-13 15:43:59 -04:00
Quinn Dougherty
78def2d3d2 Merge remote-tracking branch 'origin/develop' into score-dist-on-scalar-resolution 2022-05-13 13:44:02 -04:00
Quinn Dougherty
fbb79b261d hotfix: increment package version 2022-05-13 13:41:26 -04:00
Quinn Dougherty
3eef57f855 proof of concept for records as arguments
Value: [1e-3 to 8e-1]
2022-05-13 13:18:52 -04:00
Sam Nolan
d31619baa5
Merge pull request #524 from quantified-uncertainty/react-keys
Add react keys to remove warnings
2022-05-13 11:47:34 -04:00
Sam Nolan
006204f1ac Add react keys to remove warnings 2022-05-13 15:40:52 +00:00
Ozzie Gooen
167399f87c
Merge pull request #523 from quantified-uncertainty/resampling-sample-functions
Memo the sampling of functions
2022-05-13 11:30:59 -04:00
Sam Nolan
ae2ee48511 Memo the sampling of functions 2022-05-13 15:19:16 +00:00
Quinn Dougherty
2ab395b4e5 Some minor CR
Value: [1e-10 to 1e-4]
2022-05-12 16:03:29 -04:00
Quinn Dougherty
65751e590a Fixed logScoreAgainstImproperPrior by finding how it was None
Value: [1e-4 to 8e-2]
2022-05-12 15:26:51 -04:00
Quinn Dougherty
51310819a1 logScore now in interface.
Value: [1e-4 to 1e-1]
2022-05-12 14:16:52 -04:00
Quinn Dougherty
978e149913 Initialized logScore and logScoreAgainstImproperPrior
Value: [1e-5 to 6e-3]
2022-05-12 13:11:51 -04:00
Quinn
937458cd05
Merge pull request #512 from quantified-uncertainty/kldivergence-mixed
`klDivergence` on mixed distributions
2022-05-12 11:26:01 -04:00
Quinn Dougherty
eee9a46c37 Improved comment for enrich
Value: [1e-9 to 1e-6]
2022-05-12 11:16:51 -04:00
Quinn Dougherty
12c0959f38 factored mixture construction into function
Value: [1e-6 to 1e-4]
2022-05-12 11:14:59 -04:00
Quinn
5ef1029807
Merge pull request #518 from quantified-uncertainty/dependabot/npm_and_yarn/testing-library/user-event-14.2.0
⬆️ Bump @testing-library/user-event from 14.1.1 to 14.2.0
2022-05-12 10:47:14 -04:00
dependabot[bot]
239f6b0f81
⬆️ Bump @testing-library/user-event from 14.1.1 to 14.2.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.1.1 to 14.2.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.1.1...v14.2)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-12 14:40:06 +00:00
Quinn Dougherty
f5e3701a79 Clean up for CR
Value: [1e-7 to 43-4]
2022-05-12 09:51:20 -04:00
Quinn Dougherty
b90a0e7a1a re-added ?, artefact from MC resolve mistake
Value: [1e-7 to 1e-4]
2022-05-11 15:48:50 -04:00
Quinn Dougherty
e1e5e3305d Gained precision
Value: [1e-3 to 2e-2]
2022-05-11 15:46:57 -04:00
Quinn Dougherty
26afc96495 Tests are as good as I can get them
Value: [1e-4 to 1e-2]
2022-05-11 15:12:36 -04:00
Quinn Dougherty
5cd8ff3f73 Merge remote-tracking branch 'origin/develop' into kldivergence-mixed 2022-05-11 14:20:08 -04:00
Quinn Dougherty
95fe117ef0 Factored continuous part of normal and uniform kldivergence into it's
own function

Value: [1e-4 to 1e-3]
2022-05-11 14:19:45 -04:00
Sam Nolan
c13f49a7bc Lint fix 2022-05-11 14:19:45 -04:00
Sam Nolan
a3402a42a4 Add default environment as export 2022-05-11 14:19:45 -04:00
Sam Nolan
4758fca19b Keep props consistent 2022-05-11 14:19:45 -04:00
Sam Nolan
b0c84450ff Make optional arguments actually optional 2022-05-11 14:19:45 -04:00