Package: grafzahl 0.0.11

Chung-hong Chan

grafzahl: Supervised Machine Learning for Textual Data Using Transformers and 'Quanteda'

Duct tape the 'quanteda' ecosystem (Benoit et al., 2018) <doi:10.21105/joss.00774> to modern Transformer-based text classification models (Wolf et al., 2020) <doi:10.18653/v1/2020.emnlp-demos.6>, in order to facilitate supervised machine learning for textual data. This package mimics the behaviors of 'quanteda.textmodels' and provides a function to setup the 'Python' environment to use the pretrained models from 'Hugging Face' <https://huggingface.co/>. More information: <doi:10.5117/CCR2023.1.003.CHAN>.

Authors:Chung-hong Chan [aut, cre]

grafzahl_0.0.11.tar.gz
grafzahl_0.0.11.zip(r-4.5)grafzahl_0.0.11.zip(r-4.4)grafzahl_0.0.11.zip(r-4.3)
grafzahl_0.0.11.tgz(r-4.5-any)grafzahl_0.0.11.tgz(r-4.4-any)grafzahl_0.0.11.tgz(r-4.3-any)
grafzahl_0.0.11.tar.gz(r-4.5-noble)grafzahl_0.0.11.tar.gz(r-4.4-noble)
grafzahl_0.0.11.tgz(r-4.4-emscripten)grafzahl_0.0.11.tgz(r-4.3-emscripten)
grafzahl.pdf |grafzahl.html
grafzahl/json (API)

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

Bug tracker:https://github.com/gesistsa/grafzahl/issues

Pkgdown site:https://gesistsa.github.io

Datasets:

On CRAN:

5.91 score 41 stars 3 scripts 235 downloads 8 exports 54 dependencies

Last updated 4 days agofrom:0cb7d375e1. Checks:1 OK, 7 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 19 2025
R-4.5-winNOTEFeb 19 2025
R-4.5-macNOTEFeb 19 2025
R-4.5-linuxNOTEFeb 19 2025
R-4.4-winNOTEFeb 19 2025
R-4.4-macNOTEFeb 19 2025
R-4.3-winNOTEFeb 19 2025
R-4.3-macNOTEFeb 19 2025

Exports:detect_condadetect_cudaget_amharic_datagrafzahlhydratesetup_grafzahltextmodel_transformeruse_nonconda

Dependencies:assertthatclicodetoolscolorspacefansifarverfastmatchforeachggplot2glmnetgluegowergtablehereisobandISOcodesiteratorsjsonlitelabelinglatticelifecyclelimemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpngquantedaR6rappdirsRColorBrewerRcppRcppEigenRcppTOMLreticulaterlangrprojrootscalesshapeSnowballCstopwordsstringisurvivaltibbleutf8vctrsviridisLitewithrxml2yaml

Setup Guide

Rendered fromgrafzahl.Rmdusingknitr::rmarkdownon Feb 19 2025.

Last update: 2024-03-25
Started: 2024-03-25