Commits

Anonymous committed 9b68d86

clean useless code

Comments (0)

Files changed (1)

     k = args["topic"]
     topwords = args["topwords"]
     documents = map(x -> split(x.filename, "/")[end], corpus.documents)
-    models = [lda, nmf]
+    models = [lda nmf]
 
     println()
     println("> Options are:")
     end
 end
 
-# function termscore(beta, k, v)
-#     beta[k, v] * log(beta[k, v] / reduce(*, reshape(beta[:, v], size(beta, 1)), 1.0) ^ (1 / size(beta, 1)))
-# end
-
-# for k = 1:nbTopics, v = 1:size(beta, 2)
-#     beta[k, v] = termscore(beta, k, v)
-# end
-
 
 
 function main(args)