build_graph
From topicmodels v0.24
by Bettina Gruen
Construct the adjacency matrix for a topic graph
The lasso is used to determine which edges are present in a topic graph. The original R code was written by David M. Blei and coauthors and is available together with the C code for fitting the CTM.
 Keywords
 dplot
Usage
build_graph(x, lambda, and = TRUE)
Arguments
 x
 Object of class
"CTM"
.  lambda
 Numeric in $[0,1]$ indicating the relative bound on the L1norm of the parameters.
 and
 Logical; if
TRUE
the graph is computed by taking the intersection of the neighbors, otherwise the union is determined.
Value

Returns an adjacency matrix for the topics versus topics graph.
References
Blei D.M., Lafferty J.D. (2007). A Correlated Topic Model of Science. The Annals of Applied Statistics, 1(1), 1735.
Community examples
Looks like there are no examples yet.