how to specify random_state in LDA model for topic modelling
问题 I read the gensim LDA model documentation about random_state which states that: random_state ({np.random.RandomState, int}, optional) – Either a randomState object or a seed to generate one. Useful for reproducibility. I have been tring put random_state=42 or random_seed=42 state=np.random.RandomState(random_seed) state.randn(1) random_state=state.randn(1) which did not work. Can anyone suggest what should i do model=ldaModel(corpus=corpus, id2word=dictionary, num_topics=num_topics, random