Hi,
I'm using this command line to train a model:
Now I want to use the model obtained to test new datasets. These datasets also need to have the attribute 9 removed, and also contain string attributes. I'm trying different combinations but I can't get the correct one. For example:
But it complains about illegal options.
Any suggestion about the structure this command should have?
Thanks in advance
I'm using this command line to train a model:
Code:
java -Djava.util.Arrays.useLegacyMergeSort=true weka.classifiers.meta.FilteredClassifier
-t $MYPATH/inputs/$1.arff
-x 3 -s ${i} -p 1 -distribution
-d $MYPATH/results/$1.model2
-F "weka.filters.MultiFilter
-F \"weka.filters.unsupervised.attribute.Remove -R 9\"
-F \" weka.filters.unsupervised.attribute.RemoveType -T string\"
-F \"weka.filters.supervised.instance.SMOTE -C 0 -K 5 -P $2 -S 1\""
-W weka.classifiers.functions.MultilayerPerceptron -- -L 0.3 -M 0.2 -N 500 -V 0 -S 0 -E 20 -H 0 > $MYPATH/results/100test/$1.${i}-p2.rbf
Code:
java -Djava.util.Arrays.useLegacyMergeSort=true weka.classifiers.meta.FilteredClassifier
-l $MYPATH/$1/results/$1.model2
-T $MYPATH/${swp}/inputs/${swp}.arff
-x 3 -s ${i} -p 1 -distribution
-F "weka.filters.unsupervised.attribute.Remove -R 9"
-W weka.classifiers.functions.MultilayerPerceptron -- -L 0.3 -M 0.2 -N 500 -V 0 -S 0 -E 20 -H 0 > $MYPATH/$1/results/100test/$1.${i}.$swp.rbf
Any suggestion about the structure this command should have?
Thanks in advance