In recent years, brain-computer communication systems have been regarded as a new way of communication for humans. One of the applications of brain-computer communication is the development of systems which facilitates communication. To this end, it is necessary to extract the visually evoked signals from the EEG signal and classify it. In this research, common methods such as wavelet transform are applied in order to extract features. However, genetic algorithm, as an evolutionary method, is used to select features. Finally, after selecting features, the classification was done using the two approaches support vector machine and Bayesian method. Five features were selected and the accuracy of Bayesian classification was measured to be 80% with dimension reduction, and 78% without dimension reduction. Ultimately, the classification accuracy reached 90.4% using SVM classifier. The results of the study indicate a better feature selection and the effective dimension reduction of these features, as well as a higher percentage of classification accuracy in comparison with other studies.