Papers › Cluster Analysis with Resampling for Validation and Exploration (CARVE)

Cluster Analysis with Resampling for Validation and Exploration (CARVE)

29 May 2026arXiv:2606.00327added by Syntology

Kai R. Wycik, Tiffany M. Tang, Tarek M. Zikry, Genevera I. Allen

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Clustering is widely used across the sciences as the foundation for downstream data-driven scientific discoveries. However, clustering results are highly sensitive to the choice of algorithm, preprocessing, and the number of clusters k, producing scientific claims that are often not reproducible. The current state of the art for validating clustering solutions consists of clustering validation indices (CVIs) such as Silhouette, Davies-Bouldin, and Calinski-Harabasz, which rely on geometric assumptions that break down on the heavy-tailed, high-dimensional, and nonlinearly structured data encountered in biomedical research. Resampling-based alternatives - grounded in the ideas of clustering stability and generalizability - have been proposed but remain scattered across specialized tools with no unified, accessible software. We fill this gap with CARVE (Cluster Analysis with Resampling for Validation and Exploration), an open-source Python and R package that jointly evaluates multiple clustering algorithms and hyperparameters, returning stability and generalizability diagnostics at the global, cluster, and sample level together with principled selection rules and consensus-based cluster labels. Across six synthetic benchmarks CARVE consistently recovers near-optimal clusterings where classical indices degrade substantially. On experimental genomics and proteomics data sets, CARVE recovers finer biological structure when classical CVIs collapse entirely. CARVE is available with a scikit-learn-compatible Python API and an analogous R interface compatible with Seurat workflows.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2606.00327")

Code

Syntology Ran 10 of 12 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: found in paper text by Syntology: 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

DataSlingers/CARVE found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 10 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10ran
2unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from DataSlingers/CARVE. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

coerce_sweep_values DataSlingers/CARVE/src/carve/_sweep.py found in paper text by Syntology ran MIT (permissive) · 34be27a6daaabda7 · report
compute_consensus_matrix DataSlingers/CARVE/src/carve/_consensus.py found in paper text by Syntology ran MIT (permissive) · 264491ce72f42fdc · report
compute_consensus_metrics DataSlingers/CARVE/src/carve/_consensus.py found in paper text by Syntology ran MIT (permissive) · c6f0262e6419d8a4 · report
count_clusters DataSlingers/CARVE/src/carve/_utils.py found in paper text by Syntology ran MIT (permissive) · 7d75fb28a26a97d2 · report
estimate_knn_gamma DataSlingers/CARVE/src/carve/_grids.py found in paper text by Syntology ran MIT (permissive) · 6ad2456f5aff80c5 · report
plot_cluster_boxplot DataSlingers/CARVE/src/carve/_plotting.py found in paper text by Syntology ran MIT (permissive) · 806743fd6a3731d6 · report
plot_consensus_matrix DataSlingers/CARVE/src/carve/_plotting.py found in paper text by Syntology ran MIT (permissive) · 72780fea9728b867 · report
reorder_consensus_matrix DataSlingers/CARVE/src/carve/_consensus.py found in paper text by Syntology ran MIT (permissive) · 49c2f3326f7db18c · report
resolve_mode DataSlingers/CARVE/src/carve/_types.py found in paper text by Syntology ran MIT (permissive) · 66cb9e558d14b1d1 · report
split_subsample_indices DataSlingers/CARVE/src/carve/_utils.py found in paper text by Syntology ran MIT (permissive) · fe3b8d1a429bc576 · report
compute_generalizability_scores DataSlingers/CARVE/src/carve/_accuracy.py found in paper text by Syntology unverified MIT (permissive) · b303ff9c745d3fef · report
plot_metric_over_n_clusters DataSlingers/CARVE/src/carve/_plotting.py found in paper text by Syntology unverified MIT (permissive) · f6d8c016eaf3b9b0 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.00327, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections