measure_clustering_char.sh 749 Bytes
python3 bin/measure_clustering.py "${output_kfold}/${k}/clustered_${k}.txt" \
    "${lst_dir}/trainval_${kfold}.lst" "${lst_dir}/train_${kfold}.lst" \
    "${lst_dir}/val_${kfold}.lst" \
    --outfile "${output_kfold}/${k}/measures.json"


# This script plot the count matrix of the train set
python3 bin/plot-count-matrix.py "${SUB_EXP_DIR}/clustered_${k}.txt" \
    "${lst_dir}/train_${kfold}.lst" \
    "${lst_dir}/train_${kfold}.lst" \
    --outfile "${SUB_EXP_DIR}/train_count_matrix.pdf"

# This script plot the count matrix of the validation set
python3 bin/plot-count-matrix.py "${SUB_EXP_DIR}/clustered_${k}.txt" \
    "${lst_dir}/val_${kfold}.lst" \
    "${lst_dir}/val_${kfold}.lst" \
    --outfile "${SUB_EXP_DIR}/val_count_matrix.pdf"