Pcntoolkit

Latest version: v0.32.0

Safety actively analyzes 707299 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.32.0

- Update Dockerfile
- Add scaler.transfer, using Welford's algorithm to compute running mean and std for standardizers.
- Correctly save metadata of transfered models.

0.31.0

- Major changes:
- Move to Poetry for dependency management in pyproject.toml.
- PCNToolkit must now be installed using python -m pip install .. See the README for complete instructions.
- A CLI command normative is automatically created, and can be used instead of python normative.py.
- Nutpie can be used as a sampler for HBR by setting `nuts_sampler='nutpie''. Nutpie and numba must first be installed using conda.
- Minor changes
- torque jobs now support multicore jobs via the keyword 'n_cores_per_batch'
- Backwards compatibilty improved by using pd.read_pickle instead of pickle.load
- SHASH classes have been refactored and improved
- HBR priors improved

0.30.0

- Minor bug fixes

0.29

- Bug fixes (e.g. HBR predict crash, normative_paralell support for .txt input)
- Added docstrings for most functions
- Fixed some problems with exception handling
- Formatted whole project with autopep8
- Addedd functionality to compute SHASH z-scores from normative.py
- Updated requirements
- Basic pytest continuous integration framework implemented

0.28

- Updated to PyMC5 (including migrating back-end to PyTensor)
- Added support for longitudinal normative modelling with BLR (see Buckova-Rehak et al 2023)
- Changed default optimiser for trend surface models (for scalability)

0.27

- Configured more sensible default options for HBR (random slope and intercept for mu and random intercept for sigma)
- Fixed a translation problem between the previous naming convention for HBR models (only Gaussian models) and the current naming (also SHASH models)
- Minor updates to fix synchronisation problems in PCNportal (related to the HBR updates above)
- Added configuration files for containerisation with Docker

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.