-
I was trying to run AttributeError: 'DecisionTreeRegressor' object has no attribute 'monotonic_cst' I noticed a new feature update in v1.4 change logs:
Does anyone know how to load older models in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We don't support between version unpickling: https://scikit-learn.org/stable/model_persistence.html Here the reason is that the monotonic constraint has been implement in 1.4 and is therefore not available in 1.3. The internal code has changed between the two versions making the older model not compatible with 1.4 |
Beta Was this translation helpful? Give feedback.
We don't support between version unpickling: https://scikit-learn.org/stable/model_persistence.html
Here the reason is that the monotonic constraint has been implement in 1.4 and is therefore not available in 1.3. The internal code has changed between the two versions making the older model not compatible with 1.4