plot.verify.cv: plot.verify.cv

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

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

Arguments

x

An objet of class 'verify.cv'.

...

Currently ignored.

Details

The verify.cv function estimates the quality of the attack with a k-cross-validation approach and this function plots it.

Value

This function plots the quality of an attack of a verify.cv 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 = c(sample(1:128,15),sample(129:256,15))
traces = traces[newIndice,]
key = key[newIndice]+1

#model checking
attack=verify.cv(model=dpa1,filter=filter.PCA,X=traces,Y=key,nbreVarX=c(2:4),k=3)
plot(attack)

Example output

Loading required package: MASS
Loading required package: corpcor
Loading required package: mmap
Loading required package: ade4
Loading required package: infotheo

Attaching package: 'sideChannelAttack'

The following object is masked from 'package:stats':

    gaussian

sideChannelAttack documentation built on May 2, 2019, 3:40 p.m.