Machine learning example code using WEKA