-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompute_metrics.sh
executable file
·5 lines (5 loc) · 2.04 KB
/
compute_metrics.sh
1
2
3
4
5
for type in divrankals_0.5_true_NONE_true divrankals_0.5_true_NONE_false divrankals_0.5_true_DQ_true divrankals_0.5_true_DQ_false divrankals_0.5_true_LAPLACIAN_DQ_true divrankals_0.5_true_LAPLACIAN_DQ_false divrankals_0.5_true_P_LAPLACIAN_DQ_true divrankals_0.5_true_P_LAPLACIAN_DQ_false divrankals_0.5_false_NONE_true divrankals_0.5_false_NONE_false divrankals_0.5_false_DQ_true divrankals_0.5_false_DQ_false divrankals_0.5_false_LAPLACIAN_DQ_true divrankals_0.5_false_LAPLACIAN_DQ_false divrankals_0.5_false_P_LAPLACIAN_DQ_true divrankals_0.5_false_P_LAPLACIAN_DQ_false divrankals_-0.5_true_NONE_true divrankals_-0.5_true_NONE_false divrankals_-0.5_true_DQ_true divrankals_-0.5_true_DQ_false divrankals_-0.5_true_LAPLACIAN_DQ_true divrankals_-0.5_true_LAPLACIAN_DQ_false divrankals_-0.5_true_P_LAPLACIAN_DQ_true divrankals_-0.5_true_P_LAPLACIAN_DQ_false divrankals_-0.5_false_NONE_true divrankals_-0.5_false_NONE_false divrankals_-0.5_false_DQ_true divrankals_-0.5_false_DQ_false divrankals_-0.5_false_LAPLACIAN_DQ_true divrankals_-0.5_false_LAPLACIAN_DQ_false divrankals_-0.5_false_P_LAPLACIAN_DQ_true divrankals_-0.5_false_P_LAPLACIAN_DQ_false
do
echo -e "$type" >> /data/sidana/diversity/user_based_diversity/ml20m/all_users/diversity_results
java -Xmx100G -cp RankSys-metrics-0.4.2-SNAPSHOT-jar-with-dependencies.jar:RankSys-core-0.4.2-SNAPSHOT-jar-with-dependencies.jar:RankSys-diversity-0.4.2-SNAPSHOT-jar-with-dependencies.jar:RankSys-novdiv-0.4.2-SNAPSHOT-jar-with-dependencies.jar:RankSys-novelty-0.4.2-SNAPSHOT-jar-with-dependencies.jar:RankSys-examples-0.4.2-SNAPSHOT-jar-with-dependencies.jar:RankSys-formats-0.4.2-SNAPSHOT-jar-with-dependencies.jar es.uam.eps.ir.ranksys.examples.MetricExample /data/sidana/diversity/user_based_diversity/ml20m/all_users/train.csv /data/sidana/diversity/user_based_diversity/ml20m/all_users/test.csv /data/sidana/diversity/user_based_diversity/ml20m/all_users/features.ml20m /data/sidana/diversity/user_based_diversity/ml20m/code/all_users/${type} 1.0 >> /data/sidana/diversity/user_based_diversity/ml20m/all_users/diversity_results
done