You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trained a CorEx model on a set of documents, but I now have new documents I want to infer topics for using the prior model. Is there a way to do this using CorEx?
The text was updated successfully, but these errors were encountered:
doc_word = vector.transform(doc)
words = list(np.asarray(vector.get_feature_names()))
# final step of preprocessing where we remove all integers from our set of words.
not_digit_inds = [ind for ind, word in enumerate(words) if not word.isdigit()]
doc_word = doc_word[:, not_digit_inds]
topics = corex_model.predict(doc_word)
where vector is defined during training and developing the model
Hello,
I have trained a CorEx model on a set of documents, but I now have new documents I want to infer topics for using the prior model. Is there a way to do this using CorEx?
The text was updated successfully, but these errors were encountered: