Skip to content
Adrian Wilke edited this page Mar 3, 2020 · 16 revisions

Resources

LSQ

LSQ insights

Weka / ARFF

Weka usage

  • To use J48, you may have to add the filters NumericToNominal and StringToNominal.

Weka code

LsqSpinToArff

For multiple runs, you can create a directory containing files named as follows:

SELECT-1-pos.txt  
SELECT-1-neg.txt  
SELECT-2-pos.txt  
SELECT-2-neg.txt  
...

Create a file with prefixes using the command ls -1 DIRECTORY > prefixes.txt.
Remove the -pos.txt and -neg.txt parts.
Use the following terminal/console code to process all files:

for i in `cat prefixes.txt`; do
echo $i;

java \
 -Xms1200m -Xmx1200m    \
 -jar LsqSpinToArff-jar-with-dependencies.jar \
DIRECTORY/$i-pos.txt \
DIRECTORY/$i-neg.txt \
./results \
lsq-cli-1.0.0-jar-with-dependencies.jar

done
Clone this wiki locally