Package: clusta 1.0-1

Karuna G. Reddy

clusta: Spectral, Distribution-Aware and Dynamic-Programming Clustering

Provides dynamic-programming clustering methods for one or more variables. For one variable, the package finds the globally optimal contiguous partition for the stated objective. Multivariate methods use projection, separating directions, sequence order, graph structure, or spectral unfolding. The main method is Spectral Mathematical Programming Dynamic Programming clustering, or S-MPDP. It unfolds non-convex data into one ordered signal and places cluster boundaries with a distribution-aware dynamic program. The package also provides cluster diagnostics, stability analysis, evaluation metrics, comparison methods, benchmark datasets, and base or 'ggplot2' figures. The distribution-aware dynamic-programming component follows Khan, Khan and Ahsan (2002) <doi:10.1177/0008068320020518>, Reddy and Khan (2018) <doi:10.1080/03610926.2018.1473609>, and Reddy and Khan (2020) <doi:10.1111/anzs.12301>. The exact one-dimensional clustering comparison follows Wang and Song (2011) <doi:10.32614/RJ-2011-015>. The spectral graph component builds on Shi and Malik (2000) <doi:10.1109/34.868688>, Ng, Jordan and Weiss (2002) <https://papers.nips.cc/paper/2092-on-spectral-clustering-analysis-and-an-algorithm>, and Zelnik-Manor and Perona (2004) <https://papers.nips.cc/paper/2619-self-tuning-spectral-clustering>.

Authors:Karuna G. Reddy [aut, cre], Gabiriele Bulivou [aut], M. G. M. Khan [aut]

clusta_1.0-1.tar.gz
clusta_1.0-1.zip(r-4.7-any)clusta_1.0-1.zip(r-4.6-any)
clusta_1.0-1.tar.gz(r-4.7-any)clusta_1.0-1.tar.gz(r-4.6-any)
clusta_1.0-1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
clusta/json (API)

# Install 'clusta' in R:
install.packages('clusta', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/karunaredz/clusta/issues

Datasets:
  • breast_cancer - Real and toy benchmark datasets used in the S-MPDP paper
  • cassini - Real and toy benchmark datasets used in the S-MPDP paper
  • ceramic - Real and toy benchmark datasets used in the S-MPDP paper
  • glass - Real and toy benchmark datasets used in the S-MPDP paper
  • image_segmentation - Real and toy benchmark datasets used in the S-MPDP paper
  • raisin - Real and toy benchmark datasets used in the S-MPDP paper
  • rice - Real and toy benchmark datasets used in the S-MPDP paper
  • smpdp_toy - Real and toy benchmark datasets used in the S-MPDP paper
  • v_shape - Real and toy benchmark datasets used in the S-MPDP paper
  • waveform - Real and toy benchmark datasets used in the S-MPDP paper

On CRAN:

Conda:

3.00 score 23 exports 6 dependencies

Last updated from:532c9ab7d5. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK321
source / vignettesOK307
linux-releaseOK319
windows-develOK238
windows-releaseOK182
wasm-releaseOK114

Exports:autoplot.smpdpclustaclusta_compareclusta_elbowcluster_metricscluster_stabilitydparetofriedman_ranksfviz_clustagen_cassinigen_concentric_circlesgen_non_convexgen_smileygen_three_spiralsgen_two_moonsgen_v_shapempdppparetoqparetorun_clustering_benchmarkssmpdp_sensitivityspectral_mpdpsuggest_k

Dependencies:fitdistrpluslatticeMASSMatrixrlangsurvival

Clustering using dynamic programming, from one variable to several
What clusta does | Exact clustering for one variable | Choosing an objective | Two variables | Several variables | Reading the optimality gap | Choosing the number of clusters | References

Last update: 2026-12-05
Started: 2026-12-05

Spectral MP-DP clustering with clusta
Overview | Worked example | Using the clusta interface | Real data example | Result contents | Choosing the number of clusters | Checking stability | Checking sensitivity | Comparing methods

Last update: 2026-12-05
Started: 2026-12-05