Skip to content

Bugfixes

Latest

Choose a tag to compare

@mathias-von-ottenbreit mathias-von-ottenbreit released this 30 Oct 20:00

Fixed

  • Improved Backward Compatibility for Saved Models: Resolved an issue where loading models trained with older versions of aplr would fail due to missing attributes. The __setstate__ method now initializes new preprocessing-related attributes to None for older models, ensuring they can be loaded and used without AttributeError exceptions.
  • Stability for Unfitted Models: Fixed a crash that occurred when calling predict on an unfitted APLRClassifier. The model now correctly raises a RuntimeError with an informative message in this scenario, improving stability and user feedback.
  • Restored Flexibility for X_names Parameter: Fixed a regression from v10.18.0 where the X_names parameter no longer accepted numpy.ndarray or other list-like inputs. The parameter now correctly handles these types again, restoring flexibility for non-DataFrame inputs.