source: branches/MetisMQI/script/ripetiprova.sh @ 29

Last change on this file since 29 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
RevLine 
[29]1#!/bin/bash
2index=0
3execution=10
4file=../../reteUtentiMikeHidden.arff
5lib=../../lib/*
6bin=build/classes
7curDir=`pwd`
8
9outputFolder=$curDir/output/metis/
10prefixOutput=metis
11random=false
12
13suffixOutput=.xml
14
15cd $bin
16while [ "$index" -lt "$execution" ]
17do
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`
23done
24cd $curDir
25
26echo
27
28exit 0
Note: See TracBrowser for help on using the repository browser.