X,Y and Z data for SVM and Naive Bayes classification