KLdivergence: Kullback Leibler divergence Calculates the KL divergence...

Description Usage Arguments Value

Description

Kullback Leibler divergence Calculates the KL divergence between the random cluster model and the erdos-renyi model

Usage

1
KLdivergence(x, n.nodes, p.true, p.mod)

Arguments

x

Matrix with sampled configurations

n.nodes

The number of nodes in the model

p.true

The p vthat was sampled with in the erdos renyi model

p.mod

The p value of the model

Value

The kl divergence between the Erdos-Renyi model and the Random Cluster model


TimoMatzen/RandomCluster documentation built on May 15, 2019, 11:48 a.m.