-
-
Notifications
You must be signed in to change notification settings - Fork 604
Binary Drift Detector: McDiarmid Drift Detection Method #1703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- hence no need to explicit pop left
- instead of handling this internally, needs to be mentioned in doc
| if self.drift_detected: | ||
| self._reset() | ||
|
|
||
| self._sliding_window.append(0 if x == 1 else 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still confused about the input values for correct prediction and incorrect prediction as mentioned in #1532. Can someone please help me out with this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @aditya0by0. Multiple classic drift detectors seem to use a binary loss scheme, but there might be other patterns nowadays. I am not aware of the specifics of the algorithms you are contributing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok I will check further on it. Btw the following is the corresponding moa code for the algorithm from the author : https://github.com/alipsgh/codes-for-moa/blob/master/drift_detection/MDDM_A.java
PR for Discussion : #1672
Add McDiarmid Drift Detection Methods (MDDM)
Summary
Implements three new binary drift detectors based on McDiarmid's inequality:
MDDM_A– Arithmetic weighting (linear).MDDM_E– Exponential weighting.MDDM_G– Geometric weighting.