scalib.modeling#
Linear Discriminant Analysis (LDA)#
LDA is a also known as pooled Gaussian templates in the side-channel litterature.
LDAClassifier is the main implementation of the LDA, and
MultiLDA is a convenience wrapper for profiling multiple
variables using the same traces (but possibly different sets of POIs).
Models the leakage \(\mathbf{l}\) with \(n_s\) dimensions using the linear discriminant analysis classifier (LDA) with integrated dimensionality reduction. |
|
Perform LDA on nv distinct variables for the same leakage traces. |
|
Models the leakage \(\mathbf{l}\) with \(n_s\) dimensions using the linear discriminant analysis classifier (LDA) with integrated dimensionality reduction. |
|
See |
|
Regression-based Linear Discriminant Analysis. |