plot.verify.ho

Share:

Description

Plot the quality of an attack of a verify.ho object.

Usage

1
2
## S3 method for class 'verify.ho'
plot(x, ...)

Arguments

x

An objet of class 'verify.ho'.

...

Currently ignored.

Details

The verify.ho function estimates the quality of the attack with a hold-out approach and this function plots it.

Value

This function plots the quality of an attack of a verify.ho object.

Author(s)

Liran Lerman llerman@ulb.ac.be & Gianluca Bontempi gbonte@ulb.ac.be@ulb.ac.be & Olivier Markowitch olivier.markowitch@ulb.ac.be

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#data collection
data(powerC)
traces = powerC[,-301]
traces = traces[,1:10]
key = powerC[,301]
newIndice = sample(1:256)
traces = traces[newIndice,]
key = key[newIndice]+1

#model checking 
attack=verify.ho(model=gaussian,filter=filter.PCA,Xlearn=traces[1:128,],Ylearn=key[1:128],Xval=traces[129:256,],Yval=key[129:256],nbreVarX=c(2:4))
plot(attack)