Description Usage Arguments Value
Compute the distance of each word to the centroid
1 | distance_from_centroid(ft_model, words)
|
ft_model |
a FastTextR model |
words |
a character vector of words |
a long-format tibble containing columns word and dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.