measure_clustering_type.sh 821 Bytes
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"
        
# 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"