Fast, Robust, and Outlier Resistant Hierarchical Clustering
Overview
Implements a basic version of the hierarchical clustering algorithm 'Genie' which links two point groups in such a way that an inequity measure (namely, the Gini index) of the cluster sizes does not significantly increase above a given threshold. This method most often outperforms many other data segmentation approaches in terms of clustering quality as tested on a wide range of benchmark datasets. At the same time, Genie retains the high speed of the single linkage approach, therefore it is also suitable for analysing larger data sets. For more details see (Gagolewski et al. 2016 DOI:10.1016/j.ins.2016.05.003). For a faster and more feature-rich implementation, see the 'genieclust' package (Gagolewski, 2021 DOI:10.1016/j.softx.2021.100722).
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 2includes a package overview page
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/gagolews/genie on 2026-10-18.
Dependencies
Installing genie adds 4 packages (4 with compiled code, 1.9 MB of source tarballs). Heaviest: Rcpp 1.8 MB, genieclust 73 KB, quitefastmst 42 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.7Latest
- 1.0.62025-12-01 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.52020-08-03 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.0.4
- RR 3.4.0 released · 2017-04-21
- 1.0.22016-05-25 · diff ↗
- RR 3.3.0 released · 2016-05-03
Show 2 earlier eventsHide 2 earlier events
- 1.0.02016-03-07
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2016-03-07
- Total releases
- 6 / 10 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 26 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("genie")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1016/j.ins.2016.05.003.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.