Blame view

extract-labels.sh 503 Bytes
16cf68aee   Mathias Quillot   Extract files
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  
  
  # Number of set
  k=4
  
  # Vector features file
  VECTOR_FILE_MASSEFFECT="data/pvectors_1rst/pvectors_teacher_${k}.txt"
  
  # Number of clusters
  kmean=6
  
  # Dirs
  EXP_DIR="exp/kmeans_euclidian/teacher-pvector-1/${k}/${kmean}"
  CLUSTERING="${EXP_DIR}/clustering_${kmean}.pkl"
  
  
  # Output dirs
  OUTFILE_MASSEFFECT="data/pvectors_1rst/saved_clustered/masseffect_clustered_${k}_${kmean}.txt"
  
  python3 bin/extract_kmeans.py "${CLUSTERING}" \
          "${VECTOR_FILE_MASSEFFECT}" \
          --outfile "$OUTFILE_MASSEFFECT"