ANN2: Artificial Neural Networks for Anomaly Detection

Training of neural networks for classification and regression tasks using mini-batch gradient descent. Special features include a function for training autoencoders, which can be used to detect anomalies, and some related plotting functions. Multiple activation functions are supported, including tanh, relu, step and ramp. For the use of the step and ramp activation functions in detecting anomalies using autoencoders, see Hawkins et al. (2002) <doi:10.1007/3-540-46145-0_17>. Furthermore, several loss functions are supported, including robust ones such as Huber and pseudo-Huber loss, as well as L1 and L2 regularization. The possible options for optimization algorithms are RMSprop, Adam and SGD with momentum. The package contains a vectorized C++ implementation that facilitates fast training through mini-batch learning.

Version: 2.3.4
Imports: Rcpp (≥ 0.12.18), reshape2 (≥ 1.4.3), ggplot2 (≥ 3.0.0), viridisLite (≥ 0.3.0), methods
LinkingTo: Rcpp, RcppArmadillo, testthat
Suggests: testthat
Published: 2020-12-01
DOI: 10.32614/CRAN.package.ANN2
Author: Bart Lammers
Maintainer: Bart Lammers <bart.f.lammers at>
License: GPL (≥ 3) | file LICENSE
NeedsCompilation: yes
SystemRequirements: C++11
Materials: README
CRAN checks: ANN2 results


Reference manual: ANN2.pdf


Package source: ANN2_2.3.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ANN2_2.3.4.tgz, r-oldrel (arm64): ANN2_2.3.4.tgz, r-release (x86_64): ANN2_2.3.4.tgz, r-oldrel (x86_64): ANN2_2.3.4.tgz
Old sources: ANN2 archive


Please use the canonical form to link to this page.