|
Last change
on this file since 27 was
26,
checked in by gnappo, 15 years ago
|
|
Aggiunto output in formato XML dei dati; modificato MQI (adesso cerca nella partizione piu` grande).
|
-
Property svn:executable set to
*
|
|
File size:
587 bytes
|
| Rev | Line | |
|---|
| [25] | 1 | #!/bin/bash |
|---|
| 2 | index=0 |
|---|
| [26] | 3 | execution=10 |
|---|
| [25] | 4 | file=../../reteUtentiMikeHidden.arff |
|---|
| 5 | lib=../../lib/* |
|---|
| 6 | bin=build/classes |
|---|
| 7 | curDir=`pwd` |
|---|
| 8 | |
|---|
| [26] | 9 | outputFolder=$curDir/output/metis/ |
|---|
| 10 | prefixOutput=metis |
|---|
| 11 | random=false |
|---|
| [25] | 12 | |
|---|
| [26] | 13 | suffixOutput=.xml |
|---|
| [25] | 14 | |
|---|
| 15 | cd $bin |
|---|
| 16 | while [ "$index" -lt "$execution" ] |
|---|
| 17 | do |
|---|
| 18 | echo "Clustering task #$index" |
|---|
| [26] | 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 |
|---|
| [25] | 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.