source: script/ripetiprova.sh @ 27

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