.. index:: single: anova_f_score
.. _anova_f_score/0:

.. rst-class:: right

**object**

``anova_f_score``
=================

Scores a numeric feature against a categorical target using the one-way ANOVA F-statistic over complete examples, capped at 1.0e10. Returns 0.0 for fewer than two classes, no within-class degrees of freedom, or a constant feature. Perfect class separation scores 1.0e10 and ties with any finite statistic reaching the cap.

| **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:**
|    ``public`` :ref:`feature_scoring_protocol <feature_scoring_protocol/0>`
| **Imports:**
|    ``public`` :ref:`feature_scoring_common <feature_scoring_common/0>`

| **Remarks:**
|    (none)

| **Inherited public predicates:**
|     :ref:`feature_scoring_protocol/0::score/3`  

.. 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)

