Plot a Receiver Operating Curve to show model fit in terms of link prediction.
绘制受试者工作曲线显示在链接预测模型的拟合。
用法----------Usage----------
参数----------Arguments----------
参数:v.params
The fitted values; output from vblpcmfit()
拟合值;输出vblpcmfit()
参数:NUM
The number of intervals on the roc curve
roc曲线上的间隔数
Details
详细信息----------Details----------
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.
A阈值是变化的零和一之间。在每一个点的概率计算所有节点对之间的联系的v.params参数包含一个装有vblpcm对象。如果大于阈值的链路是“预测”本,否则它是“预测”缺席。真和假阳性的每个阈值的比例,从而获得一个图。
值----------Value----------
The Area Under the Curve (AUC). The closer to 1 the better the fit.
曲线下面积(AUC)。越接近1,更好的拟合。