Thursday, July 03, 2008

weka




Making predictions with Weka

Saving and loading models

You save a trained classifier with the -d option (dumping), e.g.:


java weka.classifiers.trees.J48 -t /some/where/train.arff -d /other/place/j48.model


And you can load it with -l and use it on a test set, e.g.:

java weka.classifiers.trees.J48 -l /other/place/j48.model -T /some/where/test.arff


weka commandline primer
Running weka from the command line
AddClassification
[Wekalist] How to attach instance IDs to classified instances?
Batch Filtering in Weka