Commit Graph

10 Commits

Author SHA1 Message Date
Ozzie Gooen
366523ce80 Pulled out Continuous to its own file 2020-07-08 17:00:13 +01:00
Sebastian Kosch
ca9f725ae7 Remove Leaf and Operation wrapper types 2020-07-03 14:55:27 -07:00
Ozzie Gooen
41eca03618 Set up new expressionTree directory 2020-07-02 18:12:03 +01:00
Ozzie Gooen
101824e500 Minor renames, and moved attemptAlgebraicOperation to SymbolicDist 2020-07-02 12:14:16 +01:00
Sebastian Kosch
bd528571af Working on code reorganization, doesn't compile yet 2020-06-25 23:38:14 -07:00
Sebastian Kosch
f6c1918b12 Big refactor towards proper distTree, still slow and untested 2020-06-12 23:30:51 -07:00
433780186b Fixed formatting from the previous commit. The previous commit fixed a bug where the distribution would be sent to foretold inverted 2020-05-26 16:40:02 +02:00
96645334be Fixed a bug where the distribution would be shown inverted 2020-05-26 16:35:57 +02:00
23952af460 + Added the ability to change the upper and lower boundaries.
+ Made the drawings relative to the canvas, not to the screen.
- Removed the mean line, as it didn't play nice with the ability to change upper and lower boundaries.
2020-05-06 00:15:51 +02:00
ff5b26d865 Adds a distribution drawer to widedomain.
Things to note:
- The code has comments. I feel protective of these comments, and feel that they help structure the code and will help me out when I come I come back to this code a couple of weeks or months from now.
- Originally based on code by Evan Ward (probability.dev). See also: observablehq.com/@nunosempere/distribution-drawer

To do, in order of importance:
- Add the ability to change the upper and lower boundaries.
- Make the drawings relative to the canvas, not to the screen.
- Add other features from probability.dev

Cool things yet to be done:
- Make it so that one can input a guesstimate function, and then draw on it. To do this, use the Convert.xyShapeToCanvasShape and modify the Draw.initial distribution function slightly.
- Maybe reach out to Metaculus to see if they want to use this somewhere?
2020-05-05 12:52:50 +02:00