Commit Graph

160 Commits

Author SHA1 Message Date
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
Ozzie Gooen
0d4c71190d Upgraded bucklescript 2020-04-30 13:30:52 +01:00
Ozzie Gooen
77c9ce09be Added standard deviation 2020-04-20 17:31:42 +01:00
Ozzie Gooen
63be03e1ab Minor tweaks 2020-04-20 17:29:37 +01:00
Ozzie Gooen
ad42a1d404
Merge pull request #31 from NunoSempere/opinionatedQualityOfLife
Makes four opinionated changes which improve my user experience:
2020-04-20 17:18:00 +01:00
96fcaa32b2 Makes four opinionated changes which improve my user experience:
- Makes the distributions bigger, much bigger, so that I can better see them.
- To do that, and to be able to see the input string at the same time I destroys the cdf.
    - My brain wasn't really made for interpreting cdfs, and I can switch to the cdf view if I want.
- Changes the distribution color to a bright, happy and shiny blue, so that I can better see them.
- Adds a standard distribution with more personality.
2020-04-19 22:32:24 +02:00
Ozzie Gooen
f247f65478 Minor cleanup of mean and variance 2020-04-19 21:04:50 +01:00
Ozzie Gooen
747e3a6706 Fixed bug that would not truncate correctly 2020-04-19 17:44:53 +01:00
Ozzie Gooen
82595ae167 Cleanup to return more from DistPlusRenderer 2020-04-05 12:00:25 +01:00
Ozzie Gooen
990f01b8d6 Reorganization of files 2020-04-05 07:36:14 +01:00
Ozzie Gooen
e84cfd4c92 Adding render options and params 2020-04-04 21:37:58 +01:00
Ozzie Gooen
db78bc07f3 Fixes of multimodals 2020-04-03 21:53:23 +01:00
Ozzie Gooen
bc39ce9c67 Very simple functionality with multimodals 2020-04-01 14:52:13 +01:00
Ozzie Gooen
54eab1f204 Change order of continuous distribution make command 2020-03-28 21:46:17 +00:00
Ozzie Gooen
786ee1fded Minor changes of optionals in distributions 2020-03-28 21:29:02 +00:00
Ozzie Gooen
e17e2aca2e Added additional distributions 2020-03-26 16:01:52 +00:00
Ozzie Gooen
f7e3643a1e Minor fixes 2020-03-25 15:12:39 +00:00
Ozzie Gooen
dceea9c6b5 Minor refactor 2020-03-24 17:48:46 +00:00
Ozzie Gooen
64eef2b169 Added DistBuilder3 2020-03-24 00:04:48 +00:00
Ozzie Gooen
f662ccd6c6 First full-through with symbolic parsing 2020-03-23 21:31:06 +00:00
Ozzie Gooen
0e0f0221e9 Dist-builder-2-adjustments 2020-03-21 10:49:26 +00:00
Ozzie Gooen
831d1345c5 Minor enhancements 2020-03-20 11:07:27 +00:00
Ozzie Gooen
49b78ae814 Added smarter truncator 2020-03-18 20:50:01 +00:00
Ozzie Gooen
2c83c68d95 Performance gains and added back mixtures 2020-03-17 18:38:16 +00:00
Ozzie Gooen
c682fff280 Minor changes, but seemed to break percentiles 2020-03-16 16:59:58 +00:00
Ozzie Gooen
80d040e138 Messing with possible distribution split 2020-03-16 10:41:44 +00:00
Ozzie Gooen
b4b9f2cc9f Start of refactor to directly tie to pdfast 2020-03-15 00:08:13 +00:00
Ozzie Gooen
88d54d4de9 Started to improve GuesstimatorLibrary, had issues 2020-03-14 22:05:34 +00:00
Ozzie Gooen
a99415e5bc Added native logScoring and related functionality to XYShape 2020-03-14 21:18:34 +00:00
Ozzie Gooen
f887af22ea Add simple percentiles to distribution shower 2020-03-14 18:33:39 +00:00
Roman Galochkin
28fbbc2f20 Weird 2020-03-04 16:44:09 +03:00
Roman Galochkin
825f5e19b2 X-log 2020-03-04 15:06:27 +03:00
Roman Galochkin
e77b1c2e60 Renames class and react function 2020-03-04 14:36:44 +03:00
Roman Galochkin
a480995139 Fixes edges 2020-03-04 14:35:25 +03:00
Roman Galochkin
de62bb828f Fixes hovering 2020-03-04 13:56:32 +03:00
Roman Galochkin
6a2a3848a8 Merge remote-tracking branch 'origin/master' into feature/1101 2020-03-04 13:28:16 +03:00
Roman Galochkin
b171b0af46 Fixes names of options 2020-03-04 13:24:51 +03:00
Ozzie Gooen
f0f76ff96e Minor changes 2020-03-04 10:19:37 +00:00
Roman Galochkin
caaff9d802 Fixes a part of issues 2020-03-04 12:55:01 +03:00
Roman Galochkin
5bdb229b56 Uses strings instead of floats/ints 2020-03-04 10:50:11 +03:00
Roman Galochkin
de25eef2f6 Fixes code style 2020-03-04 09:11:23 +03:00
Ozzie Gooen
f45b4b763a Added ability to add-remove dists 2020-03-03 21:30:33 +00:00
Ozzie Gooen
bdeb53a6c4 Initial buttons 2020-03-03 19:25:06 +00:00
Ozzie Gooen
4735b9703c Simple d3 fixes 2020-03-03 15:49:05 +00:00
Ozzie Gooen
5a11ebfb03 Added experimental distribution-modification buttons 2020-03-03 14:29:02 +00:00
Roman Galochkin
6b256bb76e Fixes comments 2020-03-03 15:58:53 +03:00
Roman Galochkin
5354d5be02 Fixes inputs 2020-03-03 15:49:19 +03:00