Created
October 17, 2019 14:43
-
-
Save filipsPL/514e21a5cd3e0e5dc276a896fe7c80b3 to your computer and use it in GitHub Desktop.
A shell script for running grid search in weka from the command line.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export CLASSPATH=/home/username/progs/weka-3-8-2/weka.jar | |
java weka.Run weka.classifiers.meta.GridSearch \ | |
-t train.arff \ | |
-d svm.model \ | |
-c last \ | |
-num-slots 2 \ | |
-sample-size 67 \ | |
-E WAUC -y-property kernel.gamma -y-min -15.0 -y-max 3.0 -y-step 1.0 -y-base 2.0 \ | |
-x-property c -x-min -2.0 -x-max 15.0 -x-step 1.0 -x-base 2.0 -extend-grid -max-grid-extensions 2 -sample-size 100.0 \ | |
-traversal COLUMN-WISE -log-file gridsearch.log -num-slots 2 -S 1 -W weka.classifiers.functions.SMO -output-debug-info \ | |
-num-decimal-places 4 -- -C 1.0 -L 0.001 -P 1.0E-12 -N 0 -V -1 -W 1 \ | |
-K "weka.classifiers.functions.supportVector.RBFKernel -C 250007 -G 0.01" -calibrator "weka.classifiers.functions.Logistic -R 1.0E-8 -M -1 -num-decimal-places 4" -num-decimal-places 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment