KNN and K-means in Gini Prametric Spaces

Cassandra Mussard, Arthur Charpentier, Stéphane Mussard
1/29/2025
cs.LG

No official code found. Best implementation: giniknnkmeans/KNN_Kmeans_Gini_prametric (1 star, MIT, last commit 2025-06-26).

Abstract

This paper introduces enhancements to the K-means and K-nearest neighbors (KNN) algorithms based on the concept of Gini prametric spaces, instead of traditional metric spaces. Unlike standard distance metrics, Gini prametrics incorporate both value-based and rank-based measures, offering robustness to noise and outliers. The main contributions include: (1) a Gini prametric that captures rank information alongside value distances; (2) a Gini K-means algorithm that is provably convergent and resilient to noisy data; and (3) a Gini KNN method that performs competitively with state-of-the-art approaches like Hassanat's distance in noisy environments. Experimental evaluations on 16 UCI datasets demonstrate the superior performance and efficiency of the Gini-based algorithms in clustering and classification tasks. This work opens new directions for rank-based prametrics in machine learning and statistical analysis.

View on arXivView PDF

Code Implementations(1)

MIT
10C, C++Jan 26, 20251 years agoMIT

Similar Papers

Cite this paper

@article{mussard2025kmeans,
  title  = {KNN and K-means in Gini Prametric Spaces},
  author = {Cassandra Mussard and Arthur Charpentier and Stéphane Mussard},
  year   = {2025},
  eprint = {2501.18028},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.18028v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.18028.svg)](https://codeofpaper.com/paper/2501.18028)

Discussion