Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vocabulary = cv.get_feature_names()
batch_vectorizer = artm.BatchVectorizer(data_format='bow_n_wd',
n_wd=data,
vocabulary=vocabulary)
dictionary = batch_vectorizer.dictionary
model_artm = get_artm_model(topic_names, batch_vectorizer.dictionary)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment