Commit e2cf0c8
authored
Complete re-write of rectangular binnings to use ranges (#246)
* allow bin width to be given to fixed rect bin directly
* remove incorrect edge application of nextfloat for given edge
* better doc for fixed rect bin
* better docuemnt and clarify bins
* compelte rewrite of binnings based on ranges
* make compilable
* super simple outcome space
* move deprecations to their appropriate file
* more clear docs for rect bin
* move deprecations to file
* allow geting FRB from RB
* use `nextfloat` to ensure promise
* increase performance of inprecise version
* correct extraction of length of range
* re-write tests
* more clarity in tests
* fix diversityy
* remove `transferoperatorencoder` in favor of `RectangularBinEncoding`
* add catesian bin index internal function
* actually call the function
* fix diversity: given bins + 1 to the range
* allow dispatch to encoding
* fix incorrect definition of outcome_space in TrOp
* fix some tests of TrOp...
* remove completely unused computations from function in TrOp...
* remove more completely unused codfe from TrOp...
* remove more unused code and comments
* ensre ranges are large enough to cover data in fixed witdth
* add changelog entry1 parent f0b6bc3 commit e2cf0c8
File tree
10 files changed
+304
-203
lines changed- src
- encoding_implementations
- probabilities_estimators
- transfer_operator
- test/probabilities/estimators
10 files changed
+304
-203
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
1 | 14 | | |
2 | 15 | | |
3 | 16 | | |
| |||
0 commit comments