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 Dougherty
32a881d06a
Call Jstat for mean instead of calculate it
...
Value: [1e-8 to 1e-4]
2022-05-05 10:38:33 -04:00
Quinn Dougherty
dd942fe29e
cleanup; CR
...
Value: [1e-9 to 1e-5]
2022-05-04 18:19:47 -04: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
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
cfa83e552d
Merge remote-tracking branch 'origin/develop' into log-score-attempt
2022-05-04 13:05:40 -04: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
Sam Nolan
930c2d2b67
Add Gamma distribution
2022-05-04 15:53:41 +00:00
Quinn Dougherty
0baeedfb46
pointwiseSubtract test; logscale test
...
Value: [1e-5 to 5e-4]
2022-05-04 11:42:51 -04:00
Umur Ozkul
5de6aa8e0d
map reduce reduceReverse reverse keep
2022-05-04 17:32:25 +02:00
Umur Ozkul
33ee0b27d5
remove inspect performance completely
...
Redesign required on the function interface
2022-05-04 15:14:34 +02:00
Quinn Dougherty
6c815a62ff
Merge remote-tracking branch 'origin/develop' into log-score-attempt
2022-05-03 10:17:17 -04:00
Quinn Dougherty
5d6de7b487
Response to CR
...
Value: [1e-4 to 4e-3]
2022-05-03 10:15:48 -04:00
Umur Ozkul
88428c74af
cases to handle with new parser. lambdas in arrays and records
2022-05-03 00:44:38 +02:00
Quinn Dougherty
20adc4e25a
describe and test strings.
2022-05-02 18:40:34 -04:00
Umur Ozkul
c5ae846df4
Note duplicate parameters
2022-05-03 00:30:41 +02:00
Quinn Dougherty
96ed0b44bb
skip the bad test
...
Value: [1e-6 to 5e-4]
2022-05-02 18:29:47 -04:00
Umur Ozkul
78f46daed8
Note infinite recursion
2022-05-03 00:18:23 +02:00
Umur Ozkul
d26eaa2523
Note infinite recursion
2022-05-03 00:16:29 +02:00
Umur Ozkul
11d4a3bc8b
do not export private modules from Reducer module
2022-05-02 23:42:11 +02:00
Umur Ozkul
490e4908e1
sam's monkeying
2022-05-02 23:18:36 +02:00
Quinn Dougherty
2d84805f88
Added infinity error; fixed infinities in logs
...
Value: [1e-3 to 3e-2]
2022-05-02 17:15:23 -04:00
Umur Ozkul
6a3b35eb4a
fixed function f not bound
2022-05-02 23:12:57 +02:00
Quinn Dougherty
db3acbf96c
Added extra multiplicative factor in logScore integrand
...
Value: [8e-2 to 7e-1]
migrated intregrand from `log(predicted / answer)` to `answer *
log(predicted / answer)`
2022-05-02 13:40:34 -04:00
Umur Ozkul
5a0b436932
No 666
2022-05-02 18:00:47 +02:00
Umur Ozkul
f5d3da4c73
tests
2022-05-02 15:55:02 +02:00
Umur Ozkul
9e41f0399f
RENotAFunction
2022-05-02 15:55:02 +02:00
Umur Ozkul
ba104e4dfe
Catching unreduced values. This is not a lazy language
2022-05-02 15:55:02 +02:00
Umur Ozkul
c68138e5f6
arity error
2022-05-02 14:19:04 +02:00
Umur Ozkul
711b230ecb
Merge branch 'develop' into Umur-reducer-dev
2022-05-02 12:34:23 +02:00
Umur Ozkul
1e673e54c3
function tricks test defined (Sam's trials)
2022-05-02 12:27:07 +02:00
Umur Ozkul
087596ec43
function trics
2022-05-02 11:44:09 +02:00
Umur Ozkul
6796db82b4
note weird distribution test
2022-05-02 11:44:09 +02:00
Umur Ozkul
e262f76d98
spelling
2022-05-02 11:20:08 +02:00
Umur Ozkul
76b3adddc4
rename to exampleStatementY
2022-05-02 11:12:12 +02:00
Quinn Dougherty
ae7e5744dc
Merge remote-tracking branch 'origin/develop' into fromsamples
2022-04-30 09:45:25 -04:00
Quinn Dougherty
ba0baf31c6
Fixed a (now skipped) test
...
[1e-5 to 1e-4]
2022-04-29 18:45:12 -04:00
Quinn Dougherty
8217801de3
magic numbers in bandwidth; fromSamples
implementation
...
Value: [1e-3 to 4e-2]
2022-04-29 18:38:55 -04:00
Sam Nolan
b710289096
Rename parameters to imports
2022-04-29 20:29:42 +00:00
Sam Nolan
74df093a42
Cleanup TS code (and fix rescript build warning)
2022-04-29 20:10:39 +00:00
Sam Nolan
d4f929367d
JS parameters in squiggle lang
2022-04-29 18:46:44 +00:00
Umur Ozkul
992dd92d9b
merge develop
2022-04-29 19:10:40 +02:00
Umur Ozkul
351381339c
bug fixed
...
logs removed
2022-04-29 18:19:52 +02:00
Umur Ozkul
8e318a8aa9
refactor reducer
...
removed some extra array references
rename Builder to ExpressionBuilder
Expression Builder
Trash Warning
remove parsePartial/Outer, add context to lambda
format
module Bindings
simplify types
module Macro
reduceValueList
do macro call
result map
bindings stop replacing on macro calls
Macro Test
doBindStatement
bind a statement
bindings tested. TODO bind shadowing in lambda
block tests defined
block tests defined
blocks tested
macro lambda test defined
2022-04-29 16:40:32 +02:00
Sam Nolan
58a357cce5
Add basic partial test
2022-04-29 14:10:41 +00:00
Sam Nolan
454ac0c252
Add bindings to Squiggle Editor
2022-04-29 13:50:57 +00:00
Quinn
5f78399760
Merge pull request #416 from quantified-uncertainty/shape-validators
...
XYShape validator
2022-04-28 18:51:31 -04:00
Sam Nolan
b72e7b42c4
Merge pull request #420 from quantified-uncertainty/dictionary-view
...
Add Dictionary Viewer and Recursive Array viewer
2022-04-28 16:58:34 -04:00
Ozzie Gooen
94d4a38540
Refactored errors for XYShape
2022-04-28 16:49:51 -04:00
Sam Nolan
e499c1a887
Add tests for deeply nested and records
2022-04-28 20:16:31 +00:00
Ozzie Gooen
95a4bac49b
Added NaN to test to make sure its caught
2022-04-28 15:01:57 -04:00
Ozzie Gooen
5dd0292b52
Added tests for XYShape validator
2022-04-28 14:52:44 -04:00
Ozzie Gooen
1cca9bde38
Merged with develop
2022-04-28 12:49:33 -04:00
Ozzie Gooen
e1551cb1d7
Merge pull request #409 from quantified-uncertainty/splidcontinuousDiscrete-refactor
...
Refactor of splitContinuousAndDiscrete to allow for customization
2022-04-28 11:41:06 -04:00
Ozzie Gooen
b0bfe0f748
Fixed tests
2022-04-28 08:14:07 -04:00
Ozzie Gooen
2eec389b55
Added docstrings and cleanup
2022-04-28 07:56:23 -04:00
Ozzie Gooen
335d0b5d04
Cleaned tests
2022-04-28 07:36:53 -04:00
Ozzie Gooen
5025f2d55f
Refactor of splitContinuousAndDiscrete to allow for more customization
2022-04-27 18:34:37 -04:00
Umur Ozkul
7b052ee3c3
format
2022-04-27 22:24:06 +02:00
Umur Ozkul
d33f430073
Merge branch 'Umur-develop' into Umur-reducer-dev
2022-04-27 22:08:35 +02:00
Umur Ozkul
54f8b10a95
Reducer: Environment (Give environement to all function dispatches) - closes #169
2022-04-27 22:00:42 +02:00
Quinn Dougherty
7b87f64658
Issue 325
...
Value: [1e-3 to 3e-2]
2022-04-27 13:59:33 -04:00
Quinn Dougherty
a5c4cba2f0
Updated tests
...
Value: [1e-4 to 8e-3]
2022-04-27 12:54:42 -04:00
Quinn Dougherty
b8a2ecc7f0
Merge remote-tracking branch 'origin/develop' into normalize-improvements
2022-04-27 12:38:08 -04:00
Sam Nolan
350e420884
Add isNormalized to Continuous
2022-04-26 13:25:45 -04:00
Sam Nolan
e47deb8433
Translate pmf to pdf for kde
2022-04-26 12:22:31 -04:00
Ozzie Gooen
0b42604ea7
First attempt at fixing tests
2022-04-26 11:59:07 -04:00
Ozzie Gooen
d84420b1ff
Merge branch 'develop' into normalize-improvements
...
* develop:
hotfix: codecov stuff in `.npmignore`
Rename flip argument to be more descriptive
Fix pointwise not commuting for subtraction
Fix missing paramater in test
Rename AlgebraicShapeCombination test case
Fixed package versions in `website/package.json`
Refactor and rename checkOrdered
Moved dependencies to devDependencies; updated versions
rm react-codejar
Mistake in #371
Fix build issues in components
Move dependencies to devDependencies
Ensure xyShape is ordered by x coordinates when multiplying by negatives
⬆️ Bump @types/node from 17.0.25 to 17.0.26
⬆️ Bump antd from 4.19.5 to 4.20.0
Turned error into actual error
Show correct errors early on when log(distribution) has bad arguments
Fix subtraction not commuting under pointsets
2022-04-25 21:59:45 -04:00
Ozzie Gooen
2c1aff25d3
Added basic functins to SampleSetDist
2022-04-25 21:46:40 -04:00
Ozzie Gooen
dc127a884a
Merge pull request #359 from quantified-uncertainty/log-inputs-errors
...
Show correct errors early on when log(distribution) has bad arguments
2022-04-25 20:50:26 -04:00
Sam Nolan
6bfecf2204
Rename flip argument to be more descriptive
2022-04-25 15:55:25 -04:00
Sam Nolan
62653d55b4
Fix pointwise not commuting for subtraction
2022-04-25 15:46:56 -04:00
Sam Nolan
aa192883e2
Fix missing paramater in test
...
Value: [0.001 to 0.01]
2022-04-25 15:18:18 -04:00
Sam Nolan
f58def8585
Rename AlgebraicShapeCombination test case
2022-04-25 14:52:52 -04:00
Sam Nolan
f9c02ba626
Refactor and rename checkOrdered
2022-04-25 14:50:45 -04:00
Sam Nolan
d7151907d3
Ensure xyShape is ordered by x coordinates when multiplying by negatives
...
Value: [0.00001 to 0.0005]
2022-04-25 11:44:50 -04:00
Umur Ozkul
d00834bbe0
fix spelling - PR#366
2022-04-25 17:42:21 +02:00
Umur Ozkul
ac8827da28
ternary with bindings (failed)
2022-04-25 17:15:28 +02:00
Umur Ozkul
cbc2b73b20
Evaluate ternary operator (tested)
2022-04-25 16:19:56 +02:00
Umur Ozkul
c810c4576d
reducer semantics ternary (tested)
2022-04-25 15:30:27 +02:00
Umur Ozkul
4d801c0b10
ternary operator mathjs parse (tested)
2022-04-25 15:11:50 +02:00
Umur Ozkul
c7be293466
remove duplicate debug test case
2022-04-25 09:57:14 +02:00
Umur Ozkul
8d92941736
Merge branch 'develop' into Umur-reducer-dev
2022-04-25 09:28:53 +02:00
Umur Ozkul
e3ef08839f
Function definition evaluated
2022-04-25 02:48:49 +02:00
Umur Ozkul
fe4e355fbe
format
2022-04-24 18:42:54 +02:00
Ozzie Gooen
5563a5dc40
Prettier
2022-04-23 19:18:02 -04:00
Ozzie Gooen
217361b843
Tried to fix tests of math issues
2022-04-23 19:07:32 -04:00
Ozzie Gooen
51e2cf167c
Turned error into actual error
2022-04-23 18:07:26 -04:00
Ozzie Gooen
1102ceb4ec
Show correct errors early on when log(distribution) has bad arguments
2022-04-23 17:51:41 -04:00
Sam Nolan
ee6551a694
Prevent negative standard deviation in symbolic multiplication
...
Introduced in #242
2022-04-23 16:57:06 -04:00
Umur Ozkul
88b6d49ad3
function definition parse (tested)
2022-04-23 21:13:43 +02:00
Sam Nolan
dfd2f83c9d
Merge pull request #345 from quantified-uncertainty/invalid-ops
...
Change NaN operations to results
2022-04-23 14:51:50 -04:00
Sam Nolan
4544268429
Clean up means testing to remove some duplication
2022-04-23 14:25:08 -04:00
Sam Nolan
c7e601e15b
Remove NaN from pointwise operations
2022-04-23 14:09:06 -04:00