We introduce QuadratiK, an open-source software, implemented in R and Python. QuadratiK supports normality tests, and two and k-sample tests, using kernel-based quadratic distances. The software also includes tests for uniformity on the d-dimensional sphere and a clustering algorithm using the Poisson kernel-based densities. Functions for generating random samples from these densities are included. These methods are encoded via object-oriented and extensively unit-tested implementations. QuadratiK offers graphical functions that enhance user experience by facilitating the validation, visualization, and interpretation of clustering results. We compare QuadratiK with related available libraries and provide illustrative code examples. In summary, QuadratiK offers a powerful suite of tools in R and Python, enabling researchers and practitioners to perform meaningful analyses and derive valid and reproducible inference across a wide range of fields. The R and Python codes are available under the GPL-3.0 license. Finally, we propose a dashboard application, a graphical user interface to the implemented methods, with the aim to facilitate the usage of the software among practitioners from different domains.

QuadratiK: A Python and R package for clustering on the sphere and goodness-of-fit tests

Saraceno G.
Writing – Original Draft Preparation
;
2025

Abstract

We introduce QuadratiK, an open-source software, implemented in R and Python. QuadratiK supports normality tests, and two and k-sample tests, using kernel-based quadratic distances. The software also includes tests for uniformity on the d-dimensional sphere and a clustering algorithm using the Poisson kernel-based densities. Functions for generating random samples from these densities are included. These methods are encoded via object-oriented and extensively unit-tested implementations. QuadratiK offers graphical functions that enhance user experience by facilitating the validation, visualization, and interpretation of clustering results. We compare QuadratiK with related available libraries and provide illustrative code examples. In summary, QuadratiK offers a powerful suite of tools in R and Python, enabling researchers and practitioners to perform meaningful analyses and derive valid and reproducible inference across a wide range of fields. The R and Python codes are available under the GPL-3.0 license. Finally, we propose a dashboard application, a graphical user interface to the implemented methods, with the aim to facilitate the usage of the software among practitioners from different domains.
2025
File in questo prodotto:
File Dimensione Formato  
1-s2.0-S2352711025001220-main.pdf

accesso aperto

Descrizione: Articolo: QuadratiK: A Python and R package for clustering on the sphere and goodness-of-fit tests
Tipologia: Published (Publisher's Version of Record)
Licenza: Creative commons
Dimensione 2.09 MB
Formato Adobe PDF
2.09 MB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11577/3556160
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex ND
social impact