documentEmbedding
Description
A document embedding maps documents to real vectors.
The vectors attempt to capture the semantic content of the full document, so similar documents have similar vectors. The document can be a sentence, a paragraph, or a longer text.
Creation
Create a document embedding from a pretrained embedding using
documentEmbedding
.
Description
Input Arguments
Object Functions
embed | Map document to embedding vector |
Examples
References
[1] Reimers, Nils, and Iryna Gurevych. "Sentence-BERT: Sentence Embeddings Using Siamese BERT-Networks" Preprint, submitted August 27, 2019. https://doi.org/10.48550/arXiv.1908.10084.
Version History
Introduced in R2024a