textmodel_doc2vec | R Documentation |
Create distributed representation of documents as weighted word vectors.
textmodel_doc2vec(x, model, group_data = FALSE)
x |
a quanteda::tokens object. |
model |
a textmodel_wordvector object. |
group_data |
if |
Returns a textmodel_docvector object with the following elements:
values |
a matrix for document vectors. |
dim |
the size of the document vectors. |
concatenator |
the concatenator in |
docvars |
document variables compied from |
call |
the command used to execute the function. |
version |
the version of the wordvector package. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.