8000 Add block bootstrapping by reza-armuei · Pull Request #418 · nci/scores · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add block bootstrapping #418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d7f6d79
Accept circular block bootstrapping code and tests from https://githu…
dougiesquire Jan 22, 2025
08b925d
Add Dougal Squire to .zenodo.json (#812)
dougiesquire Jan 23, 2025
31fefca
Added block_bootstrapping technique
reza-armuei May 23, 2024
99b4621
wip: (TEMPORARY) scaffolding code for block bootstrapping
nikeethr May 29, 2024
d8d5b16
[skip ci][scaffold] expand indices
nikeethr Jun 5, 2024
238d635
[skip ci][wip] bootstrapping python impl
nikeethr Jun 9, 2024
2fff3ae
[skip ci][wip] transpose in wrong spot
nikeethr Jun 9, 2024
33d2f8b
[wip] extra methods, bug fixes, and better documentation for block bo…
nikeethr Jun 9, 2024
5b5cbbd
[wip] linting
nikeethr Jun 9, 2024
f1db0a4
[wip] sample bootstrapping code out of scaffolding
nikeethr Jun 11, 2024
d87e4db
[revert] remove emerging implementation, moved to #522
nikeethr Jun 12, 2024
8c31c60
add nans into block bootstrapping tests
nicholasloveday Jan 29, 2025
43f3b10
improve dask testing
nicholasloveday Jan 29, 2025
2118acf
improve grammar in tutorial and set width of plot
nicholasloveday Jan 29, 2025
f3aebc7
change objects to arrays
nicholasloveday Jan 29, 2025
e6e1a58
update backticks in docstrings
nicholasloveday Jan 29, 2025
97813e6
improve logic of getting max chunk size and dask testing
nicholasloveday Jan 29, 2025
bd1294d
improve error handling
nicholasloveday Jan 29, 2025
cf9bb11
remove break
nicholasloveday Jan 29, 2025
9078c2d
remove variadic args from block bootstrapping
nicholasloveday Jan 30, 2025
2fcd15e
fix included
nicholasloveday Jan 30, 2025
edf7091
updated references
nicholasloveday Jan 30, 2025
4e8fb9a
Update docs/included.md
nicholasloveday Jan 30, 2025
e7301ce
go back to original sizes of bootstrap dimensions impl
nicholasloveday Feb 5, 2025
933b0a3
improve speed of bootstrap tests
nicholasloveday Feb 6, 2025
0f43dcd
rename and mock max batch size constant
nicholasloveday Feb 10, 2025
cd75ce6
renmae bootstrap file
nicholasloveday Feb 10, 2025
8000
38d914f
use monkeypatch instead
nicholasloveday Feb 10, 2025
8893b9c
add raises to docstring
nicholasloveday Feb 10, 2025
40242ab
improve error message
nicholasloveday Feb 10, 2025
87ba2f3
add example
nicholasloveday Feb 10, 2025
eeac8ef
removed potential clash of dim names
nicholasloveday Feb 11, 2025
a0d15be
add dependency into data in the tutorial so that it's not just random…
nicholasloveday Feb 12, 2025
ee696f6
Update tutorials/Block_Bootstrapping.ipynb
tennlee Feb 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
"orcid": "https://orcid.org/0009-0006-7361-163X",
"affiliation": "Independent Contributor, Australia",
"name": "Bluett, Liam"
},
{
"orcid": "https://orcid.org/0000-0003-3271-6874",
"affiliation": "Australian National University, Australia",
"name": "Squire, Dougal T."
}
],
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@

## scores.processing
```{eval-rst}
.. autofunction:: scores.processing.block_bootstrap
.. autofunction:: scores.processing.isotonic_fit
.. autofunction:: scores.processing.broadcast_and_match_nan
.. autofunction:: scores.processing.comparative_discretise
Expand Down
3 changes: 3 additions & 0 deletions docs/included.md
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,9 @@
* - Binary Discretise Proportion
- [API](api.md#scores.processing.binary_discretise_proportion)
- Flip-Flop Index
* - Block Bootstrap
- [API](api.md#scores.processing.block_bootstrap)
- Confidence intervals. See [tutorial](project:./tutorials/Block_Bootstrapping.md)
* - Broadcast and Match Not-a-Number (NaN)
- [API](api.md#scores.processing.broadcast_and_match_nan)
- Murphy Score (Mean Elementary Score)
Expand Down
2 changes: 2 additions & 0 deletions src/scores/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import scores.categorical
import scores.continuous
import scores.emerging
import scores.functions
import scores.pandas
import scores.probability
Expand All @@ -19,6 +20,7 @@
"scores.categorical",
"scores.contingency",
"scores.continuous",
"scores.emerging",
"scores.functions",
"scores.pandas",
"scores.probability",
Expand Down
2 changes: 2 additions & 0 deletions src/scores/processing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Import the functions from the implementations into the public API
"""

from scores.processing.block_bootstrap_impl import block_bootstrap
from scores.processing.discretise import (
binary_discretise,
binary_discretise_proportion,
Expand All @@ -18,4 +19,5 @@
"broadcast_and_match_nan",
"binary_discretise_proportion",
"isotonic_fit",
"block_bootstrap",
]
Loading
0