I have some text files that I divided them to train and test files. Each line of them contains a Persian sentence and then an English word which shows the sentence's class. Now I want to classify them with multilayer perceptron and SMO using weka. For that, first after choosing the train file, I selected "choose/unsupervised/attribute/string to word vector". Then I classified the train files with multi layer perceptron,choosing "use training set". Now I have to open the test file. But the problem is, because I changed the train file to vector in previous step, but the test file is string, weka gives error that the train file and test file format are not compatible. How can I change the test file to vector as like as the train file? (I don't want to use "percentage split". I have to give weka, the train and test files separately). I've enclosed a train and test file sample.

More Vahideh Torabi's questions See All
Similar questions and discussions