Package: sparsecommunity 0.1.1
sparsecommunity: Spectral Community Detection for Sparse Networks
Implements spectral clustering algorithms for community detection in sparse networks under the stochastic block model ('SBM') and degree-corrected stochastic block model ('DCSBM'), following the methods of Lei and Rinaldo (2015) <doi:10.1214/14-AOS1274>. Provides a regularized normalized Laplacian embedding, spherical k-median clustering for 'DCSBM', standard k-means for 'SBM', simulation utilities for both models, and a misclustering rate evaluation metric. Also includes the 'NCAA' college football network of Girvan and Newman (2002) <doi:10.1073/pnas.122653799> as a benchmark dataset, and the Bethe-Hessian community number estimator of Hwang (2023) <doi:10.1080/01621459.2023.2223793>.
Authors:
sparsecommunity_0.1.1.tar.gz
sparsecommunity_0.1.1.zip(r-4.7-any)sparsecommunity_0.1.1.zip(r-4.6-any)sparsecommunity_0.1.1.zip(r-4.5-any)
sparsecommunity_0.1.1.tgz(r-4.6-any)sparsecommunity_0.1.1.tgz(r-4.5-any)
sparsecommunity_0.1.1.tar.gz(r-4.7-any)sparsecommunity_0.1.1.tar.gz(r-4.6-any)
sparsecommunity_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sparsecommunity/json (API)
| # Install 'sparsecommunity' in R: |
| install.packages('sparsecommunity', repos = c('https://neil-sps.r-universe.dev', 'https://cloud.r-project.org')) |
- football_A - NCAA college football network
- football_labels - NCAA college football network
- football_teams - NCAA college football network
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:8c100c579a. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 118 | ||
| source / vignettes | OK | 210 | ||
| linux-release | OK | 128 | ||
| macos-release | OK | 181 | ||
| macos-oldrel | OK | 238 | ||
| windows-devel | OK | 84 | ||
| windows-release | OK | 83 | ||
| windows-oldrel | OK | 83 | ||
| wasm-release | OK | 92 |
Exports:community_detectestimate_Kmisclustering_rateplot_screesimulate_dcsbmsimulate_sbm
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Spectral community detection for sparse networks | community_detect |
| Estimate the number of communities in a sparse network | estimate_K |
| NCAA college football network | football_A football_labels football_teams |
| Misclustering rate | misclustering_rate |
| Scree plot of regularized Laplacian eigenvalues | plot_scree |
| Plot the spectral embedding of a community detection fit | plot.sparsecommunity |
| Simulate from a degree-corrected stochastic block model | simulate_dcsbm |
| Simulate from a stochastic block model | simulate_sbm |
