Commit Graph

1864 Commits

Author SHA1 Message Date
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
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
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
fbb79b261d hotfix: increment package version 2022-05-13 13:41:26 -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
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
Sam Nolan
b2a972605d (rebase): Function charting 2022-05-11 14:19:36 -04:00
5c9f57a24a fix: Attain parity with previous implementation
This is achieved by not adding more points in between i
the points are already pretty close
2022-05-11 12:56:56 -04:00
599c14b32c tweak: Pass off to Quinn 2022-05-11 12:39:03 -04:00
4df4597ed3 fix: "Enrich" (add more x points) when integrating
in order to get more numerical precision.
Note: not complete yet.

Value: [1e-3 to 3e-1]
2022-05-11 12:23:36 -04:00
Quinn
78d3a21108
Merge pull request #516 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.32
⬆️ Bump @types/node from 17.0.31 to 17.0.32
2022-05-11 10:47:15 -04:00
dependabot[bot]
a2b5dbf6c3
⬆️ Bump @types/node from 17.0.31 to 17.0.32
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.31 to 17.0.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-11 14:42:12 +00:00
Quinn Dougherty
0b8da034c6 klDivergence on mixed distributions works for one test case
Value: [1e-4 to 5e-2]
2022-05-10 19:59:50 -04:00
Ozzie Gooen
3cca106079
Merge pull request #504 from quantified-uncertainty/function-charts
Function charting
2022-05-10 18:57:18 -04:00
Quinn
4c68b1d9b8
Merge pull request #507 from quantified-uncertainty/docs-ops-may10
some docs and ops stuff: may 10th
2022-05-10 17:13:09 -04:00
Quinn Dougherty
48fcd526ce Made Node Packages page in docs just reference github readmes
Value: [1e-8 to 1e-4]
2022-05-10 17:06:44 -04:00
Quinn Dougherty
b7e18b4f9d Simplified tree in squiggle-lang/src/rescript/Distributions
Value: [1e-8 to 1e-4]
2022-05-10 16:43:37 -04:00
Quinn Dougherty
06d9a47151 cleaned up yarn.lock` 2022-05-10 16:38:15 -04:00
Quinn Dougherty
465383205a Fixed lint
Value: [1e-10 to 1e-6]
2022-05-10 16:34:03 -04:00
Quinn Dougherty
216ede45b2 Fixed Bisect
Value: [1e-5 to 1e-3]
2022-05-10 16:27:34 -04:00