Concept Drift Detection with DDM #268
-
Hi there, I'm currently playing around with the package and stumbled over some things that confused me a bit. Thank you and I hope this is the right place to ask my question. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @ngabrek, Concept drift detectors can detect multiple "drifts/changes" (removing that break line that you mention), but if they occur consecutively, they likely belong to the same concept drift. Is it possible to continue attempting to detect "other concept drifts" after the initial detection using DDM? Yes, but this will likely be challenging. Due to the inherent nature of DDM [1], it is not intended to be employed for ongoing detection of "other concept drifts" following the initial detection. [1] https://link.springer.com/chapter/10.1007/978-3-540-28645-5_29 This is reflected in the following example that I have implemented. We examine the outcomes of resetting the detector versus not doing so. We simulate a scenario where we are monitoring the errors of a binary model (DDM is designed for binary problems only). A value of 0 signifies correct classification of our sample, while 1 indicates the opposite. 3 different streams:
For the initial 100 samples, our error rate is around 10%. Suddenly, the error rate significantly increases, with approximately 30% of our predictions being misclassified in the subsequent 100 samples. DDM detects the drift at step 115 (excluding the DDM warning zone preceding drift detection for simplicity). From now on, the behavior diverges based on whether the detector is reset or not:
I leave you the code of the example I mentioned. I hope it has been useful.
If you have any other questions, please let me know. |
Beta Was this translation helpful? Give feedback.
-
@jaime-cespedes-sisniega, thank you for the in-depth answer! Now I fully get the idea. |
Beta Was this translation helpful? Give feedback.
Hi @ngabrek,
Concept drift detectors can detect multiple "drifts/changes" (removing that break line that you mention), but if they occur consecutively, they likely belong to the same concept drift.
Is it possible to continue attempting to detect "other concept drifts" after the initial detection using DDM? Yes, but this will likely be challenging. Due to the inherent nature of DDM [1], it is not intended to be employed for ongoing detection of "other concept drifts" following the initial detection.
[1] https://link.springer.com/chapter/10.1007/978-3-540-28645-5_29
This is reflected in the following example that I have implemented. We examine the outcomes of resetting the detector versus n…