{
  "_id": "6ae056ea5d0f7c3164ef6e08",
  "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-10-27 07:43:14 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",
  "_user": "cran",
  "_type": "src",
  "_file": "hann_1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/24fbb11553157b8002f42d92f565d085467098c4c82d5e7fb3578bced4a7f71f",
  "_filesize": 313245,
  "_sha256": "24fbb11553157b8002f42d92f565d085467098c4c82d5e7fb3578bced4a7f71f",
  "_expires": "2027-02-04T07:46:48.000Z",
  "_created": "2026-10-27T07:43:14.000Z",
  "_published": "2026-10-27T07:46:50.278Z",
  "_upstream": "https://github.com/cran/hann",
  "_status": "success",
  "_maintainer": {
    "name": "Emmanuel Paradis",
    "email": "emmanuel.paradis@ird.fr",
    "login": "emmanuelparadis",
    "description": "",
    "uuid": 10957055,
    "orcid": "0000-0003-3092-2199"
  },
  "_jobs": [
    {
      "job": 122070731057,
      "time": 77,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12717866699"
    },
    {
      "job": 122070731150,
      "time": 88,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12718035985"
    },
    {
      "job": 122070731279,
      "time": 69,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12718050840"
    },
    {
      "job": 122070731113,
      "time": 93,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12717149793"
    },
    {
      "job": 122069900727,
      "time": 151,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12717099887"
    },
    {
      "job": 122070731079,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12717577137"
    },
    {
      "job": 122070731002,
      "time": 180,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12717926722"
    },
    {
      "job": 122070731072,
      "time": 78,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12717743047"
    },
    {
      "job": 122070731171,
      "time": 167,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12718225487"
    },
    {
      "job": 122070731025,
      "time": 63,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12718050818"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2",
      "date": "2026-01-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "emmanuelparadis",
      "count": 3,
      "uuid": 10957055
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 220,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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.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": "2025-07-25 15:40:07",
      "modified": "2026-01-26 16:20:32",
      "commits": 2
    }
  ],
  "_score": 2.6989700043360187,
  "_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-10-27T07:44:39.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/dbf301328e208b3d1eb7e9968b466fd93b6e926ca5c3e207cafe9caab22355ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-27T07:44:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/ff495c91d934902b170a53f9f416d3da9da33183c501a488c8593d160fedc0f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-27T07:44:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/40bf850885207061ce1c2a0df217cfeb43c8ae5bea3e47e622d8cc8c01ee8ccc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2",
      "date": "2026-10-27T07:44:50.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/46f7c71d848de285bcaa62db984eb20b9264c116829129e12aa95fb020160589",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2",
      "date": "2026-10-27T07:44:47.000Z",
      "arch": "emscripten",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/1dc166b0f9498697c65d65af433af60088567e38bd48e3b95703ee389fd83cd9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-27T07:46:09.000Z",
      "arch": "aarch64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/0c8d130ca3acd22aa9b51046e35bff40578d03106e1cbdf9b51bba724e2ac1b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-27T07:44:04.000Z",
      "arch": "x86_64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/863aa31443c0bebf7769e160c9fb46aacb0f3f90e2141e95ce9985f7fa4055ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-27T07:45:59.000Z",
      "arch": "aarch64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/6ae1717b7e2fc8adc1c80d368d7566cdd937771620de77899afab151268ccd78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2",
      "date": "2026-10-27T07:44:11.000Z",
      "arch": "x86_64",
      "commit": "c42e082665ce754b21ac0f6ce946dec8c99c5b1c",
      "fileid": "https://r2.ropensci.org/9a9374359088fba75d45264a212766dc3c26d759847c7883d5aadc0edb5fbbc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40468547578"
    }
  ]
}