Skip to content

Releases: ottenbreit-data-science/aplr

Added the hyperparameter boosting_steps_before_interactions_are_allowed

09 Oct 17:16

Choose a tag to compare

Added the hyperparameter boosting_steps_before_interactions_are_allowed. It specifies how many boosting steps to wait before searching for interactions. If for example 800, then the algorithm will be forced to only fit main effects in the first 800 boosting steps, after which it is allowed to search for interactions (given that other hyperparameters that control interactions also allow this). The motivation for fitting main effects first may be 1) to get a cleaner looking model that puts more emphasis on main effects and 2) to speed up the algorithm since looking for interactions is computationally more demanding. The default value of 0 gives a similar model fit to the one from version 7.2.0.

Added the possibility to send more data to custom loss, negative gradient and validation error functions

29 Sep 18:31

Choose a tag to compare

Added the possibility to send more data, in the form of a numpy matrix, to custom loss, negative gradient and validation error functions, through the fit() method.

Changed the behaviour of "boosting_steps_before_pruning_is_done"

26 Sep 15:59

Choose a tag to compare

Changed the behaviour of "boosting_steps_before_pruning_is_done". Its default value is now 0. When 0, pruning is not done. Positive values work in the same manner as in the previous version. The reason why pruning is not done by default is that pruning can significantly increase training time on larger datasets and when the model gets many terms. Pruning may increase model predictiveness (usually slightly).

Bugfix

25 Sep 20:27

Choose a tag to compare

Fixed a bug that unnecessarily reduced the computational speed of pruning.

Added pruning, improved interaction constraints and readability of interactions

24 Sep 20:43

Choose a tag to compare

  • Added a pruning mechanism to prune terms as long as this reduces the training error.
  • Improved the possibility to set interaction constraints. Now this works similarly to the implementation in for example LightGBM.
  • Improved readability of interaction terms by preventing the formation of unnecessarily complex interactions.

Bugfix

22 Jul 12:22

Choose a tag to compare

Fixed a bug that unnecessarily increased model training time.

Bugfix

21 Jul 18:18

Choose a tag to compare

Fixed bug that sometimes caused unnecessarily complex interactions.

APLR now also runs on Python 3.11

14 Jul 20:13

Choose a tag to compare

APLR now also runs on Python 3.11.

Added the possibility to specify a custom link function

04 Jul 15:28

Choose a tag to compare

Added the possibility to specify a custom link function.

Added the possibility to specify a custom loss function

03 Jul 16:43

Choose a tag to compare

Added the possibility to specify a custom loss function.