{
  "_id": "6ae9d2949ceaa78f2009d9ca",
  "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",
  "Repository": "https://emmanuelparadis.r-universe.dev",
  "Date/Publication": "2026-11-03 09:53:56 UTC",
  "RemoteUrl": "https://github.com/emmanuelparadis/hann",
  "RemoteRef": "HEAD",
  "RemoteSha": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-03 11:55:19 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>",
  "_user": "emmanuelparadis",
  "_type": "src",
  "_file": "hann_1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/0f198353e4e144f09888c1af88925ffdae28d0ffbd14935667d62fe01c52ac42",
  "_filesize": 312742,
  "_sha256": "0f198353e4e144f09888c1af88925ffdae28d0ffbd14935667d62fe01c52ac42",
  "_expires": "2027-02-11T12:24:50.000Z",
  "_created": "2026-11-03T11:55:19.000Z",
  "_published": "2026-11-03T12:24:52.475Z",
  "_upstream": "https://github.com/emmanuelparadis/hann",
  "_status": "success",
  "_maintainer": {
    "name": "Emmanuel Paradis",
    "email": "emmanuel.paradis@ird.fr",
    "login": "emmanuelparadis",
    "description": "",
    "uuid": 10957055,
    "orcid": "0000-0003-3092-2199"
  },
  "_jobs": [
    {
      "job": 125901758662,
      "time": 78,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13227478761"
    },
    {
      "job": 125901758749,
      "time": 88,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13227199703"
    },
    {
      "job": 125901758735,
      "time": 74,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13228945801"
    },
    {
      "job": 125901758798,
      "time": 91,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13228137458"
    },
    {
      "job": 125901758670,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13229813599"
    },
    {
      "job": 125901758750,
      "time": 304,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13228493755"
    },
    {
      "job": 125901758729,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13230705609"
    },
    {
      "job": 125901758810,
      "time": 279,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13228931075"
    },
    {
      "job": 125900580271,
      "time": 154,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13228502251"
    },
    {
      "job": 125901758583,
      "time": 75,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13228467719"
    },
    {
      "job": 125901758852,
      "time": 342,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13228623260"
    },
    {
      "job": 125901758942,
      "time": 140,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13228920576"
    },
    {
      "job": 125901758946,
      "time": 86,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13228442678"
    },
    {
      "job": 125901758850,
      "time": 340,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13229230283"
    },
    {
      "job": 125901758975,
      "time": 132,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13227993703"
    }
  ],
  "_buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153",
  "_commit": {
    "id": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
    "author": "emmanuelparadis <Emmanuel.Paradis@ird.fr>",
    "committer": "emmanuelparadis <Emmanuel.Paradis@ird.fr>",
    "message": "update for v. 1.2\n",
    "time": 1793699636
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    }
  ],
  "_owner": "emmanuelparadis",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "emmanuelparadis",
      "count": 27,
      "uuid": 10957055
    }
  ],
  "_userbio": {
    "uuid": 10957055,
    "type": "user",
    "name": "Emmanuel Paradis",
    "followers": 109
  },
  "_downloads": {
    "count": 242,
    "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.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hann.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/emmanuelparadis/hann",
  "_realowner": "emmanuelparadis",
  "_cranurl": true,
  "_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/emmanuelparadis/hann/raw/HEAD/README.md",
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "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": "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": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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": "2024-11-07 21:07:46",
      "modified": "2025-12-07 10:17:52",
      "commits": 2
    }
  ],
  "_score": 4.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "hann",
  "_universes": [
    "emmanuelparadis"
  ],
  "_previous": "1.1-3",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-11-03T11:56:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/6b9d12c2019b0add3bc76798d0b860d2c5d0df9dea3734945c139bb4cb25c984",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-11-03T11:56:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/fe750a5681f4e98e4b3ea7d413044963945e5c5e334312dc405b3ce9b116cc5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2",
      "date": "2026-11-03T11:56:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/2a0e44328603de11058cc4e88e9daf5217b63d0bdfc79322a5b3592515af98cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2",
      "date": "2026-11-03T11:56:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/5a280c9abb4ec3c969ca112abf0e1aa83ff565929d94de1b243536ab1fe80f53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-11-03T12:22:37.000Z",
      "arch": "aarch64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/52b7d82d77724336021d1eaec0e0a729b4b466d2618863dfc20a974052dfc1b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2",
      "date": "2026-11-03T12:00:39.000Z",
      "arch": "x86_64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/ccbee8ad7cff13a990dd592507473e987f72fd627141789e6994fffe62aec9a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2",
      "date": "2026-11-03T12:24:13.000Z",
      "arch": "aarch64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/e15c19bc7980cd3b37ed30e357cc0c01ea1960d80e436f14d6a9e0ee4fdf3880",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2",
      "date": "2026-11-03T11:59:59.000Z",
      "arch": "x86_64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/111da5953167a0b3d04747c21f84bc0e631b2ae42aa9dc9d54e8727c282f5d83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-11-03T11:56:53.000Z",
      "arch": "emscripten",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/280381f3bf8fef4319e7f4c3e2479226e4c98069256fe96f2c6aae46c3fb6db1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-03T12:00:26.000Z",
      "arch": "aarch64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/125ba78d1c64cfd375eb3f152c14e4f43fc0a619a0d351cb2938c2d5b419b746",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-03T11:57:01.000Z",
      "arch": "x86_64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/1f6248c1f007a9d74812dec237fbbf522a88caad4d550d17969edbf15b518d17",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-03T11:56:42.000Z",
      "arch": "x86_64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/eeee3a089b2c20520342bb8bac5c5f4e50c4958eb24553420ce891363559b2b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-03T12:00:33.000Z",
      "arch": "aarch64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/0a3d95b4713b06b891a68aa52f7e91d13dfab9657ec640779d62ab4386f57611",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2",
      "date": "2026-11-03T11:57:04.000Z",
      "arch": "x86_64",
      "commit": "db95ceea1dd456f2aec047ac60f9624f73aa959d",
      "fileid": "https://r2.ropensci.org/70a72557608ca6866036600a36b38c176b200baa69ba62f974b0b69e1fe749f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/41631059153"
    }
  ]
}