reconstruct the project and start to use bayes classifier