source: script/ripetiprova.sh @ 25

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
2index=0
3execution=5
4file=../../reteUtentiMikeHidden.arff
5lib=../../lib/*
6bin=build/classes
7curDir=`pwd`
8
9outputFolder=$curDir/output/random/
10prefixOutput=random
11random=true
12
13suffixOutput=.dat
14
15cd $bin
16while [ "$index" -lt "$execution" ]
17do
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`
21done
22cd $curDir
23
24echo
25
26exit 0
Note: See TracBrowser for help on using the repository browser.