Research Article

A Bayesian Classification Intrusion Detection Method Based on the Fusion of PCA and LDA

Algorithm 2

(1)Using matrix Y, calculate the intraclass divergence matrix defined as in (15)
(2)Using matrix Y, calculate the interclass divergence matrix defined as in (14)
ā€‰P(i) is a prior probability, and u is a mean vector
(3)Perform eigenvalue decomposition on the matrix
(4)Take the eigenvector corresponding to the largest d eigenvalues
(5)Composition of a new matrix