Our goal is to develop an algorithm for feature extraction and classification to be used in building brain-computer interfaces. In this paper, we present preliminary results for classifying EEG data of imaginary wrist movements. We have developed an algorithm based on the spatio-temporal features of the recorded EEG signals. We discuss the differences between the feature vectors selected for both actual and imaginary wrist movements and compare classification results