category
anomaly_detector_common
Shared predicates for anomaly detector learning defaults, threshold-based prediction, baseline training-data selection, dataset helpers, and export.
logtalk_load(anomaly_detection_protocols(loader))staticPublic predicates
(no local declarations; see entity ancestors if any)
Protected predicates
anomaly_detector_diagnostics_data/2
Hook predicate that importing anomaly detector implementations may override in order to expose diagnostics and metadata for learned detectors.
staticanomaly_detector_diagnostics_data(AnomalyDetector,Diagnostics)anomaly_detector_diagnostics_data(+compound,-list(compound)) - oneanomaly_detector_export_template/2
Hook predicate that importing anomaly detector implementations must define in order to expose the exported detector predicate template for a given functor.
staticanomaly_detector_export_template(Functor,Template)anomaly_detector_export_template(+atom,-callable) - oneanomaly_detector_term_template/2
Hook predicate that importing anomaly detector implementations must define in order to expose the learned detector term template used by pretty-printing helpers.
staticanomaly_detector_term_template(AnomalyDetector,Template)anomaly_detector_term_template(+compound,-compound) - onedataset_attributes/2
Collects the dataset attribute declarations as Attribute-Values pairs.
staticdataset_attributes(Dataset,Attributes)dataset_attributes(+object_identifier,-list(pair)) - onecheck_examples_non_empty/2
Checks that a dataset contains at least one example.
staticcheck_examples_non_empty(Dataset,Examples)check_examples_non_empty(+object_identifier,+list) - onebaseline_training_examples/3
Collects training examples selected by the baseline_class_values/1 and baseline_selection_policy/1 options. The reject policy throws an error when non-baseline examples are present. The filter policy removes non-baseline examples and throws an error when no baseline examples remain.
staticbaseline_training_examples(Dataset,Examples,Options)baseline_training_examples(+object_identifier,-list,+list(compound)) - onevalid_baseline_class_values/1
Checks that a baseline_class_values/1 option value is a non-empty list of distinct atoms.
staticvalid_baseline_class_values(BaselineClassValues)valid_baseline_class_values(+list(atom)) - oneextract_scores/2
Transforms Score-Id-Class tuples into the public Id-Class-Score representation.
staticextract_scores(Pairs,Scores)extract_scores(+list,-list) - oneprint_anomaly_detector_template/1
Prints the learned anomaly detector term template in a human-readable form.
staticprint_anomaly_detector_template(AnomalyDetector)print_anomaly_detector_template(+compound) - onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)