Package: BLSM 0.1.0
BLSM: Bayesian Latent Space Model
Provides a Bayesian latent space model for complex networks, either weighted or unweighted. Given an observed input graph, the estimates for the latent coordinates of the nodes are obtained through a Bayesian MCMC algorithm. The overall likelihood of the graph depends on a fundamental probability equation, which is defined so that ties are more likely to exist between nodes whose latent space coordinates are close. The package is mainly based on the model by Hoff, Raftery and Handcock (2002) <doi:10.1198/016214502388618906> and contains some extra features (e.g., removal of the Procrustean step, weights implemented as coefficients of the latent distances, 3D plots). The original code related to the above model was retrieved from <https://www.stat.washington.edu/people/pdhoff/Code/hoff_raftery_handcock_2002_jasa/>. Users can inspect the MCMC simulation, create and customize insightful graphical representations or apply clustering techniques.
Authors:
BLSM_0.1.0.tar.gz
BLSM_0.1.0.zip(r-4.5)BLSM_0.1.0.zip(r-4.4)BLSM_0.1.0.zip(r-4.3)
BLSM_0.1.0.tgz(r-4.4-x86_64)BLSM_0.1.0.tgz(r-4.4-arm64)BLSM_0.1.0.tgz(r-4.3-x86_64)BLSM_0.1.0.tgz(r-4.3-arm64)
BLSM_0.1.0.tar.gz(r-4.5-noble)BLSM_0.1.0.tar.gz(r-4.4-noble)
BLSM_0.1.0.tgz(r-4.4-emscripten)BLSM_0.1.0.tgz(r-4.3-emscripten)
BLSM.pdf |BLSM.html✨
BLSM/json (API)
NEWS
# Install 'BLSM' in R: |
install.packages('BLSM', repos = c('https://adonizetti.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/adonizetti/blsm/issues
- example_adjacency_matrix - Example Adjacency Matrix
- example_blsm_obj - Example BLSM object
- example_weights_matrix - Example Weights Matrix
Last updated 7 years agofrom:8874154868. Checks:OK: 4 NOTE: 5. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 06 2024 |
R-4.5-win-x86_64 | NOTE | Nov 06 2024 |
R-4.5-linux-x86_64 | NOTE | Nov 06 2024 |
R-4.4-win-x86_64 | NOTE | Nov 06 2024 |
R-4.4-mac-x86_64 | NOTE | Nov 06 2024 |
R-4.4-mac-aarch64 | NOTE | Nov 06 2024 |
R-4.3-win-x86_64 | OK | Nov 06 2024 |
R-4.3-mac-x86_64 | OK | Nov 06 2024 |
R-4.3-mac-aarch64 | OK | Nov 06 2024 |
Exports:dstestimate_latent_positionslpz_distplot_latent_positionsplot_traceplots_acfproc_crr
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Update step for the alpha variable | alpha_up |
Bayesian Latent Space Model | BLSM-package BLSM |
Geodesic distance | dst |
BLSM simulation | estimate_latent_positions |
Example Adjacency Matrix | example_adjacency_matrix |
Example BLSM object | example_blsm_obj |
Example Weights Matrix | example_weights_matrix |
Network log-likelihood | lpY |
Network log-likelihood for individual updates | lpYNODE |
Distance between latent positions | lpz_dist |
lpz_dist optimized for individual updates | lpz_distNODE |
Network (positive) log-likelihood | mlpY |
Base BLSM plot function | plot_latent_positions |
BLSM traceplots and ACF | plot_traceplots_acf |
Procrustean corresponding positions | proc_crr |
Update step for the latent positions | Z_up |