object
knn_distance_anomaly_detectorï
k-nearest-neighbor distance anomaly detector with multiple distance metrics, mixed-feature support, and missing-value handling. Learns 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(knn_distance_anomaly_detector(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-06
Compilation flags:
static, context_switching_callsRemarks:
(none)
Inherited public predicates:
 anomaly_detector_options/2  check_anomaly_detector/1  check_option/1  check_options/1  default_option/1  default_options/1  diagnostic/2  diagnostics/2  export_to_clauses/4  export_to_file/4  learn/2  learn/3  option/2  option/3  predict/3  predict/4  print_anomaly_detector/1  score/3  score_all/3  valid_anomaly_detector/1  valid_option/1  valid_options/1
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)