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