Skip to content

Instantly share code, notes, and snippets.

@FeryET
Created August 26, 2020 11:07
Show Gist options
  • Save FeryET/1b8a5a0e22817584db1e4ba0494506eb to your computer and use it in GitHub Desktop.
Save FeryET/1b8a5a0e22817584db1e4ba0494506eb to your computer and use it in GitHub Desktop.
vectorizer = TomotopyLDAVectorizer(num_of_topics=num_of_topics,
workers=workers, min_df=min_df,
rm_top=rm_top)
x_train = vectorizer.fit_transform(docs_train)
x_test = vectorizer.transform(docs_test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment