Calculate Word-Topic Vector
1 2 | word_topic_vector(doc, k, dimension, word2vec_args = list(show_by = 25),
gmm_args = list())
|
doc |
List of document. each document |
k |
The number of clusters |
dimension |
The dimensions of word vector representations for every word |
word2vec_args |
Parameters for wrod2vec model ( parameters of wordVectors::train_word2vec ) |
gmm_args |
Parameters for GMM model ( parameters of ClusterR::center_scale and ClusterR::GMM ) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.