Commit 311d105a authored by Kathryn Elliott's avatar Kathryn Elliott

Update the LDA model options

parent a6e26b6d
......@@ -34,8 +34,11 @@ LOG_FORMAT = '%(asctime)s --- %(levelname)5s: [%(filename)s:%(lineno)d] %(messag
ALLOWED_POS_TAGS = ['NOUN', 'ADJ', 'VERB', 'ADV']
N_GRAM_OPTIONS = dict(min_count=5, threshold=2, delimiter=b' ')
LDA_OPTIONS = dict(random_state=100, update_every=0, chunksize=100,
passes=10, alpha='auto', per_word_topics=True)
LDA_OPTIONS = dict(random_state=100, update_every=0, chunksize=2000,
passes=20, alpha='auto', eta='auto',
per_word_topics=True, eval_every=1,
iterations=400)
class TopicModel:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment