{
  "_id": "6a268c2d24555f66ed51b0e3",
  "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-06-08 09:25:20 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",
  "MD5sum": "43ea1e50fe009408b8b7e0ed99a032b8",
  "_user": "cran",
  "_type": "src",
  "_file": "ANN2_2.4.0.tar.gz",
  "_fileid": "9b83906c959556eef50816def1a8ae23b4d2d169004bb1f508559aef2face0c9",
  "_filesize": 392098,
  "_sha256": "9b83906c959556eef50816def1a8ae23b4d2d169004bb1f508559aef2face0c9",
  "_created": "2026-06-08T09:25:20.000Z",
  "_published": "2026-06-08T09:32:29.631Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80062709159,
      "time": 272,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7476399641"
    },
    {
      "job": 80062709175,
      "time": 239,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7476386418"
    },
    {
      "job": 80062709167,
      "time": 246,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476389895"
    },
    {
      "job": 80062709250,
      "time": 246,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476389297"
    },
    {
      "job": 80061871628,
      "time": 281,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476293734"
    },
    {
      "job": 80062709142,
      "time": 197,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7476369989"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27128084951",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ANN2",
  "_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
  },
  "_maintainer": {
    "name": "Bart Lammers",
    "email": "bart.f.lammers@gmail.com",
    "login": "bflammers",
    "description": "Building Eyk - tracking & analytics for modern e-commerce brands 🔥",
    "uuid": 15668381
  },
  "_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": [
    {
      "week": "2025-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.4.0",
      "date": "2025-10-09"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bflammers",
      "count": 15,
      "uuid": 15668381
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 490,
    "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.0",
  "_assets": [
    "extra/ANN2.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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-06-08T09:29:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "f1f0778ebc9f2855bde76d464c18fa0f08a4448906e7d533a648ae9e5e3f9acf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128084951"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-06-08T09:29:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "602bbb5f2d014537e8153e1d3808684f3eac22203b75ecb51e883398c1215e41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128084951"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-06-08T09:29:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "527978ee8c7333314fca218469de7b7643a78c7abd771dc5c737f0e6f0f7b4c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128084951"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.4.0",
      "date": "2026-06-08T09:29:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "f944f845285b6e35cc42076ce0d1dbef55d5e2f99baef20a1f1056e4e72b7928",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128084951"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.4.0",
      "date": "2026-06-08T09:29:18.000Z",
      "arch": "emscripten",
      "commit": "c335d93ee38ecdcfd09945a4ca2a868637e8a5e6",
      "fileid": "7bcc741a44b193577c9a4342a5630942deb35773fbcc76d05c8a73558b5eae1e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27128084951"
    }
  ]
}