Commit 91758e85fb454574f0d25b516d69cd949966e7f2

Authored by quillotm
1 parent 996c381dff
Exists in master

Solve an issue (i variable was used instead of k)

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -138,7 +138,7 @@
138 138 mkdir(output)
139 139 for k in klist:
140 140 k = int(k)
141   - fit_model(k, path.join(output, "clustering_" + str(i) + ".pkl"))
  141 + fit_model(k, path.join(output, "clustering_" + str(k) + ".pkl"))
142 142  
143 143 print(json.dumps(json_content))
144 144