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

arXiv: https://arxiv.org/abs/2506.19230 · HTML: https://mlsanity.com/paper/2506.19230/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 24 Jun 2025.

## Built on by (most cited first, 1 of 1)

- [Comparing Two Categorical Gini Correlations with Applications to Classification Problems](https://mlsanity.com/paper/2605.17763/) (2026)

## Abstract (arXiv)

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.
