{
  "_id": "6a154437acfb0bcc41d56bd4",
  "Package": "hann",
  "Version": "1.2",
  "Date": "2026-01-26",
  "Title": "Hopfield Artificial Neural Networks",
  "Authors@R": "c(person(\"Emmanuel\", \"Paradis\", role = c(\"aut\", \"cre\", \"cph\"), email = \"Emmanuel.Paradis@ird.fr\", comment = c(ORCID = \"0000-0003-3092-2199\")))",
  "Description": "Builds and optimizes Hopfield artificial neural networks\n(Hopfield, 1982, <doi:10.1073/pnas.79.8.2554>). One-layer and\nthree-layer models are implemented. The energy of the Hopfield\nnetwork is minimized with formula from Krotov and Hopfield\n(2016, <doi:10.48550/ARXIV.1606.01164>). Optimization\n(supervised learning) is done through a gradient-based method.\nClassification is done with S3 methods predict().\nParallelization with 'OpenMP' is used if available during\ncompilation.",
  "URL": "https://github.com/emmanuelparadis/hann",
  "BugReports": "https://github.com/emmanuelparadis/hann/issues",
  "License": "GPL-3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-26 06:53:58 UTC",
    "User": "root"
  },
  "Author": "Emmanuel Paradis [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-3092-2199>)",
  "Maintainer": "Emmanuel Paradis <Emmanuel.Paradis@ird.fr>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-01-26 16:20:32 UTC",
  "RemoteUrl": "https://github.com/cran/hann",
  "RemoteRef": "HEAD",
  "RemoteSha": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
  "MD5sum": "91bd6c2986b1485b2df3f43f5842401d",
  "_user": "cran",
  "_type": "src",
  "_file": "hann_1.2.tar.gz",
  "_fileid": "412ebef856457c07f2b7eb4bd1abfb2c56fd589295cc4d12f2af01dce7092efd",
  "_filesize": 309933,
  "_sha256": "412ebef856457c07f2b7eb4bd1abfb2c56fd589295cc4d12f2af01dce7092efd",
  "_created": "2026-05-26T06:53:58.000Z",
  "_published": "2026-05-26T06:56:55.235Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77822601923,
      "time": 143,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210701231"
    },
    {
      "job": 77822601925,
      "time": 105,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7210691609"
    },
    {
      "job": 77822601951,
      "time": 116,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210694234"
    },
    {
      "job": 77822602024,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210691066"
    },
    {
      "job": 77822292378,
      "time": 145,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210664536"
    },
    {
      "job": 77822601906,
      "time": 80,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7210685315"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26437074177",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/hann",
  "_commit": {
    "id": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
    "author": "Emmanuel Paradis <Emmanuel.Paradis@ird.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2\n",
    "time": 1769444432
  },
  "_maintainer": {
    "name": "Emmanuel Paradis",
    "email": "emmanuel.paradis@ird.fr",
    "login": "emmanuelparadis",
    "description": "",
    "uuid": 10957055,
    "orcid": "0000-0003-3092-2199"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0",
      "date": "2025-07-25"
    },
    {
      "name": "1.1",
      "date": "2025-08-20"
    },
    {
      "name": "1.2",
      "date": "2026-01-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "emmanuelparadis",
      "count": 3,
      "uuid": 10957055
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 161,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hann"
  },
  "_devurl": "https://github.com/emmanuelparadis/hann",
  "_searchresults": 2,
  "_topics": [
    "openblas",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hann.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/emmanuelparadis/hann",
  "_realowner": "emmanuelparadis",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2025-07-25"
    },
    {
      "version": "1.1",
      "date": "2025-08-20"
    },
    {
      "version": "1.2",
      "date": "2026-01-26"
    }
  ],
  "_exports": [
    "binarize",
    "buildSigma",
    "combine",
    "control.hann",
    "hann",
    "hann1",
    "hann3",
    "tune.hann"
  ],
  "_help": [
    {
      "page": "hann-package",
      "title": "Hopfield Artificial Neural Networks",
      "topics": [
        "hann-package"
      ]
    },
    {
      "page": "binarize",
      "title": "Helper Function to Prepare Data From Images",
      "topics": [
        "binarize"
      ]
    },
    {
      "page": "buildSigma",
      "title": "Hopfield Network Energy",
      "topics": [
        "buildSigma"
      ]
    },
    {
      "page": "combine",
      "title": "Combine Several Neural Nets for Prediction",
      "topics": [
        "combine"
      ]
    },
    {
      "page": "control.hann",
      "title": "Parameters for Neural Network Optimization",
      "topics": [
        "control.hann"
      ]
    },
    {
      "page": "hann",
      "title": "Method Top-Level Functions",
      "topics": [
        "coef.hann",
        "fitted.hann",
        "hann",
        "labels.hann",
        "plot.hann",
        "predict.hann",
        "print.hann",
        "str.hann",
        "summary.hann"
      ]
    },
    {
      "page": "hann1",
      "title": "One-layer Hopfield ANN",
      "topics": [
        "hann1",
        "print.hann1"
      ]
    },
    {
      "page": "hann3",
      "title": "Three-layer Hopfield ANN",
      "topics": [
        "hann3",
        "print.hann3"
      ]
    },
    {
      "page": "predict.hann1",
      "title": "Prediction",
      "topics": [
        "predict.hann1",
        "predict.hann3"
      ]
    },
    {
      "page": "tune.hann",
      "title": "Tune Hyperparameters",
      "topics": [
        "tune.hann"
      ]
    }
  ],
  "_readme": "https://github.com/cran/hann/raw/HEAD/README.md",
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "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": "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": "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"
    }
  ],
  "_vignettes": [
    {
      "source": "IntroductionHopfieldNetworks.Rnw",
      "filename": "IntroductionHopfieldNetworks.pdf",
      "title": "Introduction to Hopfield Networks",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2025-07-25 15:40:07",
      "modified": "2026-01-26 16:20:32",
      "commits": 2
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "hann",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://emmanuelparadis.r-universe.dev/hann",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-26T06:56:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "751214c7d036ed58fb19ef3adc8c16893f49871d229904c7a51c04b4d8ec2651",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26437074177"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-26T06:55:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "cd683bd6bb61203a06567976b527f7cc54ff8e5807a7f25fc017185c3abf4de2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26437074177"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-26T06:56:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "75ab476cc43eb4f0320564a0923ae9137effcdaf5894bfb738efb77d4c086287",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26437074177"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-05-26T06:55:48.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "8a81ef8d955e0c95be90c9ecc841e2cec19f6f2997a7253bef0726c6493e4be1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26437074177"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-05-26T06:55:37.000Z",
      "arch": "emscripten",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "373fc8e2f5b99350fdb3a3e34fea7a61565ec02a9e1a0c52fbdd8605b6286ebc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26437074177"
    }
  ]
}