Package: quanteda.textmodels 0.9.9

Kenneth Benoit

quanteda.textmodels: Scaling Models and Classifiers for Textual Data

Scaling models and classifiers for sparse matrix objects representing textual data in the form of a document-feature matrix. Includes original implementations of 'Laver', 'Benoit', and Garry's (2003) <doi:10.1017/S0003055403000698>, 'Wordscores' model, the Perry and 'Benoit' (2017) <doi:10.48550/arXiv.1710.08963> class affinity scaling model, and the 'Slapin' and 'Proksch' (2008) <doi:10.1111/j.1540-5907.2008.00338.x> 'wordfish' model, as well as methods for correspondence analysis, latent semantic analysis, and fast Naive Bayes and linear 'SVMs' specially designed for sparse textual data.

Authors:Kenneth Benoit [cre, aut, cph], Kohei Watanabe [aut], Haiyan Wang [aut], Patrick O. Perry [aut], Benjamin Lauderdale [aut], Johannes Gruber [aut], William Lowe [aut], Vikas Sindhwani [cph], European Research Council [fnd]

quanteda.textmodels_0.9.9.tar.gz
quanteda.textmodels_0.9.9.zip(r-4.5)quanteda.textmodels_0.9.9.zip(r-4.4)quanteda.textmodels_0.9.9.zip(r-4.3)
quanteda.textmodels_0.9.9.tgz(r-4.4-x86_64)quanteda.textmodels_0.9.9.tgz(r-4.4-arm64)quanteda.textmodels_0.9.9.tgz(r-4.3-x86_64)quanteda.textmodels_0.9.9.tgz(r-4.3-arm64)
quanteda.textmodels_0.9.9.tar.gz(r-4.5-noble)quanteda.textmodels_0.9.9.tar.gz(r-4.4-noble)
quanteda.textmodels_0.9.9.tgz(r-4.4-emscripten)quanteda.textmodels_0.9.9.tgz(r-4.3-emscripten)
quanteda.textmodels.pdf |quanteda.textmodels.html
quanteda.textmodels/json (API)
NEWS

# Install 'quanteda.textmodels' in R:
install.packages('quanteda.textmodels', repos = c('https://quanteda.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/quanteda/quanteda.textmodels/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

openblascpp

9.29 score 42 stars 394 scripts 2.0k downloads 15 mentions 17 exports 28 dependencies

Last updated 4 months agofrom:96c6ae6d6d. Checks:OK: 3 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 02 2024
R-4.5-win-x86_64OKDec 02 2024
R-4.5-linux-x86_64OKDec 02 2024
R-4.4-win-x86_64NOTEDec 02 2024
R-4.4-mac-x86_64NOTEDec 02 2024
R-4.4-mac-aarch64NOTEDec 02 2024
R-4.3-win-x86_64NOTEDec 02 2024
R-4.3-mac-x86_64NOTEDec 02 2024
R-4.3-mac-aarch64NOTEDec 02 2024

Exports:affinityas.coefficients_textmodelas.statistics_textmodelas.summary.textmodelcoefficients.textmodel_cacoefficients.textmodel_lsacoefficients.textmodel_wordfishtextmodel_affinitytextmodel_catextmodel_lrtextmodel_lsatextmodel_nbtextmodel_svmtextmodel_svmlintextmodel_wordfishtextmodel_wordscorestextplot_influence

Dependencies:clicodetoolsfastmatchforeachglmnetglueISOcodesiteratorsjsonlitelatticeLiblineaRlifecyclemagrittrMatrixquantedaRcppRcppArmadilloRcppEigenrlangRSpectrashapeSnowballCSparseMstopwordsstringisurvivalxml2yaml

textmodel Performance Comparisons

Rendered fromtextmodel_performance.Rmdusingknitr::rmarkdownon Dec 02 2024.

Last update: 2024-04-10
Started: 2020-03-11