Package: sweater 0.1.8

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) <arxiv:1904.04047>, SemAxis (An et al., 2018) <arxiv:1806.05521>, Relative Negative Sentiment Bias (Sweeney & Najafian, 2019) <doi:10.18653/v1/P19-1162>, and Embedding Coherence Test (Dev & Phillips, 2019) <arxiv:1901.07656>.

Authors:Chung-hong Chan [aut, cre]

sweater_0.1.8.tar.gz
sweater_0.1.8.zip(r-4.7)sweater_0.1.8.zip(r-4.6)sweater_0.1.8.zip(r-4.5)
sweater_0.1.8.tgz(r-4.6-x86_64)sweater_0.1.8.tgz(r-4.6-arm64)sweater_0.1.8.tgz(r-4.5-x86_64)sweater_0.1.8.tgz(r-4.5-arm64)
sweater_0.1.8.tar.gz(r-4.7-arm64)sweater_0.1.8.tar.gz(r-4.7-x86_64)sweater_0.1.8.tar.gz(r-4.6-arm64)sweater_0.1.8.tar.gz(r-4.6-x86_64)
sweater_0.1.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html
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.78 score 32 stars 19 scripts 264 downloads 19 exports 23 dependencies

Last updated from:c0790cb312. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK130
linux-devel-x86_64OK129
source / vignettesOK179
linux-release-arm64OK151
linux-release-x86_64OK135
macos-release-arm64OK111
macos-release-x86_64OK186
macos-oldrel-arm64OK86
macos-oldrel-x86_64OK260
windows-develOK121
windows-releaseOK95
windows-oldrelOK94
wasm-releaseOK106

Exports:calculate_esectect_esmacmac_esnasplot_biasplot_ectqueryread_word2vecrndrnd_esrnsbrnsb_essemaxisweatweat_esweat_exactweat_resampling

Dependencies:clicombinatdata.tablefastmatchglueISOcodesjsonlitelatticeLiblineaRlifecyclemagrittrMatrixproxypurrrquantedaRcpprlangSnowballCstopwordsstringivctrsxml2yaml