Skip to content

add default attribute for mononotonic_constraints - #1000

Closed
Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) wants to merge 2 commits into
mainfrom
setattr-mc
Closed

add default attribute for mononotonic_constraints#1000
Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) wants to merge 2 commits into
mainfrom
setattr-mc

Conversation

@MatthiasSchmidtblaicherQC

@MatthiasSchmidtblaicherQC Matthias Schmidtblaicher (MatthiasSchmidtblaicherQC) commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Fixed unpickling of models saved with older versions of glum that lack the monotonic_constraints attribute. The attribute is only accessed during fit(), so this only affects the uncommon case of refitting an older unpickled model with glum 3.4.0+.

Checklist

  • Added a CHANGELOG.rst entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants