Arguments

A vector where the i_th element of the vector y is the key for the i_th physical measure in the matrix x.

nbreVarX

The number of variables which represents each physical measure after the reduction by the feature selection.

k

The number of traces in the validation set.

param.model

A list of parameters to insert into the model.

param.fs

A list of parameters to insert into the feature selection algorithm.

...

Currently ignored.

Details

The verify.cv function estimates the quality of the attack with a k-cross-validation approach. It is executed in N/k rounds. Each round uses N-k traces to learn a model and the remaining trace to assess the generalization accuracy of the model. This is repeated until every set of k traces has been used for testing purposes. The best model is the one that maximizes the value returned by k-cross-validation.

Value

The verify.cv function returns an object which can be used with the plot function to plot the quality of the model.

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.