Inconsistency in ARFClassifier's drift_detector
and warning_detector
Attributes When Saving and Loading
#1332
Labels
drift_detector
and warning_detector
Attributes When Saving and Loading
#1332
Versions
river version: 0.19.0
Python version: 3.9.18
Operating system: Ubuntu 18.04.6 LTS, Ubuntu 22.04.2 LTS
Describe the bug
I have noticed an inconsistency when using the
ARFClassifier
from theriver
library in Python. When I create anARFClassifier
object and set itsdrift_detector
andwarning_detector
attributes toNone
, I expect them to beNone
when I load the object from a saved file usingpickle
. However,loaded_model.drift_detector
andloaded_model.warning_detector
are notNone
as I expected. Is there something I'm missing, or is this an issue?Steps/code to reproduce
The text was updated successfully, but these errors were encountered: