Provides efficient methods to compute co-occurrence matrices, pointwise mutual information (PMI) and singular value decomposition (SVD). In the biomedical and clinical settings, one challenge is the huge size of databases, e.g. when analyzing data of millions of patients over tens of years. To address this, this package provides functions to efficiently compute monthly co-occurrence matrices, which is the computational bottleneck of the analysis, by using the 'RcppAlgos' package and sparse matrices. Furthermore, the functions can be called on 'SQL' databases, enabling the computation of co-occurrence matrices of tens of gigabytes of data, representing millions of patients over tens of years. Partly based on Hong C. (2021) <doi:10.1038/s41746-021-00519-z>.
| Version: | 1.0.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | data.table, magrittr, Matrix, methods, parallel, RcppAlgos, reshape2, RSQLite, rsvd |
| Suggests: | knitr, testthat |
| Published: | 2025-02-04 |
| DOI: | 10.32614/CRAN.package.nlpembeds |
| Author: | Thomas Charlon |
| Maintainer: | Thomas Charlon <charlon at protonmail.com> |
| BugReports: | https://gitlab.com/thomaschln/nlpembeds/-/issues |
| License: | GPL-3 |
| URL: | https://gitlab.com/thomaschln/nlpembeds |
| NeedsCompilation: | no |
| CRAN checks: | nlpembeds results |
| Reference manual: | nlpembeds.html , nlpembeds.pdf |
| Vignettes: |
Co-occurrence Matrices and PMI-SVD Embeddings (source, R code) |
| Package source: | nlpembeds_1.0.0.tar.gz |
| Windows binaries: | r-devel: nlpembeds_1.0.0.zip, r-release: nlpembeds_1.0.0.zip, r-oldrel: nlpembeds_1.0.0.zip |
| macOS binaries: | r-release (arm64): nlpembeds_1.0.0.tgz, r-oldrel (arm64): nlpembeds_1.0.0.tgz, r-release (x86_64): nlpembeds_1.0.0.tgz, r-oldrel (x86_64): nlpembeds_1.0.0.tgz |
| Reverse suggests: | kgraph |
Please use the canonical form https://CRAN.R-project.org/package=nlpembeds to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.