You can update by running pip install --upgrade pcntoolkit
Here are the highlights:
-
Improved evaluation metrics (MLL and MACE) - and there’s now a tutorial on the website walking through what each metric actually does
-
You can now load pre-trained models saved with older PCNtoolkit versions and use them in the newest pcntoolkit version
-
More detailed, user-friendly tutorials on model merging and federated learning
-
Better contribution guidelines and GitHub standards
-
Bug fixes, bug fixes, bug fixes

Thanks to everyone who contributed! And looking forward to more contributions!
Full changelog
Major changes:
-
Add fractional polynomials basis function
-
Rename NLL (negative log-likelihood) → MLL (mean log-loss)
-
Add MACE averaging (as defined in Zamanzadeh et al. (2026))
-
Add kurtosis and skewness as evaluation metrics
-
Add migration strategy for saved models
-
Make HBR SHASHb faster by adjusting the dp parameter
-
Manage matplotlib more flexibly
-
Refactor BLR tutorial
-
Add federated learning and evaluation metrics tutorials
-
Update merge tutorial
Minor changes:
- Update contributing guidelines and add rules in GitHub (Issue and PR templates)
Bug fixes:
-
Add upper bounds for pymc, nutpie and pytensor
-
Fix HBR SHASH to return mean and second moment in m1m2()
-
Add h5py and h5netcdf as dependency in toml