separate SVM and data handling in R_cycle