Replaced the linear classifier by the LDA algorithm of the package sklearn