Commit 16cf68aee65ec11ff019156e65ee261a29f6c17a
1 parent
0bc4a3e394
Exists in
master
Extract files
Showing 1 changed file with 22 additions and 0 deletions Side-by-side Diff
extract-labels.sh
1 | + | |
2 | + | |
3 | +# Number of set | |
4 | +k=4 | |
5 | + | |
6 | +# Vector features file | |
7 | +VECTOR_FILE_MASSEFFECT="data/pvectors_1rst/pvectors_teacher_${k}.txt" | |
8 | + | |
9 | +# Number of clusters | |
10 | +kmean=6 | |
11 | + | |
12 | +# Dirs | |
13 | +EXP_DIR="exp/kmeans_euclidian/teacher-pvector-1/${k}/${kmean}" | |
14 | +CLUSTERING="${EXP_DIR}/clustering_${kmean}.pkl" | |
15 | + | |
16 | + | |
17 | +# Output dirs | |
18 | +OUTFILE_MASSEFFECT="data/pvectors_1rst/saved_clustered/masseffect_clustered_${k}_${kmean}.txt" | |
19 | + | |
20 | +python3 bin/extract_kmeans.py "${CLUSTERING}" \ | |
21 | + "${VECTOR_FILE_MASSEFFECT}" \ | |
22 | + --outfile "$OUTFILE_MASSEFFECT" |