MOAAnomalyDetector#

class capymoa.base.MOAAnomalyDetector[source]#

Bases: AnomalyDetector

__init__(schema=None, CLI=None, random_seed=1, moa_learner=None)[source]#
CLI_help()[source]#
train(instance)[source]#
predict(instance)[source]#
score_instance(instance)[source]#

Returns the anomaly score for the instance.

A high score is indicative of an anomaly.

Parameters:

instance – The instance for which the anomaly score is calculated.

Returns:

The anomaly score for the instance.