English

gcor: A Python Implementation of Categorical Gini Correlation and Its Inference

Methodology 2026-05-12 v4 Computation

Abstract

Categorical Gini Correlation (CGC), introduced by Dang et al. (2020), is a novel dependence measure designed to quantify the association between a numerical variable and a categorical variable. It has appealing properties compared to existing dependence measures, such as zero correlation mutually implying independence between the variables. It has also shown superior performance over existing methods when applied to feature screening for classification. This article presents a Python implementation for computing CGC, constructing confidence intervals, and performing independence tests based on it. Efficient algorithms have been implemented for all procedures, and they have been optimized using vectorization and parallelization to enhance computational efficiency.

Keywords

Cite

@article{arxiv.2506.19230,
  title  = {gcor: A Python Implementation of Categorical Gini Correlation and Its Inference},
  author = {Sameera Hewage},
  journal= {arXiv preprint arXiv:2506.19230},
  year   = {2026}
}

Comments

Added Computational Performance section and 4 figures

R2 v1 2026-07-01T03:30:38.853Z