{
  "_id": "6ac8b174de46216d5edd5bbe",
  "Package": "ANN2",
  "Type": "Package",
  "Title": "Artificial Neural Networks for Anomaly Detection",
  "Version": "2.4.0",
  "Date": "2025-10-09",
  "Authors@R": "person(given = \"Bart\",\nfamily = \"Lammers\",\nrole = c(\"aut\", \"cre\"),\nemail = \"bart.f.lammers@gmail.com\")",
  "Maintainer": "Bart Lammers <bart.f.lammers@gmail.com>",
  "Description": "Training of neural networks for classification and\nregression tasks using mini-batch gradient descent. Special\nfeatures include a function for training autoencoders, which\ncan be used to detect anomalies, and some related plotting\nfunctions. Multiple activation functions are supported,\nincluding tanh, relu, step and ramp. For the use of the step\nand ramp activation functions in detecting anomalies using\nautoencoders, see Hawkins et al. (2002)\n<doi:10.1007/3-540-46145-0_17>. Furthermore, several loss\nfunctions are supported, including robust ones such as Huber\nand pseudo-Huber loss, as well as L1 and L2 regularization. The\npossible options for optimization algorithms are RMSprop, Adam\nand SGD with momentum. The package contains a vectorized C++\nimplementation that facilitates fast training through\nmini-batch learning.",
  "License": "GPL (>= 3) | file LICENSE",
  "URL": "https://github.com/bflammers/ANN2",
  "Encoding": "UTF-8",
  "SystemRequirements": "C++17",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://bflammers.r-universe.dev",
  "Date/Publication": "2025-10-09 19:38:54 UTC",
  "RemoteUrl": "https://github.com/bflammers/ann2",
  "RemoteRef": "HEAD",
  "RemoteSha": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-09 09:06:57 UTC",
    "User": "root"
  },
  "Author": "Bart Lammers [aut, cre]",
  "_user": "bflammers",
  "_type": "src",
  "_file": "ANN2_2.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d99f7259fcdc82683e41dc8060747a6d769b383604704c3c9c034173f8e9b4e8",
  "_filesize": 390551,
  "_sha256": "d99f7259fcdc82683e41dc8060747a6d769b383604704c3c9c034173f8e9b4e8",
  "_expires": "2027-01-17T09:18:42.000Z",
  "_created": "2026-10-09T09:06:57.000Z",
  "_published": "2026-10-09T09:18:44.838Z",
  "_buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113750820470,
      "time": 244,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11606252143"
    },
    {
      "job": 113750820245,
      "time": 249,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11605988757"
    },
    {
      "job": 113750820325,
      "time": 219,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605923770"
    },
    {
      "job": 113750820388,
      "time": 218,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605104832"
    },
    {
      "job": 113750820290,
      "time": 483,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11606555210"
    },
    {
      "job": 113750820443,
      "time": 411,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11605339190"
    },
    {
      "job": 113750820328,
      "time": 299,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605849006"
    },
    {
      "job": 113750820421,
      "time": 415,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11606325981"
    },
    {
      "job": 113748743229,
      "time": 351,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605448847"
    },
    {
      "job": 113750820407,
      "time": 174,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11606177552"
    },
    {
      "job": 113750820284,
      "time": 534,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11606103816"
    },
    {
      "job": 113750820427,
      "time": 326,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11605184868"
    },
    {
      "job": 113750820472,
      "time": 268,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11605219447"
    },
    {
      "job": 113750820294,
      "time": 501,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11605664651"
    },
    {
      "job": 113750820402,
      "time": 246,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11606426189"
    }
  ],
  "_upstream": "https://github.com/bflammers/ann2",
  "_commit": {
    "id": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
    "author": "Bart Lammers <bart@eykdata.com>",
    "committer": "Bart Lammers <bart@eykdata.com>",
    "message": "Remove left over merge conflict\n",
    "time": 1760038734
  },
  "_maintainer": {
    "name": "Bart Lammers",
    "email": "bart.f.lammers@gmail.com",
    "login": "bflammers",
    "description": "Building Eyk - tracking & analytics for modern e-commerce brands 🔥",
    "uuid": 15668381
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "version": ">= 1.4.4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "viridisLite",
      "version": ">= 0.4.2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "bflammers",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 10
    }
  ],
  "_tags": [],
  "_topics": [
    "anomaly-detection",
    "artificial-neural-networks",
    "autoencoders",
    "neural-networks",
    "robust-statistics",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "bflammers",
      "count": 254,
      "uuid": 15668381
    },
    {
      "user": "codacy-badger",
      "count": 1,
      "uuid": 23704769
    },
    {
      "user": "teunbrand",
      "count": 1,
      "uuid": 49372158
    }
  ],
  "_userbio": {
    "uuid": 15668381,
    "type": "user",
    "name": "Bart Lammers",
    "followers": 20,
    "description": "Building Eyk - tracking & analytics for modern e-commerce brands 🔥"
  },
  "_downloads": {
    "count": 670,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ANN2"
  },
  "_mentions": 14,
  "_devurl": "https://github.com/bflammers/ann2",
  "_searchresults": 81,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/ANN2.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/bflammers/ann2",
  "_realowner": "bflammers",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2017-10-14"
    },
    {
      "version": "1.1",
      "date": "2017-10-23"
    },
    {
      "version": "1.2",
      "date": "2017-11-15"
    },
    {
      "version": "1.3",
      "date": "2017-11-16"
    },
    {
      "version": "1.4",
      "date": "2017-11-24"
    },
    {
      "version": "1.5",
      "date": "2017-11-28"
    },
    {
      "version": "2.0",
      "date": "2018-12-11"
    },
    {
      "version": "2.1",
      "date": "2019-03-04"
    },
    {
      "version": "2.2",
      "date": "2019-03-19"
    },
    {
      "version": "2.3",
      "date": "2019-03-20"
    },
    {
      "version": "2.3.1",
      "date": "2019-03-30"
    },
    {
      "version": "2.3.2",
      "date": "2019-04-13"
    },
    {
      "version": "2.3.3",
      "date": "2020-03-14"
    },
    {
      "version": "2.3.4",
      "date": "2020-12-01"
    },
    {
      "version": "2.4.0",
      "date": "2025-10-09"
    }
  ],
  "_exports": [
    "autoencoder",
    "compression_plot",
    "decode",
    "encode",
    "neuralnetwork",
    "read_ANN",
    "reconstruct",
    "reconstruction_plot",
    "train",
    "write_ANN"
  ],
  "_help": [
    {
      "page": "ANN",
      "title": "Rcpp module exposing C++ class ANN",
      "topics": [
        "ANN",
        "Rcpp_ANN-class"
      ]
    },
    {
      "page": "autoencoder",
      "title": "Train an Autoencoding Neural Network",
      "topics": [
        "autoencoder"
      ]
    },
    {
      "page": "compression_plot",
      "title": "Compression plot",
      "topics": [
        "compression_plot",
        "compression_plot.ANN"
      ]
    },
    {
      "page": "decode",
      "title": "Decoding step",
      "topics": [
        "decode",
        "decode.ANN"
      ]
    },
    {
      "page": "encode",
      "title": "Encoding step",
      "topics": [
        "encode",
        "encode.ANN"
      ]
    },
    {
      "page": "neuralnetwork",
      "title": "Train a Neural Network",
      "topics": [
        "neuralnetwork"
      ]
    },
    {
      "page": "plot.ANN",
      "title": "Plot training and validation loss",
      "topics": [
        "plot.ANN"
      ]
    },
    {
      "page": "predict.ANN",
      "title": "Make predictions for new data",
      "topics": [
        "predict.ANN"
      ]
    },
    {
      "page": "print.ANN",
      "title": "Print ANN",
      "topics": [
        "print.ANN"
      ]
    },
    {
      "page": "read_ANN",
      "title": "Read ANN object from file",
      "topics": [
        "read_ANN"
      ]
    },
    {
      "page": "reconstruct",
      "title": "Reconstruct data using trained ANN object of type autoencoder",
      "topics": [
        "reconstruct"
      ]
    },
    {
      "page": "reconstruction_plot",
      "title": "Reconstruction plot",
      "topics": [
        "reconstruction_plot",
        "reconstruction_plot.ANN"
      ]
    },
    {
      "page": "train",
      "title": "Continue training of a Neural Network",
      "topics": [
        "train"
      ]
    },
    {
      "page": "write_ANN",
      "title": "Write ANN object to file",
      "topics": [
        "write_ANN"
      ]
    }
  ],
  "_readme": "https://github.com/bflammers/ann2/raw/HEAD/README.md",
  "_rundeps": [
    "brio",
    "callr",
    "cli",
    "cpp11",
    "crayon",
    "desc",
    "diffobj",
    "evaluate",
    "farver",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "otel",
    "pkgbuild",
    "pkgload",
    "plyr",
    "praise",
    "processx",
    "ps",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "reshape2",
    "rlang",
    "rprojroot",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "testthat",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 5.987666264926275,
  "_indexed": true,
  "_nocasepkg": "ann2",
  "_universes": [
    "bflammers"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-09T09:11:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/cdf98836e81029f5555789b0df5a39a13e3b421a88e956ea635b06e083364786",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-09T09:11:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/86aca6d70de43ce6bd047e69bce3a5ba1dc348848572394dc6757c28bf5ddca9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-09T09:10:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/a420bc8f3578c74258d5a0b4f1b701c14a7adbbbecbb1ef4caabe447c6f7f8dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-09T09:11:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/52596dbf0fbac0d0970735b7b4add9a72b5d1fb7cf50222a8d4b4a63c13eba26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-09T09:12:33.000Z",
      "arch": "aarch64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/439d1eba509a64c54789d46cea937a99164fa2b9ec0904f852b88eca6db4c980",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-09T09:12:08.000Z",
      "arch": "x86_64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/9e12b5d1efbe45416b7dc0958b3cc301b06476039cdef1b14807289c86103c6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-09T09:11:35.000Z",
      "arch": "aarch64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/32f2a0c60bfdffc6f7be77053ff729f8c9ffb36284029655ac344c5241b7edd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.4.0",
      "date": "2026-10-09T09:11:58.000Z",
      "arch": "x86_64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/0ac60eb248bc0f840d6a76a07ced099757488ec59513248b5595436bdc0ebb6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.0",
      "date": "2026-10-09T09:10:54.000Z",
      "arch": "emscripten",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/2b2536b017a3d4efff234a7ffe01ea5ade967190c9371e205b715631a0ee3759",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-09T09:14:19.000Z",
      "arch": "aarch64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/116592901a64228e0fb7d46159c1897fc7a5d6783c6293da43cd694bec3cb291",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-09T09:10:17.000Z",
      "arch": "x86_64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/625fa4cfcbaebc46cf6f3e29bb9259cd5043f724cc1a9c35e5ac1708c700df54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-09T09:10:36.000Z",
      "arch": "x86_64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/bf85c06f8f8131bcc4b1b73d814a36850e85b2aad0d2c68b8888d69fa12b27d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-09T09:13:43.000Z",
      "arch": "aarch64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/1e5e3d6ff408ebc6df01b466258c7cb198728638211c2e9ee84b559ed61df84b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-09T09:10:30.000Z",
      "arch": "x86_64",
      "commit": "5c4d018c29078c2b6aaf1476e4ca6c4ffb8dc1f3",
      "fileid": "https://r2.ropensci.org/9589357428afca3f6774b72849a95e098b0c83273d67978a046ecca234cc89ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bflammers/actions/runs/37908779292"
    }
  ]
}