Package: sweater 0.1.9

Chung-hong Chan

sweater: Speedy Word Embedding Association Test and Extras Using R

Conduct various tests for evaluating implicit biases in word embeddings: Word Embedding Association Test (Caliskan et al., 2017), <doi:10.1126/science.aal4230>, Relative Norm Distance (Garg et al., 2018), <doi:10.1073/pnas.1720347115>, Mean Average Cosine Similarity (Mazini et al., 2019) <doi:10.48550/arXiv.1904.04047>, SemAxis (An et al., 2018) <doi:10.48550/arXiv.1806.05521>, Relative Negative Sentiment Bias (Sweeney & Najafian, 2019) <doi:10.18653/v1/P19-1162>, and Embedding Coherence Test (Dev & Phillips, 2019) <doi:10.48550/arXiv.1901.07656>.

Authors:Chung-hong Chan [aut, cre]

sweater_0.1.9.tar.gz
sweater_0.1.9.zip(r-4.7-x86_64)sweater_0.1.9.zip(r-4.7-arm64)sweater_0.1.9.zip(r-4.6-x86_64)sweater_0.1.9.zip(r-4.6-arm64)sweater_0.1.9.zip(r-4.5-x86_64)
sweater_0.1.9.tgz(r-4.6-x86_64)sweater_0.1.9.tgz(r-4.6-arm64)sweater_0.1.9.tgz(r-4.5-x86_64)sweater_0.1.9.tgz(r-4.5-arm64)
sweater_0.1.9.tar.gz(r-4.7-arm64)sweater_0.1.9.tar.gz(r-4.7-x86_64)sweater_0.1.9.tar.gz(r-4.6-arm64)sweater_0.1.9.tar.gz(r-4.6-x86_64)
sweater_0.1.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
sweater/json (API)

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

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

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • glove_math - A subset of the pretrained GLoVE word vectors
  • googlenews - A subset of the pretrained word2vec word vectors
  • small_reddit - A subset of the pretrained word2vec word vectors on Reddit

On CRAN:

Conda:

bias-detectiontextanalysiswordembeddingcpp

4.82 score 33 stars 737 downloads 19 exports 23 dependencies

Last updated from:00e92d7d7b. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK109
linux-devel-x86_64OK131
source / vignettesOK182
linux-release-arm64OK104
linux-release-x86_64OK144
macos-release-arm64OK126
macos-release-x86_64OK173
macos-oldrel-arm64OK114
macos-oldrel-x86_64OK179
windows-devel-arm64OK196
windows-devel-x86_64OK135
windows-release-arm64OK204
windows-release-x86_64OK93
windows-oldrel-x86_64OK79
wasm-releaseOK118

Exports:calculate_esectect_esmacmac_esnasplot_biasplot_ectqueryread_word2vecrndrnd_esrnsbrnsb_essemaxisweatweat_esweat_exactweat_resampling

Dependencies:clicombinatdata.tablefastmatchglueISOcodesjsonlitelatticeLiblineaRlifecyclemagrittrMatrixproxypurrrquantedaRcpprlangSnowballCstopwordsstringivctrsxml2yaml