{
  "_id": "6a4c919507c3fd5c3260dc55",
  "Package": "hann",
  "Version": "1.1-3",
  "Date": "2025-12-07",
  "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-01-06 20:03:44 UTC",
  "RemoteUrl": "https://github.com/emmanuelparadis/hann",
  "RemoteRef": "HEAD",
  "RemoteSha": "59251ecb44dfa261195e6e7926f989dd4553ddad",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-05 09:54:38 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.1-3.tar.gz",
  "_fileid": "https://r2.ropensci.org/74232d155e72c24a3d7063627efd463eeeee946f1bb5e586195ad935c4bc5f98",
  "_filesize": 312138,
  "_sha256": "74232d155e72c24a3d7063627efd463eeeee946f1bb5e586195ad935c4bc5f98",
  "_expires": "2026-10-13T09:59:15.000Z",
  "_created": "2026-07-05T09:54:38.000Z",
  "_published": "2026-07-07T05:41:41.090Z",
  "_jobs": [
    {
      "job": 85544416064,
      "time": 150,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8090638470"
    },
    {
      "job": 85544415890,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8090636470"
    },
    {
      "job": 85544416281,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090638585"
    },
    {
      "job": 85544416113,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090638765"
    },
    {
      "job": 85544415571,
      "time": 63,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85544415566,
      "time": 117,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85544415567,
      "time": 74,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85544415579,
      "time": 169,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85544415883,
      "time": 163,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090617731"
    },
    {
      "job": 85544415574,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 85544415856,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8090631602"
    },
    {
      "job": 85544416110,
      "time": 158,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8090639108"
    },
    {
      "job": 85544416125,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8090631718"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191",
  "_status": "success",
  "_upstream": "https://github.com/emmanuelparadis/hann",
  "_commit": {
    "id": "59251ecb44dfa261195e6e7926f989dd4553ddad",
    "author": "emmanuelparadis <Emmanuel.Paradis@ird.fr>",
    "committer": "emmanuelparadis <Emmanuel.Paradis@ird.fr>",
    "message": "fixed some man pages\n",
    "time": 1767729824
  },
  "_maintainer": {
    "name": "Emmanuel Paradis",
    "email": "emmanuel.paradis@ird.fr",
    "login": "emmanuelparadis",
    "description": "",
    "uuid": 10957055,
    "orcid": "0000-0003-3092-2199"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    }
  ],
  "_owner": "emmanuelparadis",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 6
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "emmanuelparadis",
      "count": 25,
      "uuid": 10957055
    }
  ],
  "_userbio": {
    "uuid": 10957055,
    "type": "user",
    "name": "Emmanuel Paradis",
    "followers": 107
  },
  "_downloads": {
    "count": 227,
    "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.1",
  "_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": 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.544068044350276,
  "_indexed": true,
  "_nocasepkg": "hann",
  "_universes": [
    "emmanuelparadis"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1-3",
      "date": "2026-07-05T09:57:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "59251ecb44dfa261195e6e7926f989dd4553ddad",
      "fileid": "https://r2.ropensci.org/9b6a8adc177f372139b547e6c7f55a02c39e202ff493832ebd9d6e0901d6ab40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1-3",
      "date": "2026-07-05T09:56:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "59251ecb44dfa261195e6e7926f989dd4553ddad",
      "fileid": "https://r2.ropensci.org/f7ea386b0959f7d365caa0283667051aac2d0217cf5955090ab76be68ab00963",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1-3",
      "date": "2026-07-05T09:57:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "59251ecb44dfa261195e6e7926f989dd4553ddad",
      "fileid": "https://r2.ropensci.org/25c8156a7dd89747f780d33e5a8237eb230d18c7e736302de10aeca37bcfd709",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1-3",
      "date": "2026-07-05T09:57:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "59251ecb44dfa261195e6e7926f989dd4553ddad",
      "fileid": "https://r2.ropensci.org/67ee2b1ebd63ae131644da424b90d73c10a4ac8b6eb8a91690c4a6b1a1e3e3e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1-3",
      "date": "2026-07-05T09:55:45.000Z",
      "arch": "x86_64",
      "commit": "59251ecb44dfa261195e6e7926f989dd4553ddad",
      "fileid": "https://r2.ropensci.org/9acdf777cee518544e050bfefcc34f8d34b87650813f7ebc506ee801fc7021e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1-3",
      "date": "2026-07-05T09:56:08.000Z",
      "arch": "x86_64",
      "commit": "59251ecb44dfa261195e6e7926f989dd4553ddad",
      "fileid": "https://r2.ropensci.org/685fab0ade0b5889b57be4e396c6a451641e96602a1de7be309da5998443c935",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1-3",
      "date": "2026-07-05T09:55:46.000Z",
      "arch": "x86_64",
      "commit": "59251ecb44dfa261195e6e7926f989dd4553ddad",
      "fileid": "https://r2.ropensci.org/dcd4da8f0b04b49bce528a5055897ae947d70bf22b652d1169fd36e97a762f78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/emmanuelparadis/actions/runs/28736821191"
    }
  ]
}