Pzflow

Latest version: v3.1.3

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

Scan your dependencies

Page 3 of 4

2.0.1

Improved the stability of checking for flags during posterior marginalization. Now robust checks for floats and np.nan

2.0.0

Changes made:

- no longer automatically adding .pkl file extension when saving flows and ensembles
- fixed FlowEnsemble so that metadata (e.g. data_columns) is properly stored at the ensemble level
- changed nsamples to err_samples for error convolution in order to increase clarity
- added ability to convolve non-Gaussian errors
- officially added support for modeling discrete variables via UniformDequantizer
- added ShiftBounds bijector so I don't have to keep abusing StandardScaler
- added flag so you can turn off the automatic standard scaling of conditions passed to a conditional flow
- added get_ to the front of the example functions so that their use is more clear
- added support for column marginalization in posterior calculation
- expanded and reorganized the example notebooks

1.7.1

Fixed a bug in sampling from a conditional FlowEnsemble

1.7.0

Updates:
- defaulted B=5 in splines
- Sampling from error distribution for error convolution now available for training, log_prob, posterior
- Improved the way flows are loaded from a file to make more backwards compatible
- Added the centered beta distribution (CentBeta)
- Conditions are now automatically standard scaled before being fed to the neural networks inside the normalizing flow. The appropriate means and stds are calculated and stored during training.
- Added a FlowEnsemble class for easily training a deep ensemble of models
- Added example notebooks for error convolution and FlowEnsemble


v.1.6.0
Added an option for a random seed when initializing the flow. This allows you to create deep ensembles.

1.5.2

Moved flow saving to recursive dill pickling, so that more complex objects can be stored with flows.

1.5.1

Fixed the analytic error convolution for Gaussian base distributions.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.