Search code examples
wekarweka

Weka exception: Can't open file iris.arrf


I am trying to run a script from command line for Weka classification task, it is working perfectly for training CSV data. But for Arrf file it is not working.

Command:

java -cp "C:\Program Files\Weka-3-8-5\weka.jar" weka.classifiers.trees.J48 -t iris.arrf

Error: Weka exception: Can't open file iris.arrf.

The Iris file is the sample data obtained from Weka/data folder so I don't know where is the issue.


Solution

  • You misspelled the file name, using .arrf instead of .arff.