#!/bin/sh

#classifier="weka.classifiers.bayes.NaiveBayesMultinomial"
classifier="weka.classifiers.functions.SMO"

java -cp ~/Downloads/weka-3-8-0/weka.jar $classifier -t $1 -T spam_test.arff # > "$1_results.txt"

#!/bin/sh

#classifier="weka.classifiers.bayes.NaiveBayesMultinomial"
classifier="weka.classifiers.functions.SMO"

java -cp ~/Downloads/weka-3-8-0/weka.jar $classifier -t $1 -T spam_test.arff -v -o # > "$1_results.txt"

Add -v and -o options to weka classification to simplify output.
Add -v and -o options to weka classification to simplify output.
