predictive.link.probability(edgelist, document_sums, alpha, beta)dim(document_sums)[1].dim(edgelist)[1], representing the
probability of a link existing between each pair of documents given in
the edge list.document_sums[,i] and document_sums[,j]. After
normalizing document_sums column-wise, this inner
product is weighted by beta. This quantity is then passed to a
link probability function. Like
rtm.collapsed.gibbs.sampler in this package, only the
exponential link probability function is supported. Note that
quantities are automatically scaled to be between 0 and 1.
rtm.collapsed.gibbs.sampler for the format of
document_sums. links.as.edgelist produces values
for edgelist. predictive.distribution makes
predictions about document content instead.