1
votes

Because I read the non-classify samples line by line, and I want to append the classify result to the end of each line, I have load the weka model file. Can I use weka in java to classify one sample rather than read arff files?

1

1 Answers

1
votes

Yes. You could use Evaluation.evaluationForSingleInstance to estimate for a single case.