object

correlation_score

Scores a numeric feature against a numeric target using squared Pearson correlation over complete examples. Returns a score in [0.0, 1.0], independent of correlation sign. Returns 0.0 for fewer than two complete examples or an exactly constant feature or target.

Availability:
logtalk_load(feature_selection_protocols(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2026-10-06
Compilation flags:
static, context_switching_calls
Implements:
Imports:
Uses:
Remarks:
(none)
Inherited public predicates:

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)