Last change
on this file since 25 was
25,
checked in by gnappo, 14 years ago
|
Piccola modifica al generatore pseudo casuale da cui è possibile farsi restituire il seme. Aggiunta di alcuni script per analizzare l'output e creazione struttura directory provvisioria per l'output.
|
-
Property svn:executable set to
*
|
File size:
498 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | index=0 |
---|
3 | execution=5 |
---|
4 | file=../../reteUtentiMikeHidden.arff |
---|
5 | lib=../../lib/* |
---|
6 | bin=build/classes |
---|
7 | curDir=`pwd` |
---|
8 | |
---|
9 | outputFolder=$curDir/output/random/ |
---|
10 | prefixOutput=random |
---|
11 | random=true |
---|
12 | |
---|
13 | suffixOutput=.dat |
---|
14 | |
---|
15 | cd $bin |
---|
16 | while [ "$index" -lt "$execution" ] |
---|
17 | do |
---|
18 | echo "Clustering task #$index" |
---|
19 | java -Xms256m -Xmx1024m -cp .:$lib weka.clusterers.MetisMQIClusterer -V 0 -R $random -S 100 -N 50 -t $file > $outputFolder$prefixOutput$index$suffixOutput |
---|
20 | index=`expr $index + 1` |
---|
21 | done |
---|
22 | cd $curDir |
---|
23 | |
---|
24 | echo |
---|
25 | |
---|
26 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.