.. index:: single: ewma_anomaly_detector .. _ewma_anomaly_detector/0: .. rst-class:: right **object** ``ewma_anomaly_detector`` ========================= EWMA (Exponentially Weighted Moving Average) anomaly detector for continuous sequence-like datasets. Learns per-step population mean and standard deviation from baseline training examples selected from a dataset object implementing the ``anomaly_dataset_protocol`` protocol and returns a detector term that can be used for scoring, prediction, and export. | **Availability:** | ``logtalk_load(ewma_anomaly_detector(loader))`` | **Author:** Paulo Moura | **Version:** 1:0:0 | **Date:** 2026-05-06 | **Compilation flags:** | ``static, context_switching_calls`` | **Imports:** | ``public`` :ref:`anomaly_detector_common ` | **Uses:** | :ref:`format ` | :ref:`list ` | :ref:`pairs ` | :ref:`population ` | :ref:`type ` | **Remarks:** | (none) | **Inherited public predicates:** |  :ref:`anomaly_detector_protocol/0::anomaly_detector_options/2`  :ref:`anomaly_detector_protocol/0::check_anomaly_detector/1`  :ref:`options_protocol/0::check_option/1`  :ref:`options_protocol/0::check_options/1`  :ref:`options_protocol/0::default_option/1`  :ref:`options_protocol/0::default_options/1`  :ref:`anomaly_detector_protocol/0::diagnostic/2`  :ref:`anomaly_detector_protocol/0::diagnostics/2`  :ref:`anomaly_detector_protocol/0::export_to_clauses/4`  :ref:`anomaly_detector_protocol/0::export_to_file/4`  :ref:`anomaly_detector_protocol/0::learn/2`  :ref:`anomaly_detector_protocol/0::learn/3`  :ref:`options_protocol/0::option/2`  :ref:`options_protocol/0::option/3`  :ref:`anomaly_detector_protocol/0::predict/3`  :ref:`anomaly_detector_protocol/0::predict/4`  :ref:`anomaly_detector_protocol/0::print_anomaly_detector/1`  :ref:`anomaly_detector_protocol/0::score/3`  :ref:`anomaly_detector_protocol/0::score_all/3`  :ref:`anomaly_detector_protocol/0::valid_anomaly_detector/1`  :ref:`options_protocol/0::valid_option/1`  :ref:`options_protocol/0::valid_options/1`   .. contents:: :local: :backlinks: top Public predicates ----------------- (no local declarations; see entity ancestors if any) Protected predicates -------------------- (no local declarations; see entity ancestors if any) Private predicates ------------------ (no local declarations; see entity ancestors if any) Operators --------- (none) .. seealso:: :ref:`anomaly_dataset_protocol `, :ref:`anomaly_detector_protocol `, :ref:`cusum_anomaly_detector `, :ref:`isolation_forest_anomaly_detector `, :ref:`knn_distance_anomaly_detector `, :ref:`lof_anomaly_detector `, :ref:`modified_z_score_anomaly_detector `, :ref:`z_score_anomaly_detector `