{
  "_id": "6adc61431f8fc22f6383dde1",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-24 07:32:48 UTC",
    "User": "root"
  },
  "Author": "Bart Lammers [aut, cre]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-10-09 23:10:06 UTC",
  "RemoteUrl": "https://github.com/cran/ANN2",
  "RemoteRef": "HEAD",
  "RemoteSha": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
  "_user": "cran",
  "_type": "src",
  "_file": "ANN2_2.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/704f82ea2cf8eecfff092d22cdf99c5f200bed9724a083acb1a49ac1ebeff803",
  "_filesize": 390044,
  "_sha256": "704f82ea2cf8eecfff092d22cdf99c5f200bed9724a083acb1a49ac1ebeff803",
  "_expires": "2027-02-01T07:41:53.000Z",
  "_created": "2026-10-24T07:32:48.000Z",
  "_published": "2026-10-24T07:41:55.595Z",
  "_upstream": "https://github.com/cran/ANN2",
  "_status": "success",
  "_maintainer": {
    "name": "Bart Lammers",
    "email": "bart.f.lammers@gmail.com",
    "login": "bflammers",
    "description": "Building Eyk - tracking & analytics for modern e-commerce brands 🔥",
    "uuid": 15668381
  },
  "_jobs": [
    {
      "job": 120815408809,
      "time": 216,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12553235144"
    },
    {
      "job": 120815408810,
      "time": 283,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12552469023"
    },
    {
      "job": 120815408959,
      "time": 219,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12552464046"
    },
    {
      "job": 120815408886,
      "time": 285,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12551889639"
    },
    {
      "job": 120814385086,
      "time": 305,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12551943815"
    },
    {
      "job": 120815409021,
      "time": 192,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12552364213"
    },
    {
      "job": 120815408896,
      "time": 392,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12552249998"
    },
    {
      "job": 120815408917,
      "time": 324,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12552777630"
    },
    {
      "job": 120815408805,
      "time": 407,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12552622426"
    },
    {
      "job": 120815408832,
      "time": 200,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12552194796"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125",
  "_commit": {
    "id": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
    "author": "Bart Lammers <bart.f.lammers@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.4.0\n",
    "time": 1760051406
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bflammers",
      "count": 15,
      "uuid": 15668381
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 636,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ANN2"
  },
  "_mentions": 14,
  "_devurl": "https://github.com/bflammers/ann2",
  "_searchresults": 81,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_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": false,
  "_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/cran/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": 3.6074550232146687,
  "_indexed": false,
  "_nocasepkg": "ann2",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://bflammers.r-universe.dev/ANN2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-24T07:35:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/701bda82a24a360e08d8554b55e1acfa5611c6054e669bddcf9aea8edd4340a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-24T07:36:41.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/0c87b6128a1e24062b6a881343a895b7f60e46fc9e863dd6d6582e3512c2799a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-24T07:35:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/9169feb8b1b0ab631702efdea30638e652bc6980491328bf2b3639540e01bdbc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-10-24T07:36:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/c92fbe22b0eddcc8c65166492a76c9a1ba75b1412b4c85227139532ec32e38c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.0",
      "date": "2026-10-24T07:36:04.000Z",
      "arch": "emscripten",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/d92334ab1c4175ff30270fb69d63786960bc2b538f2e5c1f3439e34d8f2bdb77",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-24T07:37:41.000Z",
      "arch": "aarch64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/f7f849a2c590e035d52a1f5164d78920c83d75bfc46c76c11ed5d2c14bfe74f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-24T07:35:23.000Z",
      "arch": "x86_64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/44354d21252f1925e2cea426be80717cbaec4f63cdb72ff36b611f49cbfc042d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-24T07:37:40.000Z",
      "arch": "aarch64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/3010ab9cb2663ff13b172209bb7b5839abe7699b2690d479dcb9a77c19699dd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.4.0",
      "date": "2026-10-24T07:35:17.000Z",
      "arch": "x86_64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "https://r2.ropensci.org/de1accf1efee5de4c075e545d33b76270eae4af48d0ad372fb175922f8301a71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40074311125"
    }
  ]
}