fastRG

From MaRDI portal
(Redirected from Software:1354428)
FastRG



swMATH40896CRANfastRGMaRDI QIDQ1354428FDOQ1354428

Sample Generalized Random Dot Product Graphs in Linear Time

Xintian Han, Alex Hayes, Norbert Binkiewicz, Karl Rohe, Jun Tao

Last update: 21 August 2023

Copyright license: MIT license, File License

Software version identifier: 0.3.1, 0.3.0, 0.3.2

Official website: https://cran.r-project.org/web/packages/fastRG/index.html

Source code repository: https://github.com/cran/fastRG

Samples generalized random product graphs, a generalization of a broad class of network models. Given matrices X, S, and Y with with non-negative entries, samples a matrix with expectation X S Y^T and independent Poisson or Bernoulli entries using the fastRG algorithm of Rohe et al. (2017) <https://www.jmlr.org/papers/v19/17-128.html>. The algorithm first samples the number of edges and then puts them down one-by-one. As a result it is O(m) where m is the number of edges, a dramatic improvement over element-wise algorithms that which require O(n^2) operations to sample a random graph, where n is the number of nodes.




Cited In (2)


This page was built for software: fastRG