-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrunTiming.sh
executable file
·30 lines (25 loc) · 1.81 KB
/
runTiming.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
echo "Compiling..."
mvn compile > /dev/null
mvn dependency:build-classpath -Dmdep.outputFile=classpath.out > /dev/null
mkdir output > /dev/null
echo "Running HL-MRF-Q on Citeseer..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.CollectiveClassification citeseer quad > output/timing.citeseer.hlmrf-q.out
echo "Running HL-MRF-L on Citeseer..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.CollectiveClassification citeseer linear > output/timing.citeseer.hlmrf-l.out
echo "Running MRF on Citeseer..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.CollectiveClassification citeseer bool > output/timing.citeseer.mrf.out
echo "Running HL-MRF-Q on Cora..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.CollectiveClassification cora quad > output/timing.cora.hlmrf-q.out
echo "Running HL-MRF-L on Cora..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.CollectiveClassification cora linear > output/timing.cora.hlmrf-l.out
echo "Running MRF on Cora..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.CollectiveClassification cora bool > output/timing.cora.mrf.out
echo "Running HL-MRF-Q on Epinions..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.Epinions quad > output/timing.epinions.hlmrf-q.out
echo "Running HL-MRF-L on Epinions..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.Epinions linear > output/timing.epinions.hlmrf-l.out
echo "Running MRF on Epinions..."
java -Xmx1g -cp ./target/classes:`cat classpath.out` edu.umd.cs.bachuai13.timing.Epinions bool > output/timing.epinions.mrf.out
echo "Processing results..."
src/main/python/parseTiming.py