Returns (marginal/conditional) Shannon information of the Ising model.
IsingEntrophy(graph, thresholds, beta = 1, conditional = numeric(0),
marginalize = numeric(0), base = 2, responses = c(0L, 1L))
Weights matrix
Thresholds vector
Inverse temperature
Indices of nodes to condition on
Indices of nodes to marginalize over
Base of the logarithm
Vector of outcome responses.
Sacha Epskamp <mail@sachaepskamp.com>