Releases: ottenbreit-data-science/aplr
Bugfix
- Fixed a bug in the calculate_feature_importance method that used too much memory.
- Updated the presentation of APLR with a graphical interpretation example.
Bugfix
Fixed the bug in the get_unique_term_affiliation_shape method that caused memory problems. The method is now safe to use.
Added a warning to the get_unique_term_affiliation_shape method
Added a warning to the get_unique_term_affiliation_shape method when handling interactions as the method is currently very memory intensive when handling interaction terms and may crash without warning on larger models. Updated the documentation accordingly.
Increased the interpretability of interactions and more
- Increased the interpretability of interactions with the new get_unique_term_affiliation_shape method.
- Removed the dependency on numpy, which was previously used for type hints.
- Updated examples and documentation.
Added support for MacOS. Added a convenience method.
- Added support for MacOS.
- Added a convenience method, get_base_predictors_in_each_unique_term_affiliation(), which makes it easier to merge local feature contribution with relevant predictor values.
Bugfix
Bugfix
- Fixed a bug in the get_main_effect_shape method.
- Removed unnecessary complexity in the formation of interaction terms.
Improved interpretability
Improved interpretability and updated the documentation. Feature importance and local feature contribution are now broken down into main effects and interactions. Local feature contribution can for example be used to interpret interactions by plotting the local feature contribution for a particular two-way interaction against relevant predictor values in a 3D scatter plot.
Improved the handling of interactions
Improved the handling of interactions. Improved the documentation.
Replaced get_coefficient_shape_function() with get_main_effect_shape()
Replaced get_coefficient_shape_function() with get_main_effect_shape(). The former was difficult to compute correctly. The new method also makes it easier to interpret main effects.
Bugfix
Fixed a bug in get_coefficient_shape_function().