I am using the Naive Bayes Classes in Weka to automatically classify a generated dataset. However, I am having trouble compiling the program. I followed the embedded machine learning example given in the textbook. The statement
flag an error of "unreported exception
java.lang.Exception; must be caught or declared to be thrown".
Could anyone give me a hint as I could not create a new empty dataset?