measure_clustering_lang.sh
639 Bytes
python3 bin/measure_clustering.py "${SUB_EXP_DIR}/clustered_${k}.txt" \
"${METAS_LANG}" \
"${TRAIN_LST}" \
"${VAL_LST}" \
--outfile "${SUB_EXP_DIR}/measures_lang.json"
# This script plot the count matrix of the train set
python3 bin/plot-count-matrix.py "${SUB_EXP_DIR}/clustered_${k}.txt" \
"${METAS_LANG}" \
"${TRAIN_LST}" \
--outfile "${SUB_EXP_DIR}/train_count_matrix_lang.pdf"
# This script plot the count matrix of the validation set
python3 bin/plot-count-matrix.py "${SUB_EXP_DIR}/clustered_${k}.txt" \
"${METAS_LANG}" \
"${VAL_LST}" \
--outfile "${SUB_EXP_DIR}/val_count_matrix_lang.pdf"