Skip to content

Releases: ottenbreit-data-science/aplr

Added a method to increase the interpretability of interactions. Updated the documentation.

21 May 20:23

Choose a tag to compare

Added a method, calculate_local_contribution_from_selected_terms, to increase the interpretability of interactions (also works for main effects). Updated the documentation.

Made it possible to increase interpretability by explicitly reducing the number of terms

17 May 11:34

Choose a tag to compare

Provided an option to increase interpretability at the expense of predictiveness by setting the max_terms hyperparameter. See the API references for more information.

Added more functionality to tweak models

25 Apr 17:05

Choose a tag to compare

Now it is possible to optionally provide the following for each predictor:

  • Learning rate.
  • Penalty for non-linearity.
  • Penalty for interactions.

Speeded up the algorithm in special cases

22 Apr 16:58

Choose a tag to compare

  • Speeded up the algorithm when penalty_for_non_linearity=1.0 or penalty_for_interactions=1.0.
  • Automatically rounding penalty_for_non_linearity and penalty_for_interactions to the nearest boundary in the [0.0, 1.0] range if the user specifies something outside of this range.

Controlling interpretability

21 Apr 11:49

Choose a tag to compare

Added two constructor parameters to help controlling the interpretability versus predictiveness trade-off:

  • penalty_for_non_linearity (default = 0.0). Specifies a penalty in the range [0.0, 1.0] on terms that are not linear effects. A higher value increases model interpretability but can hurt predictiveness.
  • penalty_for_interactions (default = 0.0). Specifies a penalty in the range [0.0, 1.0] on interaction terms. A higher value increases model interpretability but can hurt predictiveness.

Linear effects

13 Apr 11:05

Choose a tag to compare

Added the possibility to use linear effects only for a custom number of initial boosting steps. This can be used for example to increase interpretability by building models that place more weight on linear effects.

Minor bugfix

11 Apr 15:33

Choose a tag to compare

Fixed a minor bug that sometimes added unnecessary terms to the model.

Fix of minor inconsistency

14 Mar 16:48

Choose a tag to compare

Fixed a minor (and for practical purposes insignificant) inconsistency w.r.t. rounding errors.

Bugfix

08 Mar 21:36

Choose a tag to compare

Fixed a bug that caused less interaction terms than intended to be considered for model inclusion.

Reverted a default parameter and updated the documentation

07 Mar 21:52

Choose a tag to compare

Reverted the default learning rate for APLRClassifier to 0.1.
Updated the documentation.