From 151e596e35ec84ccb1223d3009ccc017eaf9b9e2 Mon Sep 17 00:00:00 2001 From: Mathias Quillot Date: Wed, 24 Jul 2019 23:53:35 +0200 Subject: [PATCH] Some modification we don't realy care --- run-measures.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/run-measures.sh b/run-measures.sh index c0dc9f8..b2dc722 100755 --- a/run-measures.sh +++ b/run-measures.sh @@ -37,7 +37,7 @@ do # --field "type" --lst "data/pvectors_1rst/lst/val_${kfold}.lst" \ # --outfile "${NEW_LSTDIR}/val_${kfold}_type.lst" - cat "${NEW_LSTDIR}/train_${kfold}_type.lst" "${NEW_LSTDIR}/val_${kfold}_type.lst" > "${NEW_LSTDIR}/metas_${kfold}_type.lst" + #cat "${NEW_LSTDIR}/train_${kfold}_type.lst" "${NEW_LSTDIR}/val_${kfold}_type.lst" > "${NEW_LSTDIR}/metas_${kfold}_type.lst" echo "Clustering - ${kfold}" @@ -49,30 +49,30 @@ do # This script compute measures from clustering #python3 bin/measure_clustering.py "${output_kfold}/${k}/clustered_${k}.txt" "${pvector_file}" "${lst_dir}/train_${kfold}.lst" "${lst_dir}/val_${kfold}.lst" --outfile "${output_kfold}/${k}/measures.json" - python3 bin/measure_clustering.py "${output_kfold}/${k}/clustered_${k}.txt" \ - "${NEW_LSTDIR}/metas_${kfold}_type.lst" "${lst_dir}/train_${kfold}.lst" \ - "${lst_dir}/val_${kfold}.lst" \ - --outfile "${output_kfold}/${k}/measures_type.json" + #python3 bin/measure_clustering.py "${output_kfold}/${k}/clustered_${k}.txt" \ + # "${NEW_LSTDIR}/metas_${kfold}_type.lst" "${lst_dir}/train_${kfold}.lst" \ + # "${lst_dir}/val_${kfold}.lst" \ + # --outfile "${output_kfold}/${k}/measures_type.json" # This script plot the count matrix of the train set python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ - ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/train_${kfold}.lst \ - --outfile ${output_kfold}/${k}/train_count_matrix_type.pdf + ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/train_${kfold}.lst \ + --outfile ${output_kfold}/${k}/train_count_matrix_type.pdf # This script plot the count matrix of the validation set python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ - ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/val_${kfold}.lst \ - --outfile ${output_kfold}/${k}/val_count_matrix_type.pdf + ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/val_${kfold}.lst \ + --outfile ${output_kfold}/${k}/val_count_matrix_type.pdf # This script plot the count matrix of the train set - #python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ - #${pvector_file} ${lst_dir}/train_${kfold}.lst \ - #--outfile ${output_kfold}/${k}/train_count_matrix.pdf + python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ + ${pvector_file} ${lst_dir}/train_${kfold}.lst \ + --outfile ${output_kfold}/${k}/train_count_matrix.pdf # This script plot the count matrix of the validation set - #python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ - #${pvector_file} ${lst_dir}/val_${kfold}.lst \ - #--outfile ${output_kfold}/${k}/val_count_matrix.pdf + python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ + ${pvector_file} ${lst_dir}/val_${kfold}.lst \ + --outfile ${output_kfold}/${k}/val_count_matrix.pdf done done -- 1.8.2.3