validate(minet)
validate()所属R语言包:minet
Inference Validation
推理验证
译者:生物统计家园网 机器人LoveR
描述----------Description----------
validate compares the infered network to the true underlying network for several threshold values and appends the resulting confusion matrices to the returned object.
validate比较推导网络真正的底层网络造成混乱矩阵数的阈值,并追加到返回的对象。
用法----------Usage----------
validate(inet,tnet)
参数----------Arguments----------
参数:inet
This is the infered network, a data.frame or matrix obtained by one of the functions minet, aracne, clr or mrnet .
这是推导网络,获得数据框或矩阵由职能MINET,aracne,CLR或mrnet之一。
参数:tnet
The true underlying network. This network must have the same size and variable names as inet.
真正的底层网络。这个网络必须具有相同的大小,为inet和变量名。
Details
详情----------Details----------
The first network inet is compared to the true underlying network, tnet, in order to compute a confusion (adjacency) matrix. All the confusion matrices, obtained with different threshold values, are appended to the returned object. In the end the validate function returns a data.frame containing steps+1 confusion matrices.
第一网络inet比真正的底层网络,tnet,以计算混淆矩阵(邻接)。所有的混乱矩阵,获得不同的阈值,被追加到返回的对象。到底validate函数返回一个数据框包含steps+1混乱矩阵。
值----------Value----------
validate returns a data.frame whith four columns named thrsh, tp, fp, fn. These values are computed for each of the steps thresholds. Thus each row of the returned object contains the confusion matrix for a different threshold.
validate返回一个数据框蒙山四列名为thrsh, tp, fp, fn。每个steps阈值计算这些值。因此,返回的对象的每一行包含不同的阈值的混淆矩阵。
参见----------See Also----------
minet, vis.res
minet,vis.res
举例----------Examples----------
data(syn.data)
data(syn.net)
inf.net <- mrnet(build.mim(syn.data, estimator="spearman"))
table <- validate( inf.net, syn.net )
table <- validate( inf.net, syn.net )
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|