MOADriftDetector#
- class capymoa.drift.base_detector.MOADriftDetector[source]#
Bases:
BaseDriftDetectorA MOA (Massive Online Analysis) drift detector for CapyMOA.
- add_element(element: float) None[source]#
Update the drift detector with a new input value.
- Parameters:
element – A value to update the drift detector with. Usually, this is the prediction error of a model.
- classmethod from_cli(cli: str) MOADriftDetector[source]#
Create a detector instance configured from a MOA CLI string.
- Parameters:
cli – Command-line style options string for MOA detector hyper-parameters.
- Returns:
A new detector instance initialized with
cli.