EAPP - Extended a Priori Probability tool

EAPP - Extended a Priori Probability tool evaluates binary classification task difficulty and dataset bias using a semi-supervised metric that extends a priori probability.


Key Features:

  • Beyond Baseline: Extends the a priori probability baseline (e.g., ZeroR) by factoring dataset biases and additional characteristics that affect class separability.
  • Semi-Supervised Approach: Employs a semi-supervised method to quantify task complexity and data bias for binary classification.
  • AUC ROC Integration: Grounds the metric in area under the ROC curve (AUC ROC) to maintain robustness to class imbalance.
  • Multiobjective Feature Extraction: Uses autoencoders for feature extraction to identify relevant representations from the data.
  • Clustering and Assignation: Performs clustering in the input space followed by a combinatory weighted assignation of clusters to classes that considers distance to nearest clusters and optimizes assignment to maximize AUC ROC.
  • Cross-Validation: Applies cross-validation during feature extraction and clustering to reduce overfitting and improve generalizability.
  • Cluster-Based Evaluation: Defines the metric for various numbers of clusters, starting from the inverse of the minority class proportion, to enable fair comparisons across imbalanced datasets.

Scientific Applications:

  • Baseline Assessment: Provides a comprehensive baseline metric for evaluating binary classifiers beyond simple a priori probability.
  • Bias Detection: Helps determine whether high classifier performance arises from inherent task ease or from dataset biases.
  • Imbalanced Dataset Evaluation: Facilitates comparison of task difficulty across datasets with varying class imbalance using cluster-based definitions tied to minority class proportion.

Methodology:

EAPP computes a semi-supervised metric by extracting features with autoencoders, clustering the input space for varying cluster counts (starting from the inverse of the minority class proportion), assigning clusters to classes via a combinatory weighted scheme based on distances to nearest clusters and selecting assignments that maximize AUC ROC, with cross-validation applied during feature extraction and clustering.

Topics

Collections

Details

License:
Proprietary
Maturity:
Mature
Tool Type:
command-line tool
Operating Systems:
Windows, Mac, Linux
Programming Languages:
Python
Added:
5/22/2025
Last Updated:
11/12/2025

Operations

Publications

Castello VO, Perez-Benito FJ, Catala ODT, Igual IS, Llobet R, Perez-Cortes J. Extended a Priori Probability (EAPP): A Data-Driven Approach for Machine Learning Binary Classification Tasks. IEEE Access. 2022;10():120074-120085. doi:10.1109/access.2022.3221936.

Funding: - Generalitat Valenciana through the Valencian Institute of Business Competitiveness (IVACE) Distributed Nominatively to Valencian Technological Innovation Centers: IMAMCN/2021/1 - European Union through the Next Generation EU Fund within the Cervera Aids Program for Technological Centers: CER-20211030

Documentation

Links