Question: how to convert text file to arff format in weka?
Answer: (Tools -> ArffViewer or Ctrl+A). Then open your CSV file. Next go to File -> Save as... and select Arff data files (should be selected by default.