Blame view

run_without_kfold.sh 524 Bytes
e63ab06fc   Mathias Quillot   New organisation ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  
  for k in $(seq ${KMIN} 1 ${KMAX})
  do
      SUB_EXP_DIR="${EXP_DIR}/${k}"
      
      # -- EXTRACT KMEANS VALUES
      echo "Kmeans Measuring and extraction - ${k}"
      python3 bin/extract_kmeans.py "${SUB_EXP_DIR}/clustering_${k}.pkl" \
          "${VECTOR_FILE}" \
          --outfile "${SUB_EXP_DIR}/clustered_${k}.txt"
          
      python3 bin/measure_clustering.py "${SUB_EXP_DIR}/clustered_${k}.txt" \
          "${METAS_CHARACTER}" \
          "${TRAIN_LST}" \
          "${VAL_LST}" \
          --outfile "${SUB_EXP_DIR}/measures.json"