I have created a text
file from MATLAB named temp.train.txt
I am using Weka 3.5.4 / Simple CLI
when i run this command
java weka.core.converters.ArffLoader temp.train.txt
i could see that it loads my dataset and displays on the screen.
Now i want to build a decision tree for this dataset. So i used this
java weka.classifiers.trees.J48 -t temp.train.txt
i got the following error message :
Weka exception: Can\'t open file No suitable converter found for
as i understand ArffLoader could load the data.
but how to build decision tree together with Arffloader i am not
Rename the extension to ".arff" and you should be fine. How to load
files you pass on to a classifier with -t or -T will be determined based
on the extension, i.e., you can load CSV, C4.5, libsvm, ARFF, XRFF, etc
files. ".txt" is not associated with any Loader, hence the error message.
BTW I recommend upgrading to 3.5.5 or a snapshot (available from the
Download section on the Weka homepage), since there were some
significant bugfixes since 3.5.4.
Peter Reutemann, Dept. of Computer Science, University of Waikato, NZ
Ph. +64 (7) 858-5174