Commit 151e596e35ec84ccb1223d3009ccc017eaf9b9e2
1 parent
d8a0137010
Exists in
master
Some modification we don't realy care
Showing 1 changed file with 15 additions and 15 deletions Side-by-side Diff
run-measures.sh
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 | # --field "type" --lst "data/pvectors_1rst/lst/val_${kfold}.lst" \ |
38 | 38 | # --outfile "${NEW_LSTDIR}/val_${kfold}_type.lst" |
39 | 39 | |
40 | - cat "${NEW_LSTDIR}/train_${kfold}_type.lst" "${NEW_LSTDIR}/val_${kfold}_type.lst" > "${NEW_LSTDIR}/metas_${kfold}_type.lst" | |
40 | + #cat "${NEW_LSTDIR}/train_${kfold}_type.lst" "${NEW_LSTDIR}/val_${kfold}_type.lst" > "${NEW_LSTDIR}/metas_${kfold}_type.lst" | |
41 | 41 | |
42 | 42 | |
43 | 43 | echo "Clustering - ${kfold}" |
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | 47 | |
... | ... | @@ -49,30 +49,30 @@ |
49 | 49 | # This script compute measures from clustering |
50 | 50 | #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" |
51 | 51 | |
52 | - python3 bin/measure_clustering.py "${output_kfold}/${k}/clustered_${k}.txt" \ | |
53 | - "${NEW_LSTDIR}/metas_${kfold}_type.lst" "${lst_dir}/train_${kfold}.lst" \ | |
54 | - "${lst_dir}/val_${kfold}.lst" \ | |
55 | - --outfile "${output_kfold}/${k}/measures_type.json" | |
52 | + #python3 bin/measure_clustering.py "${output_kfold}/${k}/clustered_${k}.txt" \ | |
53 | + # "${NEW_LSTDIR}/metas_${kfold}_type.lst" "${lst_dir}/train_${kfold}.lst" \ | |
54 | + # "${lst_dir}/val_${kfold}.lst" \ | |
55 | + # --outfile "${output_kfold}/${k}/measures_type.json" | |
56 | 56 | |
57 | 57 | # This script plot the count matrix of the train set |
58 | 58 | python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ |
59 | - ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/train_${kfold}.lst \ | |
60 | - --outfile ${output_kfold}/${k}/train_count_matrix_type.pdf | |
59 | + ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/train_${kfold}.lst \ | |
60 | + --outfile ${output_kfold}/${k}/train_count_matrix_type.pdf | |
61 | 61 | |
62 | 62 | # This script plot the count matrix of the validation set |
63 | 63 | python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ |
64 | - ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/val_${kfold}.lst \ | |
65 | - --outfile ${output_kfold}/${k}/val_count_matrix_type.pdf | |
64 | + ${NEW_LSTDIR}/metas_${kfold}_type.lst ${lst_dir}/val_${kfold}.lst \ | |
65 | + --outfile ${output_kfold}/${k}/val_count_matrix_type.pdf | |
66 | 66 | |
67 | 67 | # This script plot the count matrix of the train set |
68 | - #python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ | |
69 | - #${pvector_file} ${lst_dir}/train_${kfold}.lst \ | |
70 | - #--outfile ${output_kfold}/${k}/train_count_matrix.pdf | |
68 | + python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ | |
69 | + ${pvector_file} ${lst_dir}/train_${kfold}.lst \ | |
70 | + --outfile ${output_kfold}/${k}/train_count_matrix.pdf | |
71 | 71 | |
72 | 72 | # This script plot the count matrix of the validation set |
73 | - #python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ | |
74 | - #${pvector_file} ${lst_dir}/val_${kfold}.lst \ | |
75 | - #--outfile ${output_kfold}/${k}/val_count_matrix.pdf | |
73 | + python3 bin/plot-count-matrix.py ${output_kfold}/${k}/clustered_${k}.txt \ | |
74 | + ${pvector_file} ${lst_dir}/val_${kfold}.lst \ | |
75 | + --outfile ${output_kfold}/${k}/val_count_matrix.pdf | |
76 | 76 | done |
77 | 77 | done |