RE: How apply a model to a test file?
2002-11-01 13:32:30 GMT
>optionally save result of classification to MyResults.txt java weka.classifiers.trees.j48.J48 -T MyInstance.arff -l MyTree.tree -p 0 > MyResults.txt Thank you. But how can I output the results to a file? Maybe need other parameters? I use weka-3-3-4, it doesn't work with "> MyResults.txt", and can I use the explorer to do the same task? Best regards, alex -----Original Message----- From: Olumide [mailto:50295 <at> web.de] Sent: 2002-11-1 (星期五) 6:45 To: Ren Li-An Cc: wekalist <at> list.scms.waikato.ac.nz Subject: Re: [Wekalist] How apply a model to a test file? > > >I have gotten the model by training a classifier, but how can I get the prediction results of a test file which has not any target? > What I do - and I don't know if there is a better way - is that I create another ARFF file with the data I wish to classify BUT with a "dummy" classification and then I pass this to the trained classifier e.g:(Continue reading)