Doubt

Latest version: v6.0.0

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

Scan your dependencies

Page 2 of 4

4.4.1

Not secure
Fixed
- When `return_all` is specified in `Boot.predict` and multiple samples have been
inputted, then it now returns an array of shape `(num_samples, num_boots)` rather
than the previous `(num_boots, num_samples)`.

4.4.0

Not secure
Added
- Added a `return_all` argument to the `Boot.predict` method, which will override the
`uncertainty` and `quantiles` arguments and return the raw bootstrap distribution
over which the quantiles would normally be calculated. This allows other uses of the
bootstrap distribution than for computing prediction intervals.

4.3.1

Not secure
Fixed
- Previously, all the trees in `QuantileRegressionForest` were the same. This has now
been fixed. Thanks to gugerlir for noticing this!
- The `random_seed` argument in `QuantileRegressionTree` and `QuantileRegressionForest`
has been changed to `random_state` to be consistent with `DecisionTreeRegressor`, and
to avoid an `AttributeError` when accessing the estimators of a
`QuantileRegressionForest`.

4.3.0

Not secure
Added
- The `QuantileRegressionForest` now has a `feature_importances_` attribute.

4.2.0

Not secure
Changed
- `Boot.fit` and `Boot.predict` methods are now parallelised, speeding up both training
and prediction time a bit.
- Updated `README` to include generalised linear models, rather than only
mentioning linear regression.

Fixed
- Removed mention of `PyTorch` model support, as that has not been implemented
yet

4.1.0

Not secure
Changed
- The `verbose` argument to `QuantileRegressionForest` also displays a progress
bar during inference now.

Fixed
- Fixed `QuantileRegressionForest.__repr__`.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.