Ozzie Gooen
516f4fa39d
Added truncate for SampleSet distribution
2022-08-20 17:10:08 -07:00
Ozzie Gooen
90d3f89c0a
Trying to fix things, but breaking a lot of tests.
2022-07-19 21:32:11 -07:00
Umur Ozkul
95d3bf6eaa
merge Reducer
2022-06-23 04:03:50 +02:00
Umur Ozkul
ac9a468aa6
Reducer InternalExpressionValue created
...
this will allow complicated changes to execution without changing the typescript interface
2022-06-23 02:25:54 +02:00
Umur Ozkul
00d7304b4b
format
2022-05-29 17:56:37 +02:00
Umur Ozkul
ac3fa859c0
Replace $$_block__$$ with {}
...
More redable language tests
2022-05-29 17:55:01 +02:00
Ozzie Gooen
faf4718f4d
Merged with develop
2022-05-23 13:49:39 -04:00
Ozzie Gooen
054e379593
Fixed test
2022-05-23 13:47:54 -04:00
Umur Ozkul
feb0284a89
format
2022-05-20 18:20:00 +02:00
Umur Ozkul
870b0c9d4e
hidden macros
2022-05-20 17:05:53 +02:00
Ozzie Gooen
e0f505c8ea
Add logistic distribution
2022-05-15 21:10:13 -04:00
Ozzie Gooen
6156ae65d1
Cleanup
2022-05-15 19:42:10 -04:00
Sam Nolan
930c2d2b67
Add Gamma distribution
2022-05-04 15:53:41 +00:00
Umur Ozkul
6796db82b4
note weird distribution test
2022-05-02 11:44:09 +02:00
Umur Ozkul
992dd92d9b
merge develop
2022-04-29 19:10:40 +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
Ozzie Gooen
b0bfe0f748
Fixed tests
2022-04-28 08:14:07 -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
62653d55b4
Fix pointwise not commuting for subtraction
2022-04-25 15:46:56 -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
Sam Nolan
c7e601e15b
Remove NaN from pointwise operations
2022-04-23 14:09:06 -04:00
Sam Nolan
ad593e659b
Move error types to types modules
2022-04-23 09:56:47 -04:00
Sam Nolan
79af95ed78
Remove unneeded prefix to error
2022-04-23 09:47:48 -04:00
Sam Nolan
508f673873
Change NaN operations to results
...
- Also deleting old GenericDist_Types
- Also removing some string errors
2022-04-22 16:27:17 -04:00
Sam Nolan
2845bd3e39
Use a more conservative convolution policy
2022-04-22 12:43:18 -04:00
c15412642a
fix: Failing tests
2022-04-15 13:01:49 -04:00
9910afd74b
fix: Failing tests
...
The tests were wrong, not the code. Feels like it should be
the other way around
2022-04-14 16:52:36 -04:00
6d82adca25
Merge branch 'develop' into audit-2022-04-14-SymbolicDist.res
2022-04-14 16:50:37 -04:00
aad6a9c603
fix: Bad tests
...
These tests are failing because I increased the precision of a magic
constant.
This might be a signal that these are bad tests
2022-04-14 16:35:24 -04:00
Sam Nolan
948a8dd651
Add analytic solutions for normal and lognormal
2022-04-13 15:11:14 +10:00
Sam Nolan
348b1c9ac6
Add normal distribution analytical simplifications
2022-04-13 14:36:30 +10:00
Sam Nolan
117c08bfa9
Fix unweighted average of distributions
2022-04-13 12:03:04 +10:00
Quinn Dougherty
4f95c019eb
yarn format
2022-04-12 20:22:19 -04:00
Ozzie Gooen
937a8482fd
Added sparkline and toString to ReducerInterface
2022-04-08 09:08:49 -04:00
Ozzie Gooen
e4f563fa08
Added unary minus function support to distributions, cleaned tests
2022-04-02 17:06:57 -04:00
Ozzie Gooen
06285dbdc1
Additional testing for GenericDist-Reducer interface, plus getting log, exp to work with 1 param
2022-04-02 16:25:41 -04:00
Ozzie Gooen
46af9233a1
Fixed tests to use pointwiseAdd instead of .add
2022-04-02 11:06:09 -04:00
Ozzie Gooen
688cf0b19e
Changes in response to CR
2022-04-02 11:01:53 -04:00
Ozzie Gooen
e7c2a7db01
Light cleanup of ReducerInterface_GenericDistribution
2022-04-01 15:41:11 -04:00
Ozzie Gooen
18d742b63c
Added symbolic functions and tests for reducer interface distribution code
2022-04-01 13:21:24 -04:00
Umur Ozkul
17ca080ebb
PR#107 show -> toString
2022-03-30 12:53:36 +02:00
Umur Ozkul
aff9a60d49
fix module name in __tests__
2022-03-29 15:18:56 +02:00