Ozzie Gooen
7e2437bfc0
Prettier
2022-05-20 22:54:15 -04:00
Ozzie Gooen
390ac2e2bb
Renamed itype->frType, value-> frValue
2022-05-20 22:53:53 -04:00
Ozzie Gooen
c9d6302cbf
Add better error message when wrong arguments passed
2022-05-20 18:05:45 -04:00
Ozzie Gooen
d9cbe37a5a
Added main distributions
2022-05-20 17:36:40 -04:00
Ozzie Gooen
2c0dc75403
Split FunctionRegistry into multiple files
2022-05-19 18:24:56 -04:00
Ozzie Gooen
0b85b12551
Moved matching functionality to dedicated module
2022-05-19 18:17:31 -04:00
Ozzie Gooen
c326d0b229
More cleaning
2022-05-19 18:09:37 -04:00
Ozzie Gooen
4b07226b45
Continuing cleanup of FunctionRegistry
2022-05-19 17:04:31 -04:00
Ozzie Gooen
58f1789cfe
Refactored Normal and Lognormal functions
2022-05-19 15:12:36 -04:00
Ozzie Gooen
50a5ef2498
Touchups for FunctionRegistry distTwo
2022-05-19 09:25:34 -04:00
Ozzie Gooen
80a6c56efc
Merge branch 'develop' into functionRegistry
...
* develop:
⬆️ Bump @types/node from 17.0.33 to 17.0.34
⬆️ Bump @babel/plugin-proposal-private-property-in-object
Cleanup to samplesMap() code
Cleanup and addition of toInternalSampleArray
First simple version of samplesMap
2022-05-18 19:10:44 -04:00
Ozzie Gooen
69d962ce75
Wip, working on allowing distributions in normal
2022-05-18 19:10:34 -04:00
Ozzie Gooen
76bbfb2ef1
Added lognormal fn definitions
2022-05-18 18:42:28 -04:00
Ozzie Gooen
88ae0e25b4
Simple experiment of it working
2022-05-18 18:25:32 -04:00
Ozzie Gooen
b67c90eb06
Cleaned up FunctionRegistry to use Match type
2022-05-18 17:27:36 -04:00
Ozzie Gooen
f7f94cbcb1
First part of cleanup
2022-05-18 16:49:22 -04:00
Ozzie Gooen
c1de95b39a
Added simple registry module
2022-05-18 16:22:11 -04:00
Ozzie Gooen
3085805a4d
Experiment with function registry for normal distribution
2022-05-17 21:16:26 -04:00
Ozzie Gooen
f30de20c8d
Refactored match() code
2022-05-17 20:45:32 -04:00
Ozzie Gooen
e0f4809ad7
Function registry first attempt
2022-05-17 18:54:31 -04:00
Ozzie Gooen
ab88b0d012
Merged with develop
2022-05-16 20:14:29 -04:00
Ozzie Gooen
eafdfdc7b7
Cleanup to samplesMap() code
2022-05-16 20:11:38 -04:00
Quinn Dougherty
9e7319ed57
More substantial CR; more named args
...
Value: [1e-6 to 1e-2]
2022-05-16 18:06:14 -04:00
Quinn Dougherty
1d2bb556de
Minor CR comments
...
Value: [1e-6 to 1e-3]
2022-05-16 15:39:40 -04:00
Quinn Dougherty
81b2c74ac8
klDivergence
with prior
...
Value: [1e-4 to 5e-23]
2022-05-16 13:18:01 -04:00
Quinn Dougherty
d00b82807c
Merge remote-tracking branch 'origin/develop' into score-dist-on-scalar-resolution
2022-05-16 12:06:46 -04:00
Quinn Dougherty
3c3c88fb7b
...Resolution
=> ..Answer
2022-05-16 12:06:21 -04:00
Quinn Dougherty
30ab62e9b8
backed out of mutually recursive dispatch
...
Value: [1e-5 to 1e-3]
2022-05-16 12:03:37 -04:00
Ozzie Gooen
606f24ff24
Cleanup and addition of toInternalSampleArray
2022-05-15 21:34:36 -04:00
Ozzie Gooen
e0f505c8ea
Add logistic distribution
2022-05-15 21:10:13 -04:00
Ozzie Gooen
432e5b9bca
Formatted code
2022-05-15 19:42:43 -04:00
Ozzie Gooen
6156ae65d1
Cleanup
2022-05-15 19:42:10 -04:00
Ozzie Gooen
7216f8079f
First attempt at adding bernoulli
2022-05-15 18:27:25 -04:00
Ozzie Gooen
15965b0b05
First simple version of samplesMap
2022-05-15 17:24:54 -04:00
Ozzie Gooen
4676026aa0
Ran formatter
2022-05-15 10:58:29 -04:00
Ozzie Gooen
47d7ef49cf
Merged with master
2022-05-15 10:54:16 -04:00
Ozzie Gooen
b2b51c8f46
Added sampleN to interface
2022-05-15 10:52:35 -04:00
Quinn Dougherty
8710248a22
Merge remote-tracking branch 'origin/develop' into score-dist-on-scalar-resolution
2022-05-13 16:41:00 -04:00
Sam Nolan
95d0212ffc
Remove redundant defaultEnv
2022-05-13 20:23:41 +00:00
Sam Nolan
80e05ea5be
Pass environment down to GenericDist
2022-05-13 20:16:52 +00:00
Quinn Dougherty
bdbb86aa9e
logScore
on records now interprets almost every which way we're
...
interested in
Value: [1e-3 to 9e-1]
2022-05-13 16:15:04 -04:00
Quinn Dougherty
b4a1137019
Implemented correct math underlying logScoreWithPointResolution
...
Value: [1e-2 to 7e-1]
Realized that I need to switch argument order, put `prior` last maybe.
2022-05-13 15:43:59 -04:00
Quinn Dougherty
3eef57f855
proof of concept for records as arguments
...
Value: [1e-3 to 8e-1]
2022-05-13 13:18:52 -04:00
Quinn Dougherty
2ab395b4e5
Some minor CR
...
Value: [1e-10 to 1e-4]
2022-05-12 16:03:29 -04:00
Quinn Dougherty
65751e590a
Fixed logScoreAgainstImproperPrior
by finding how it was None
...
Value: [1e-4 to 8e-2]
2022-05-12 15:26:51 -04:00
Quinn Dougherty
51310819a1
logScore
now in interface.
...
Value: [1e-4 to 1e-1]
2022-05-12 14:16:52 -04:00
Quinn Dougherty
978e149913
Initialized logScore
and logScoreAgainstImproperPrior
...
Value: [1e-5 to 6e-3]
2022-05-12 13:11:51 -04:00
Quinn Dougherty
eee9a46c37
Improved comment for enrich
...
Value: [1e-9 to 1e-6]
2022-05-12 11:16:51 -04:00
Quinn Dougherty
f5e3701a79
Clean up for CR
...
Value: [1e-7 to 43-4]
2022-05-12 09:51:20 -04:00
Quinn Dougherty
26afc96495
Tests are as good as I can get them
...
Value: [1e-4 to 1e-2]
2022-05-11 15:12:36 -04:00