Inference-tools

Latest version: v0.13.0

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

Scan your dependencies

Page 4 of 4

0.5.0

This release contains significant improvements to the `GpRegressor` class, including:

- A new option to select between the squared-exponential and rational-quadratic covariance functions, or provide a user-defined custom covariance function.

- A new option to use leave-one-out cross-validation to select hyper-parameter values instead of the marginal-likelihood.

- Significant improvements to numerical efficiency leading to reduced computation times.

0.4.6

- Fixed various bugs that appeared when testing after updating dependencies to numpy 1.15.0, scipy 1.3.1 and matplotlib 3.1.1

0.4.5

- Added a new class `ParallelTempering` to the `inference.mcmc` module which runs the 'parallel tempering' MCMC algorithm.

- `ParallelTempering` uses Python's `multiprocessing` module to create separate, dedicated processes for each Markov-chain object involved in the parallel tempering algorithm, allowing the necessary computations for each object to take place in parallel if multiple CPU threads are available.

0.4.4

- Added a new method `GpRegressor.gradient`, which allows for the calculation of the mean and variance of the gradient of the regression estimate. This is useful for robust estimation of derivatives in noisy data.

0.4.3

- Added a new function trace_plot to inference.plotting

- fixed a serious bug in inference.mcmc.MarkovChain.matrix_plot

0.4.2

This release includes significant improvements to package documentation, which is now also hosted online via Read the Docs.

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.