2.2.0
Release Notes (What's New)
Version 2.2.0 (July 26, 2025)
For a list of all changes in this release, see the full changelog. Below are the changes we think users may wish to be aware of.
Features
- Added a new metric:
- Spearman’s correlation coefficient:
scores.continuous.correlation.spearmanr. See PR #773.
- Spearman’s correlation coefficient:
- Added a new function for generating data for diagrams:
- Quantile-Quantile (QQ) plots:
scores.plotdata.qq. See PR #852.
- Quantile-Quantile (QQ) plots:
- Added new features to the FIxed Risk Multicategorical (FIRM) score (
scores.categorical.firm):- Added support for xr.Datasets in addition to the existing support for xr.DataArrays. See PR #853.
- Added the optional argument
include_components. Ifinclude_componentsis set toTruethe function will return the overforecast and underforecast penalties along with the FIRM score.
See See PR #853 and PR #864.
- Added a new
scores.plotdatasection to the API for functions that generate data for verification plots. See PR #852.
Bug Fixes
- Fixed an issue where
scores.plotdata.rocdidn't add the point (0, 0) in some instances. See PR #863. - Fixed an issue in
scores.continuous.quantile_interval_scorewhere broadcasting wasn't being done correctly in some cases. See PR #867.
Documentation
- Added two new tutorials:
- Substantially updated "The FIxed Risk Multicategorical (FIRM) Score" tutorial. See PR #853.
- Fixed an error in the formula in the docstring for the quantile interval score (
scores.continuous.quantile_interval_score). (Note: this error was only present in the docstring - the code implemenation of the function was correct and the tutorial listed the correct formula.) See PR #851. - Updated several "full changelog" URLs in the release notes. See PR #859.
Internal Changes
- Improved the efficiency of the FIxed Risk Multicategorical (FIRM) score (
scores.categorical.firm) by moving the call to gather dimensions to earlier within the method. See PR #853. - Added a new
scores.plotdatasection to the API for functions that generate data for verification plots. See PR #852. The following internal changes were made:- Receiver (Relative) Operating Characteristic (ROC):
scores.probability.roc_curve_datawas moved toscores.plotdata.roc, but can still be imported asscores.probability.roc_curve_data.
- Murphy Score:
scores.continuous.murphy_scorewas moved toscores.plotdata.murphy_score, but can still be imported asscores.continuous.murphy_scoreandscores.probability.murphy_score.scores.continuous.murphy_thetaswas moved toscores.plotdata.murphy_thetas, but can still be imported asscores.continuous.murphy_thetasandscores.probability.murphy_thetas.
- Receiver (Relative) Operating Characteristic (ROC):
- Added an additional CI/CD pipeline for testing without Dask. See PR #856.
Contributors to this Release
Liam Bluett (@lbluett), Nicholas Loveday (@nicholasloveday), Nikeeth Ramanathan (@nikeethr), Tennessee Leeuwenburg (@tennlee), Robert J. Taggart (@rob-taggart), Stephanie Chong (@Steph-Chong) and Mohammadreza Khanarmuei (@reza-armuei).