Last change
on this file since 34 was
29,
checked in by gnappo, 14 years ago
|
Taggata versione per la demo e aggiunto branch.
|
-
Property svn:executable set to
*
|
File size:
587 bytes
|
Rev | Line | |
---|
[29] | 1 | #!/bin/bash |
---|
| 2 | index=0 |
---|
| 3 | execution=10 |
---|
| 4 | file=../../reteUtentiMikeHidden.arff |
---|
| 5 | lib=../../lib/* |
---|
| 6 | bin=build/classes |
---|
| 7 | curDir=`pwd` |
---|
| 8 | |
---|
| 9 | outputFolder=$curDir/output/metis/ |
---|
| 10 | prefixOutput=metis |
---|
| 11 | random=false |
---|
| 12 | |
---|
| 13 | suffixOutput=.xml |
---|
| 14 | |
---|
| 15 | cd $bin |
---|
| 16 | while [ "$index" -lt "$execution" ] |
---|
| 17 | do |
---|
| 18 | echo "Clustering task #$index" |
---|
| 19 | fileOutput=$outputFolder$prefixOutput$index$suffixOutput |
---|
| 20 | logOutput=$outputFolder$prefixOutput$index.log |
---|
| 21 | java -Xms256m -Xmx1024m -cp .:$lib weka.clusterers.MetisMQIClusterer -V 0 -R $random -S 100 -N 30 -o $fileOutput -t $file >> $logOutput |
---|
| 22 | index=`expr $index + 1` |
---|
| 23 | done |
---|
| 24 | cd $curDir |
---|
| 25 | |
---|
| 26 | echo |
---|
| 27 | |
---|
| 28 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.