converter from "output.txt" to CSV and arff (WEKA)