machine learning - How can weka in Java classify one sample and print the result rather than read arff files? -


because read non-classify samples line line, , want append classify result end of each line, have load weka model file. can use weka in java classify 1 sample rather read arff files?

yes. use evaluation.evaluationforsingleinstance estimate single case.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -