The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

doc2vec: Distributed Representations of Sentences, Documents and Topics

Learn vector representations of sentences, paragraphs or documents by using the 'Paragraph Vector' algorithms, namely the distributed bag of words ('PV-DBOW') and the distributed memory ('PV-DM') model. The techniques in the package are detailed in the paper "Distributed Representations of Sentences and Documents" by Mikolov et al. (2014), available at <doi:10.48550/arXiv.1405.4053>. The package also provides an implementation to cluster documents based on these embedding using a technique called top2vec. Top2vec finds clusters in text documents by combining techniques to embed documents and words and density-based clustering. It does this by embedding documents in the semantic space as defined by the 'doc2vec' algorithm. Next it maps these document embeddings to a lower-dimensional space using the 'Uniform Manifold Approximation and Projection' (UMAP) clustering algorithm and finds dense areas in that space using a 'Hierarchical Density-Based Clustering' technique (HDBSCAN). These dense areas are the topic clusters which can be represented by the corresponding topic vector which is an aggregate of the document embeddings of the documents which are part of that topic cluster. In the same semantic space similar words can be found which are representative of the topic. More details can be found in the paper 'Top2Vec: Distributed Representations of Topics' by D. Angelov available at <doi:10.48550/arXiv.2008.09470>.

Version: 0.2.0
Depends: R (≥ 2.10)
Imports: Rcpp (≥ 0.11.5), stats, utils
LinkingTo: Rcpp
Suggests: tokenizers.bpe, word2vec (≥ 0.3.3), uwot, dbscan, udpipe (≥ 0.8)
Published: 2021-03-28
DOI: 10.32614/CRAN.package.doc2vec
Author: Jan Wijffels [aut, cre, cph] (R wrapper), BNOSAC [cph] (R wrapper), hiyijian [ctb, cph] (Code in src/doc2vec)
Maintainer: Jan Wijffels <jwijffels at bnosac.be>
License: MIT + file LICENSE
URL: https://github.com/bnosac/doc2vec
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: doc2vec results

Documentation:

Reference manual: doc2vec.pdf

Downloads:

Package source: doc2vec_0.2.0.tar.gz
Windows binaries: r-devel: doc2vec_0.2.0.zip, r-release: doc2vec_0.2.0.zip, r-oldrel: doc2vec_0.2.0.zip
macOS binaries: r-release (arm64): doc2vec_0.2.0.tgz, r-oldrel (arm64): doc2vec_0.2.0.tgz, r-release (x86_64): doc2vec_0.2.0.tgz, r-oldrel (x86_64): doc2vec_0.2.0.tgz
Old sources: doc2vec archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=doc2vec to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.