In this tutorial, I showed how to interact with the Weka API for the first time with a simple Java code. In this code, I have loaded an ARFF file called 2.arff and then used Naive Bayes classifier with a 10 fold CV setup. I showed the standard output of Weka on the Eclipse output as well as the F-score, precision and recall of the 10 fold CV.
آی-ویدئو