aifeducation: Artificial Intelligence for Education

In social and educational settings, the use of Artificial Intelligence (AI) is a challenging task. Relevant data is often only available in handwritten forms or the use of data is restricted by privacy policies, often leading to small data sets. Furthermore, data in the educational and social sciences is often unbalanced in terms of frequencies. To support educators as well as educational and social researchers in using the potentials of AI for their work, this package provides a unified interface for neural nets in 'keras' and 'tensorflow' to deal with natural language problems. The tools integrate existing mathematical and statistical methods for dealing with small data sets via pseudo-labeling (e.g. Lee (2013) <>, Cascante-Bonilla et al. (2020) <doi:10.48550/arXiv.2001.06001>) and imbalanced data via the creation of synthetic cases (e.g. Bunkhumpornpat et al. (2012) <doi:10.1007/s10489-011-0287-y>). Performance evaluation of AI is connected to measures from content analysis which educational and social researchers are generally more familiar with (e.g. Berding & Pargmann (2022) <doi:10.30819/5581>, Gwet (2014) <ISBN:978-0-9708062-8-4>, Krippendorff (2019) <doi:10.4135/9781071878781>). Estimation of energy consumption and CO2 emissions during training models is done with the 'python' library 'codecarbon'. Finally, all objects created with this package allow to share trained AI with other people.

Version: 0.2.0
Depends: foreach, quanteda, R (≥ 3.5.0)
Imports: abind, doParallel, iotarelr (≥ 0.1.4), irr, irrCAC, methods, Rcpp (≥ 1.0.10), reshape2, reticulate, smotefamily, stringr, text2vec, tidytext, topicmodels, udpipe, utils
LinkingTo: Rcpp, RcppArmadillo
Suggests: knitr, quanteda.textmodels, rmarkdown, testthat (≥ 3.0.0)
Published: 2023-08-15
Author: Berding Florian ORCID iD [aut, cre], Pargmann Julia [ctb], Riebenbauer Elisabeth [ctb], Rebmann Karin [ctb], Slopinski Andreas [ctb]
Maintainer: Berding Florian <florian.berding at>
License: GPL-3
NeedsCompilation: yes
Citation: aifeducation citation info
Materials: README
CRAN checks: aifeducation results


Reference manual: aifeducation.pdf
Vignettes: 01 Get started


Package source: aifeducation_0.2.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): aifeducation_0.2.0.tgz, r-oldrel (arm64): aifeducation_0.2.0.tgz, r-release (x86_64): aifeducation_0.2.0.tgz, r-oldrel (x86_64): not available


Please use the canonical form to link to this page.