Commit Graph

1863 Commits

Author SHA1 Message Date
87d6f8d4f6 fix: change integrand check order in KL divergence code 2022-05-06 09:49:42 -04:00
Quinn Dougherty
fd17da83b8 Merge remote-tracking branch 'origin/develop' into log-score-attempt 2022-05-05 20:42:39 -04:00
Quinn Dougherty
38d1c7aa61 Cleanup with option<(float, float, float)>
Value: [1e-5 to 1e-3]
2022-05-05 20:42:05 -04:00
Quinn Dougherty
dcf56d7bc6 combineAlongSupportOfSecondArgument implemented, tests still failing
Value: [1e-4 to 4e-2]
2022-05-05 20:02:12 -04:00
Quinn Dougherty
b49865d3aa progress on klDivergence (still working)
Value: [1e-5 to 1e-2]
2022-05-05 15:37:28 -04:00
Quinn
49458e9179
Merge pull request #488 from quantified-uncertainty/dependabot/npm_and_yarn/docusaurus/preset-classic-2.0.0-beta.19
⬆️ Bump @docusaurus/preset-classic from 2.0.0-beta.18 to 2.0.0-beta.19
2022-05-05 11:02:50 -04:00
dependabot[bot]
a92e32b0ec
⬆️ Bump @docusaurus/preset-classic
Bumps [@docusaurus/preset-classic](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-preset-classic) from 2.0.0-beta.18 to 2.0.0-beta.19.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.19/packages/docusaurus-preset-classic)

---
updated-dependencies:
- dependency-name: "@docusaurus/preset-classic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 14:55:35 +00:00
Quinn
6664e65e6c
Merge pull request #490 from quantified-uncertainty/dependabot/npm_and_yarn/docusaurus/core-2.0.0-beta.19
⬆️ Bump @docusaurus/core from 2.0.0-beta.18 to 2.0.0-beta.19
2022-05-05 10:54:31 -04:00
Quinn
ef829f104f
Merge pull request #489 from quantified-uncertainty/dependabot/npm_and_yarn/webpack-dev-server-4.9.0
⬆️ Bump webpack-dev-server from 4.8.1 to 4.9.0
2022-05-05 10:50:54 -04:00
dependabot[bot]
690467d0be
⬆️ Bump @docusaurus/core from 2.0.0-beta.18 to 2.0.0-beta.19
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.0.0-beta.18 to 2.0.0-beta.19.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.0.0-beta.19/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 14:46:10 +00:00
dependabot[bot]
24b2aefce7
⬆️ Bump webpack-dev-server from 4.8.1 to 4.9.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.8.1...v4.9.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-05 14:45:33 +00:00
Quinn Dougherty
32a881d06a Call Jstat for mean instead of calculate it
Value: [1e-8 to 1e-4]
2022-05-05 10:38:33 -04:00
Sam Nolan
72b7a7e274 squiggle-components 0.2.20 2022-05-04 22:59:58 +00:00
Ozzie Gooen
e866ff062c
Merge pull request #486 from quantified-uncertainty/no-types-arrays
Always puts new elements on different lines.
2022-05-04 18:51:47 -04:00
Sam Nolan
78d2d81148
Merge pull request #487 from quantified-uncertainty/gradient-to-color
Change gradient of one color to solid color
2022-05-04 18:48:48 -04:00
Sam Nolan
3898753b00 Change gradient of one color to solid color 2022-05-04 22:35:04 +00:00
Quinn Dougherty
dd942fe29e cleanup; CR
Value: [1e-9 to 1e-5]
2022-05-04 18:19:47 -04:00
Sam Nolan
a25c83edf8 Always puts new elements on different lines.
Closes #480
2022-05-04 21:55:22 +00:00
Ozzie Gooen
b29ba9162f
Merge pull request #484 from quantified-uncertainty/reducer-dev
Reducer: Ternary operator (if then else)
2022-05-04 17:30:11 -04:00
Umur Ozkul
355266f6ae Merge branch 'ternary' into Umur-reducer-dev 2022-05-04 23:02:08 +02:00
Sam Nolan
29a2ba4e21
Merge pull request #483 from quantified-uncertainty/reducer-dev
Reducer: Foreign Function Interface
2022-05-04 16:59:30 -04:00
Sam Nolan
2cc4097021 Format reducer code 2022-05-04 20:54:18 +00:00
Umur Ozkul
99f54f596c ternary operator (tested) 2022-05-04 22:36:34 +02:00
Umur Ozkul
888b615445 Merge branch 'reducer-dev-F-ifthenelse' into ternary
packages/squiggle-lang/src/rescript/Reducer/Reducer_Dispatch/Reducer_Dispatch_BuiltInMacros.res
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.res
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression_Builder.res
packages/squiggle-lang/src/rescript/Reducer/Reducer_MathJs/Reducer_MathJs_ToExpression.res
2022-05-04 21:51:15 +02:00
Umur Ozkul
8aa4248996 spelling 2022-05-04 21:23:40 +02:00
Quinn Dougherty
6211d3cfb0 Some sorta klDivergence conclusion
Value: [1e-6 to 1e-3]
2022-05-04 14:55:49 -04:00
Umur Ozkul
85b8333a09 Merge branch 'develop' into Umur-reducer-dev 2022-05-04 20:45:48 +02:00
Umur Ozkul
ad220ed2b4 foreign function interface 2022-05-04 20:44:46 +02:00
Quinn Dougherty
898547f3a3 klDivergence is now LogarithmWithThreshold 2022-05-04 13:53:32 -04:00
Quinn Dougherty
cfa83e552d Merge remote-tracking branch 'origin/develop' into log-score-attempt 2022-05-04 13:05:40 -04:00
Quinn Dougherty
c95c56cfb8 Added logScaleWithThreshold(eps) and completed renaming to
`klDivergence`

Value: [1e-5 to 1e-3]
2022-05-04 13:02:58 -04:00
Sam Nolan
801e4c23d1 v0.2.19 2022-05-04 16:50:08 +00:00
Ozzie Gooen
268f138dcf
Merge pull request #478 from quantified-uncertainty/reducer-dev
Reducer dev: map, reduce, reduceReverse, keep
2022-05-04 12:27:03 -04:00
Quinn Dougherty
236be470d5 Merge remote-tracking branch 'origin/develop' into log-score-attempt 2022-05-04 12:22:33 -04:00
Quinn Dougherty
3fcc82442d Completed renaming to KLDivergence
Value: [1e-8 to 1e-4]
2022-05-04 12:21:30 -04:00
Ozzie Gooen
7585bd3599
Merge pull request #479 from quantified-uncertainty/gamma-distribution
Add Gamma distribution
2022-05-04 12:01:28 -04:00
Quinn Dougherty
683439c7e5 Changed Ok(0) to Error(NegativeInfinityError).
Value: [1e-7 to 1e-5]
2022-05-04 11:59:46 -04:00
Quinn Dougherty
32f141abdc Renamed LogScoring to KLDivergence
Value: [1e-7 to 1e-4]
2022-05-04 11:54:23 -04:00
Sam Nolan
930c2d2b67 Add Gamma distribution 2022-05-04 15:53:41 +00:00
Quinn Dougherty
627616558a Made multiplicative factor in Scoring file rather than with bind
calls

Value: [1e-5 to 7.5e-4]
2022-05-04 11:48:20 -04:00
Ozzie Gooen
c7d37fc890
Merge pull request #475 from quantified-uncertainty/dependabot/npm_and_yarn/testing-library/react-13.2.0
⬆️ Bump @testing-library/react from 13.1.1 to 13.2.0
2022-05-04 11:47:23 -04:00
Ozzie Gooen
26ee2d4b54
Merge pull request #476 from quantified-uncertainty/dependabot/npm_and_yarn/types/jest-27.5.0
⬆️ Bump @types/jest from 27.4.1 to 27.5.0
2022-05-04 11:47:03 -04:00
Quinn Dougherty
f5f5be2cfb ?? build broke, had to add a ModuleName. prefix to a constructor
Value: [1e-7 to 1e-5]
2022-05-04 11:43:44 -04:00
Quinn Dougherty
0baeedfb46 pointwiseSubtract test; logscale test
Value: [1e-5 to 5e-4]
2022-05-04 11:42:51 -04:00
Umur Ozkul
ea465c6047 Merge branch 'develop' into Umur-reducer-dev 2022-05-04 17:35:03 +02:00
Umur Ozkul
5de6aa8e0d map reduce reduceReverse reverse keep 2022-05-04 17:32:25 +02:00
dependabot[bot]
e561a47d51
⬆️ Bump @types/jest from 27.4.1 to 27.5.0
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.4.1 to 27.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 14:41:05 +00:00
dependabot[bot]
c0512e5eed
⬆️ Bump @testing-library/react from 13.1.1 to 13.2.0
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 13.1.1 to 13.2.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v13.1.1...v13.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 14:40:32 +00:00
Umur Ozkul
ae48bd6420 pass reducer to dispatch
to define functions that has lambda arguments, dispatching requires a
reducer
2022-05-04 15:33:51 +02:00
Umur Ozkul
33ee0b27d5 remove inspect performance completely
Redesign required on the function interface
2022-05-04 15:14:34 +02:00