Skip to content

Commit 3316dba

Browse files
authored
Release 0.9.3
Release 0.9.3
2 parents dbcfd89 + 038bc41 commit 3316dba

27 files changed

+4524
-217
lines changed

.binder/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bleach==6.1.0
3333
# via nbconvert
3434
bottleneck==1.3.8
3535
# via scores (pyproject.toml)
36-
certifi==2024.2.2
36+
certifi==2024.7.4
3737
# via
3838
# httpcore
3939
# httpx

.github/workflows/python-app.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,12 @@ jobs:
4141
with:
4242
flag-name: run-${{ join(matrix.*, '-') }}
4343
parallel: true
44+
finish:
45+
needs: build
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Indicate Coveralls Parallel Finished
49+
uses: coverallsapp/[email protected]
50+
with:
51+
parallel-finished: true
4452

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ authors:
3232
- given-names: John
3333
family-names: Sharples
3434

35-
title: "scores: A Python package for verifying and evaluating models and predictions with xarray and pandas"
35+
title: "scores: A Python package for verifying and evaluating models and predictions with xarray"
3636

3737
preferred-citation:
3838
type: article
3939
doi: "10.48550/arXiv.2406.07817"
4040
journal: "arXiv"
41-
title: "scores: A Python package for verifying and evaluating models and predictions with xarray and pandas"
41+
title: "scores: A Python package for verifying and evaluating models and predictions with xarray"
4242
authors:
4343
- given-names: Tennessee
4444
family-names: Leeuwenburg
@@ -70,4 +70,4 @@ preferred-citation:
7070
family-names: Griffiths
7171
- given-names: John
7272
family-names: Sharples
73-
year: 2024
73+
year: 2024

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,5 @@ If you use `scores` for a published work, we would appreciate you citing our arX
7575

7676
Leeuwenburg, T., Loveday, N., Ebert, E. E., Cook, H., Khanarmuei, M., Taggart, R. J., Ramanathan, N.,
7777
Carroll, M., Chong, S., Griffiths, A., & Sharples, J. (2024). *scores: A Python package for verifying and
78-
evaluating models and predictions with xarray and pandas*. arXiv. [https://doi.org/10.48550/arXiv.2406.07817](https://doi.org/10.48550/arXiv.2406.07817)
78+
evaluating models and predictions with xarray*. arXiv. [https://doi.org/10.48550/arXiv.2406.07817](https://doi.org/10.48550/arXiv.2406.07817)
7979

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
.. autofunction:: scores.continuous.murphy_thetas
2121
.. autofunction:: scores.continuous.flip_flop_index
2222
.. autofunction:: scores.continuous.flip_flop_index_proportion_exceeding
23-
.. autofunction:: scores.continuous.correlation
23+
.. autofunction:: scores.continuous.correlation.pearsonr
2424
.. autofunction:: scores.continuous.multiplicative_bias
2525
.. autofunction:: scores.continuous.isotonic_fit
2626
.. autofunction:: scores.continuous.consistent_expectile_score

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
project = "scores"
1111
copyright = "Licensed under Apache 2.0 - https://www.apache.org/licenses/LICENSE-2.0"
12-
release = "0.9.2"
12+
release = "0.9.3"
1313

1414
version = __version__
1515

docs/included.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
-
9595
[Ehm et al. (2016) - Corollary 2 (p.521)](https://doi.org/10.1111/rssb.12154); [Taggart (2022) - Corollary 5.6](https://doi.org/10.1214/21-ejs1957)
9696
* - Pearson's Correlation Coefficient
97-
- [API](api.md#scores.continuous.correlation)
97+
- [API](api.md#scores.continuous.correlation.pearsonr)
9898
- [Tutorial](project:./tutorials/Pearsons_Correlation.md)
9999
- [Wikipedia](https://en.wikipedia.org/wiki/Pearson_correlation_coefficient)
100100
* - Pinball Loss, *see Quantile Loss*

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ data
2121
tutorials/Tutorial_Gallery
2222
related_works
2323
maintainer
24+
release_notes
2425
```

docs/installation.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Detailed Installation Guide
22

3-
This page describes the most common installation options for `scores`. Expert users of pip and conda will note that there are more variations possible.
3+
## Overview
4+
5+
This page describes:
6+
7+
- Setting up a virtual environment.
8+
- The most common installation options for `scores`. (Expert users of pip and conda will note that more variations are possible).
9+
- An advanced installation option for Jupyter Notebook, for users who wish to separate the Jupyter environment and the `scores` execution environment.
410

511
## Setting up a Virtual Environment
612

@@ -70,7 +76,7 @@ Use this for running tutorials using `scores`, but when you don't need or want d
7076

7177
Installs:
7278
* Mathematical API functions and libraries
73-
* Jupyter Lab, Plotly, and libraries for reading data, so that the tutorial notebooks can be run
79+
* JupyterLab, Plotly, and libraries for reading data, so that the tutorial notebooks can be run
7480

7581
#### From a Local Git Repository
7682

@@ -92,4 +98,20 @@ Installs:
9298
pip install -e .[maintainer]
9399
```
94100

101+
## Jupyter Notebook - Advanced Installation Option
102+
103+
The `scores` "all" and "tutorial" installation options include the JupyterLab software, which can be used to run the tutorials and/or execute `scores` code within a Jupyter environment.
104+
105+
Some users may wish to separate the Jupyter environment and the `scores` execution environment. One way to achieve this is by creating a new `scores` virtual environment (using one of the [above options](#setting-up-a-virtual-environment)) and registering it as a new kernel within the Jupyter environment. You can then run the tutorials and/or execute `scores` code within the kernel. Registering the kernel can be done as follows:
106+
107+
1. Determine the "prefix" of the Jupyter environment.
108+
2. Choose a name to use for a new kernel.
109+
3. Activate the `scores` virtual environment which will be used as the kernel.
110+
4. Execute the registration command.
111+
112+
A sample command to register a new kernel is:
113+
114+
`python -m ipykernel install --user --prefix=<path-to-server-environment> --name=<pick-any-name-here>`
115+
116+
[https://jupyter-tutorial.readthedocs.io/en/24.1.0/kernels/install.html](https://jupyter-tutorial.readthedocs.io/en/24.1.0/kernels/install.html) provides additional technical details regarding the registration of kernels.
95117

docs/key_features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
- Easy to integrate and use in a wide variety of environments. It has been used on workstations, servers and in high performance computing (supercomputing) environments.
2626
- Maintains 100% automated test coverage.
2727
- Uses [Dask](http://dask.pydata.org) for scaling and performance.
28-
- Expanding support for [pandas](https://pandas.pydata.org/).
28+
- [Some metrics](included.md#pandas) work with [pandas](https://pandas.pydata.org/) and we aim to expand this capability.

0 commit comments

Comments
 (0)