Commit Graph

51 Commits

Author SHA1 Message Date
Ozzie Gooen
e8b8b6cd80
Merge pull request #425 from quantified-uncertainty/scalePower
Scale power
2022-04-30 11:55:28 -04:00
Ozzie Gooen
3249f69155 Small cleanup to fromSamples 2022-04-29 21:41:09 -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
Ozzie Gooen
900aeeae29 Expose integralSum to Squiggle 2022-04-28 21:31:15 -04:00
Ozzie Gooen
282fa7726b Added scalePower and scaleLog 2022-04-28 21:14:03 -04:00
Quinn Dougherty
7b87f64658 Issue 325
Value: [1e-3 to 3e-2]
2022-04-27 13:59:33 -04:00
Quinn Dougherty
c53e56e773 The proper issue326 (again)
Value: [1 to 3.6]
2022-04-26 16:06:51 -04: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
7e8c16b923 Rename Other to OtherError 2022-04-23 14:13:38 -04:00
Sam Nolan
c7e601e15b Remove NaN from pointwise operations 2022-04-23 14:09:06 -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
ad8be5273f Merge branch 'develop' into reducer-dev 2022-04-22 11:04:43 -04:00
Umur Ozkul
2c5c5095b8 moved externalBindings to ReducerInterface 2022-04-22 04:51:31 +02:00
Sam Nolan
e1bf47b6b3 Remove old parser and warning 27 2022-04-21 18:09:06 -04:00
Umur Ozkul
f272568b97 Merge branch 'develop' into reducer-dev
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.res
2022-04-21 18:20:54 +02:00
Quinn
cbd93b7e79
back out of double Ok 2022-04-20 11:50:08 -04:00
Quinn
5875880c06
nested Ok because cauchy requires no input validation 2022-04-20 11:44:33 -04:00
Quinn
0540fef63a
Update ReducerInterface_GenericDistribution.res 2022-04-20 11:39:00 -04:00
Quinn
017cbe7274
hotfix: cauchy in binary dist constructors 2022-04-20 11:22:10 -04:00
Umur Ozkul
da37536b4b Merge branch 'develop' into reducer-dev 2022-04-17 20:38:20 +02:00
Umur Ozkul
e2015e1098 Outer and Partial: test helpers defined 2022-04-17 20:07:21 +02:00
Ozzie Gooen
2ed7d03005 Added formatting 2022-04-15 14:10:17 -04:00
Ozzie Gooen
73b950078d Added isNormalized function, for testing 2022-04-15 13:58:00 -04:00
Umur Ozkul
1fa1867470 Merge branch 'develop' into reducer-dev 2022-04-14 17:04:54 +02:00
Umur Ozkul
35f7077248 remove unused code 2022-04-14 17:02:01 +02:00
Quinn Dougherty
b0ff2c19f5 yarn format 2022-04-13 19:18:08 -04:00
Sam Nolan
117c08bfa9 Fix unweighted average of distributions 2022-04-13 12:03:04 +10:00
Sam Nolan
38135f0c81 Merge branch 'develop' into mix-distributions 2022-04-13 11:22:43 +10:00
Umur Ozkul
9c7f930549 Merge branch 'develop' into reducer-dev
packages/squiggle-lang/src/rescript/Reducer/Reducer_Expression/Reducer_Expression.resi
2022-04-12 15:46:48 +02:00
Sam Nolan
f102d70d80 Add mixture alias 2022-04-12 17:45:44 +10:00
Sam Nolan
60a345dd6d Implement mx for distributions 2022-04-12 17:39:38 +10:00
Umur Ozkul
87116d12d5 reformat 2022-04-11 16:51:15 +02:00
Umur Ozkul
3a8e6a8f60 Merge branch 'staging' into reducer-dev 2022-04-11 16:42:37 +02:00
Umur Ozkul
660c0c70ae variables and statements
format only reducer

reformat lint

multi-line test

spelling

multi-line semantic mapping

todo multi-line eval

multi-line tests todo

change context to bindings

simplify tests

rename exception test methods

bindings is an expression value

make bindings callable

reformat

Emphasize the nature of Lisp AST

Initial definition of macros

make functions private

fixed functionNode type casting

macro call skeleton

sort ReducerInterface

fix test

macros skeleton

bindings is not a value

assignment semantics

let semantics defined

format

reformat

reformat

TODO function calls and list hd variables are confused

reformat

tmp

works

reformat

reformat

add test

reformat

add test
2022-04-11 16:31:10 +02:00
Sam Nolan
61b589d0bd Change typescript interface to reducer 2022-04-11 13:16:31 +10:00
Ozzie Gooen
9430653b7a Namechange: Exponential -> Power 2022-04-09 12:37:26 -04:00
Ozzie Gooen
937a8482fd Added sparkline and toString to ReducerInterface 2022-04-08 09:08:49 -04:00
Umur Ozkul
1d550353c9 Merge branch 'staging' into reducer-dev 2022-04-08 11:09:46 +02:00
Umur Ozkul
a5bb390370 reformat 2022-04-05 20:56:20 +02:00
Ozzie Gooen
60b760f0cd Naming refactor of key rescript directories 2022-04-04 11:59:14 -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
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
Ozzie Gooen
28eba9fa74 EvDist -> EvDistribution 2022-03-31 20:28:48 -04:00
Ozzie Gooen
47a574ba8a Added GenericDistribution Reducer Interface 2022-03-31 20:24:59 -04:00
Ozzie Gooen
5ece2994ba Full attempt at getting genericDist into Reducer External Lib 2022-03-31 19:58:08 -04:00
Quinn Dougherty
cd231cb917 added 'add' over EvDist, EvDist 2022-03-31 16:44:52 -04:00
Umur Ozkul
17ca080ebb PR#107 show -> toString 2022-03-30 12:53:36 +02:00