Ozzie Gooen
78e9e48626
Moved env to GenericDist, and used it
2022-07-13 09:37:39 -07:00
Quinn Dougherty
20114d9a84
Made new test call polymorphic constructor #ToFloat
2022-07-11 14:23:58 -04:00
Quinn Dougherty
d682f28faf
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-07-11 14:20:00 -04:00
Quinn Dougherty
7889332052
polymorphic variants to neatly constrain types
2022-07-04 11:24:30 -04:00
Quinn Dougherty
9dcac8dd48
fixed \-1\
I had forgotten; added basic mean tests
2022-06-30 12:20:50 -04:00
Quinn Dougherty
acb0d3b9ee
removed \TwoScalars\
material
2022-06-26 12:28:04 -04:00
Quinn Dougherty
b74b83a2cb
Merge remote-tracking branch 'origin/develop' into scoring-cleanup-three
2022-06-23 11:34:03 -04:00
Sam Nolan
2b8545ad04
Fix 1 + distribution having reverse ordered points
...
Fixes #595
2022-06-23 03:40:40 +00:00
Quinn Dougherty
d80ea676c5
fixed tests after pair; error'd out mixed case
2022-06-21 12:23:58 -04:00
93f5b4ba2a
feat: Fix remaining scoring errors with Quinn
...
Value::0.3 to 0.9
2022-06-20 16:39:48 -04:00
4b1c226173
fix: PointSetDist_Scoring.WithScalarAnswer.scoreWithPrior
...
Done in pair coding with Quinn.
Value::[0.3 to 0.9]
2022-06-20 16:14:41 -04:00
Quinn Dougherty
cbaf4c150d
one CR comment; chasing kldivergence on mixeds bug
...
Value: [1e-10 to 1e-3]
2022-05-25 13:10:31 -04:00
Quinn Dougherty
249f58d3d8
Slightly baffled why klDivergence : mixed x mixed -> float
is busted.
...
Value: [1e-4 to 3e-2]
hypothesis: I need to reintroduce `combineAlongSupportOfSecondArgument`
2022-05-25 10:39:30 -04:00
Quinn Dougherty
f2460a5e12
It compiles
...
Value: [1e-3 to 4e-1]
2022-05-25 08:22:57 -04:00
Quinn Dougherty
12c0959f38
factored mixture construction into function
...
Value: [1e-6 to 1e-4]
2022-05-12 11:14:59 -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
e1e5e3305d
Gained precision
...
Value: [1e-3 to 2e-2]
2022-05-11 15:46:57 -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
Quinn Dougherty
95fe117ef0
Factored continuous part of normal and uniform kldivergence into it's
...
own function
Value: [1e-4 to 1e-3]
2022-05-11 14:19:45 -04:00
4df4597ed3
fix: "Enrich" (add more x points) when integrating
...
in order to get more numerical precision.
Note: not complete yet.
Value: [1e-3 to 3e-1]
2022-05-11 12:23:36 -04:00
Quinn Dougherty
0b8da034c6
klDivergence
on mixed distributions works for one test case
...
Value: [1e-4 to 5e-2]
2022-05-10 19:59:50 -04:00
Quinn Dougherty
29c1956e88
Response to CR
...
Value: [1e-6 to 1e-4]
2022-05-10 14:03:42 -04:00
Quinn Dougherty
f7690c33e0
Some cleanup
...
Value: [1e-4 to 1e-2]
2022-05-10 11:56:13 -04:00
Quinn Dougherty
15f1ebb429
KLDivergence on discretes is passing
...
Value: [1e-3 to 2e-1]
2022-05-10 11:27:59 -04:00
Quinn Dougherty
ccd55ef8f1
good evening, not working yet, but out of time for the night
...
Value: [1e-6 to 1e-4]
2022-05-09 19:17:27 -04:00
Quinn Dougherty
b2d80eef86
Removed negative infinity error handling
...
Value: [1e-5 to 1e-3]
2022-05-09 18:28:35 -04:00
Quinn Dougherty
06352357a2
response to CR
...
Value: [1e-5 to 5e-3]
2022-05-09 11:14:33 -04:00
Quinn Dougherty
28cb6b9c88
Final cleanup, but typescript is still borked
...
Value: [1e-8 to 1e-6]
2022-05-06 15:09:00 -04:00
Quinn Dougherty
bcf620337a
Some Cleanup
...
Btw, Nuño gets a lot of credit for the last commit!
Value: [1e-2 to 8e-2]
2022-05-06 14:21:53 -04:00
Quinn Dougherty
722bfc6366
All three tests pass
...
- `uniform` `toPointSet` method has been changed for numerical
stability.
Value: [1e-1 to 1.75e0]
2022-05-06 13:58:15 -04:00
d9a40c973a
feat: Get KL divergence working except in case of numerical errors ()
...
- Quinn was of great help here.
- I also left some dead code, which still has to be cleaned up
- There are still very annoying numerical errors, so I left one test
failing. These are due to how the interpolation is done
- Quinn to pick up from here
Value: [0.6 to 2]
2022-05-06 12:26:51 -04:00
5dd272fb0c
tweak: Add tests for combineAlongSupportOfSecondArgument
2022-05-06 11:45:11 -04:00
Quinn Dougherty
dcf56d7bc6
combineAlongSupportOfSecondArgument
implemented, tests still failing
...
Value: [1e-4 to 4e-2]
2022-05-05 20:02:12 -04:00
Quinn Dougherty
b49865d3aa
progress on klDivergence (still working)
...
Value: [1e-5 to 1e-2]
2022-05-05 15:37:28 -04:00
Quinn Dougherty
32a881d06a
Call Jstat for mean instead of calculate it
...
Value: [1e-8 to 1e-4]
2022-05-05 10:38:33 -04:00
Quinn Dougherty
dd942fe29e
cleanup; CR
...
Value: [1e-9 to 1e-5]
2022-05-04 18:19:47 -04:00
Quinn Dougherty
3fcc82442d
Completed renaming to KLDivergence
...
Value: [1e-8 to 1e-4]
2022-05-04 12:21:30 -04:00
Quinn Dougherty
0baeedfb46
pointwiseSubtract test; logscale test
...
Value: [1e-5 to 5e-4]
2022-05-04 11:42:51 -04:00
Quinn Dougherty
20adc4e25a
describe and test strings.
2022-05-02 18:40:34 -04:00
Quinn Dougherty
2d84805f88
Added infinity error; fixed infinities in logs
...
Value: [1e-3 to 3e-2]
2022-05-02 17:15:23 -04:00
Quinn Dougherty
db3acbf96c
Added extra multiplicative factor in logScore integrand
...
Value: [8e-2 to 7e-1]
migrated intregrand from `log(predicted / answer)` to `answer *
log(predicted / answer)`
2022-05-02 13:40:34 -04:00
Ozzie Gooen
2eec389b55
Added docstrings and cleanup
2022-04-28 07:56:23 -04:00
Ozzie Gooen
335d0b5d04
Cleaned tests
2022-04-28 07:36:53 -04:00
Ozzie Gooen
5025f2d55f
Refactor of splitContinuousAndDiscrete to allow for more customization
2022-04-27 18:34:37 -04:00
Quinn Dougherty
b8a2ecc7f0
Merge remote-tracking branch 'origin/develop' into normalize-improvements
2022-04-27 12:38:08 -04:00
Sam Nolan
350e420884
Add isNormalized to Continuous
2022-04-26 13:25:45 -04:00
Sam Nolan
e47deb8433
Translate pmf to pdf for kde
2022-04-26 12:22:31 -04:00
Ozzie Gooen
0b42604ea7
First attempt at fixing tests
2022-04-26 11:59:07 -04:00
Ozzie Gooen
d84420b1ff
Merge branch 'develop' into normalize-improvements
...
* develop:
hotfix: codecov stuff in `.npmignore`
Rename flip argument to be more descriptive
Fix pointwise not commuting for subtraction
Fix missing paramater in test
Rename AlgebraicShapeCombination test case
Fixed package versions in `website/package.json`
Refactor and rename checkOrdered
Moved dependencies to devDependencies; updated versions
rm react-codejar
Mistake in #371
Fix build issues in components
Move dependencies to devDependencies
Ensure xyShape is ordered by x coordinates when multiplying by negatives
⬆️ Bump @types/node from 17.0.25 to 17.0.26
⬆️ Bump antd from 4.19.5 to 4.20.0
Turned error into actual error
Show correct errors early on when log(distribution) has bad arguments
Fix subtraction not commuting under pointsets
2022-04-25 21:59:45 -04:00
Ozzie Gooen
2c1aff25d3
Added basic functins to SampleSetDist
2022-04-25 21:46:40 -04:00