Skip to content

Instantly share code, notes, and snippets.

@danielperezr88
Last active February 9, 2017 13:04
Show Gist options
  • Save danielperezr88/209efa94a1824681151f6a26401e16b5 to your computer and use it in GitHub Desktop.
Save danielperezr88/209efa94a1824681151f6a26401e16b5 to your computer and use it in GitHub Desktop.
diff --git a/tom_lib/nlp/topic_model.py b/tom_lib/nlp/topic_model.py
index 0abd98b..02f7088 100644
--- a/tom_lib/nlp/topic_model.py
+++ b/tom_lib/nlp/topic_model.py
@@ -6,7 +6,7 @@ import tom_lib.stats
from scipy import spatial, cluster
from scipy.sparse import coo_matrix
from sklearn.decomposition import NMF, LatentDirichletAllocation as LDA
-import lda
+from sklearn import lda
from tom_lib.structure.corpus import Corpus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment