Puncc

Latest version: v0.7.7

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

Scan your dependencies

0.7.7

- Fixed negative sigma issue in `LocallyAdaptiveCP`. The exception `"All MAD predictions should be positive."` should not be raised anymore: the associated negative nonconformity scores are ignored during calibration and result in an infinite prediction interval during inference.
- Added documentation for experimental `PyTorchPredictor`.

0.7.6

- Fixed incorrect pre-trained status check in `DualPredictor` (and `MeanVarPredictor`). Wrapped underlying models must have their `is_trained` status set to True to consider that `DualPredictor` (or `MeanVarPredictor`) is pre-trained.
- Further tests for pre-trained status checks were added.
- Changed `pkgutil.find_loader` with `import lib.util.find_spec` as find_loader is deprecated and will be removed in Python 3.14.

0.7.5

Simplified API procedure for conformalizing pretrained underlying models: instantiating a `ConformalPredictor` object in this situation is performed with a splitter set to `None`.

0.7.4

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.