The aim of this study is to implement a high-accuracy automatic detector of the Cyclic Alternating Pattern (CAP) during sleep. EEG data from four healthy subjects were used. Both the C4-A1 and the F4-C4 leads were analyzed for this study. Seven features were extracted from each of the two leads and two separate studies were performed for each set of descriptors. For both sets, a Support Vector Machine was trained and tested on the data with the Leave One Out cross-validation method. The two final classifications obtained on the two sets were merged, by considering a CAP A phase scored only if it had been recognized both on the central and on the frontal lead. The length of the A phase was then determined by the result on the fronto-central ...