vblpcmroc | R Documentation |
Plot a Receiver Operating Curve to show model fit in terms of link prediction.
vblpcmroc(v.params, NUM=100)
v.params |
The fitted values; output from vblpcmfit() |
NUM |
The number of intervals on the roc curve |
A threshold is varied between zero and one. At each point the probability of a link between all pairs of nodes is calculated on the v.params argument containing a fitted vblpcm object. If greater than the threshold the link is "predicted" present, else it is "predicted" absent. A plot of the proportion of true and false positives for each threshold value is thus obtained.
The Area Under the Curve (AUC). The closer to 1 the better the fit.
Michael Salter-Townshend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.