Description Usage Arguments Value
Construct word2vec embedding
1 2 | construct_word2vec_embedding(sppmi, dim_size = 100, iters = 25,
remove_empty = TRUE, use_sum = TRUE)
|
sppmi |
SPPMI matrix from |
dim_size |
The embedding dimension |
iters |
The number of iterations |
remove_empty |
Flag to remove vectors that are identically 0 |
use_sum |
Flag to add V_d√{Σ_d} to embedding calculation |
word2vec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.