找回密码
 注册
查看: 315|回复: 0

R语言 sideChannelAttack包 verify.ho()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:04:23 | 显示全部楼层 |阅读模式
verify.ho(sideChannelAttack)
verify.ho()所属R语言包:sideChannelAttack

                                        verify.ho
                                         verify.ho

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

The verify.ho function allows to estimate the quality of a model (an attack) with a hold-out approach.
verify.ho功能允许评估一个模型(攻击)的质量与保持的方法。


用法----------Usage----------


verify.ho(model, filter, Xlearn, Ylearn, Xval, Yval, nbreVarX,...)



参数----------Arguments----------

参数:model
A model such as randomForest, gaussian, svm, etc.
如模型,SVM,randomForest,高斯等


参数:filter
A feature selection such as filter.PCA, filter.mRMR, etc.
一个特点选择,如filter.PCA,filter.mRMR等


参数:Xlearn
A matrix where each row is a physical measure for the training set.
一个矩阵,其中每一行是一个训练集的物理措施。


参数:Ylearn
A binary vector where the i_th element of the vector Ylearn is the key for the i_th physical measure in the matrix Xlearn.
一个二进制向量,其中的i_th元素的向量Ylearn矩阵中的i_thXlearn物理措施是关键。


参数:Xval
A matrix where each row is a physical measure for the validation set.
一个矩阵,其中每一行是一个物理测量验证集。


参数:Yval
A binary vector where the i_th element of the vector Yval is the key for the i_th physical measure in the matrix Xval.
一个二进制向量,其中的i_th元素的向量Yval矩阵中的i_thXval物理措施是关键。


参数:nbreVarX
The number of variables which represents each physical measure after the reduction by the feature selection.
变量的数目表示每个物理措施后减少的特征选择。


参数:...
Currently ignored.
目前忽略不计。


Details

详细信息----------Details----------

The verify.ho function estimates the quality of the attack with a hold-out approach. It cuts randomly the set of observations in two subsets. The first one is retained as the training and the second is used for the validation phase where the quality of the model is estimatedby counting the number of time where model predicts correctly the key.
verify.ho估计质量保持的攻击方法。它减少随机观察组在两个子集。第一个是保留的培训,二是用于验证阶段,素质模型的estimatedby计算模型预测的时间,在正确的关键。


值----------Value----------

The verify.ho function returns an object which can be used with the plot function to plot the quality of the model.
verify.ho函数返回一个对象,它可以使用plot功能绘制的模型的质量。

The value of this function is an object of class verify.ho, which is a list with the following components:
此函数的值是一个对象的类verify.ho,它是一个具有下列组件列表:


参数:TP
number of true positive
真阳性的数目


参数:TN
number of true negative
真阴性数


参数:FN
number of false negative
假阴性的数目


参数:FP
number of false positive
假阳性的数目


参数:dim
the number of variables which represents each physical measure after the reduction by the feature selection.
的变量的数量,它代表由特征选择的减少后的每个物理措施。


(作者)----------Author(s)----------


Liran Lerman <a href="mailto:llerman@ulb.ac.be">llerman@ulb.ac.be</a> &amp; Gianluca Bontempi <a href="mailto:gbonte@ulb.ac.be@ulb.ac.be">gbonte@ulb.ac.be@ulb.ac.be</a> &amp; Olivier Markowitch <a href="mailtolivier.markowitch@ulb.ac.be">olivier.markowitch@ulb.ac.be</a>



实例----------Examples----------


#data collection[数据收集]
data(powerC)
traces = powerC[,-301]
key = powerC[,301]
newIndice = sample(1:256)
traces = traces[newIndice,]
key = key[newIndice]

#model checking[模型检查]
attack=verify.ho(model=gaussian,filter=filter.mRMR,Xlearn=traces[1:128,],Ylearn=key[1:128],Xval=traces[128:256,],Yval=key[128:256],nbreVarX=c(1:15))
plot(attack)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-22 14:34 , Processed in 0.021886 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表