Aplr

Latest version: v10.7.3

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

Scan your dependencies

Page 9 of 20

7.6.1

Fixed a minor bug regarding monotonic constraints.

7.6.0

The new method, get_coefficient_shape_function(predictor_index:int), returns the coefficient shape across relevant predictor values, ignoring interactions. This increases interpretability by making it easier to analyse how main effects work in the model.

Added an option to ignore interactions when using monotonic_constraints. An use case for this can be to reduce the decline in predictiveness due to monotonic constraints when a large proportion of the predictors have monotonic constraints.

7.5.1

Fixed a small bug that could occur on seldom occasions. After the fix, the boosting procedure terminates if no change was made to the model during the previous boosting step.

7.5.0

Reverted the default hyperparameter value of boosting_steps_before_pruning_is_done to 0. Further tests indicate that pruning may more often than not slightly increase predictiveness, but this comes at a significant computational cost if the model gets many terms.

Fixed a rare bug related to the updating of term coefficients.

7.4.1

Minor bugfix related to pruning.

7.4.0

Set the default value for boosting_steps_before_pruning_is_done to 500. The reason is that empirical results so far indicate that this slightly improves predictions compared to not pruning. The drawback of pruning is somewhat increased model training time, especially when the number of terms gets large.

Page 9 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.