24 Sep 2013 sness   » (Journeyer)

weka - Making predictions

weka - Making predictions: "Classifiers
After a model has been saved, one can make predictions for a test set, whether that set contains valid class values or not. The output will contain both the actual and predicted class. (Note that if the test class contains simply '?' for the class label for each instance, the "actual" class label for each instance will not contain useful information, but the predicted class label will.) The "-T " command-line switch specifies the dataset of instances whose classes are to be predicted, while the "-p " switch allows the user to write out a range of attributes (examples: "1-2" for the first and second attributes, or "0" for no attributes). Sample command line:

java weka.classifiers.trees.J48 -T unclassified.arff -l j48.model -p 0"

'via Blog this'

Syndicated 2013-09-24 18:54:00 from sness

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!