Skip to content

hann

1.2

Hopfield Artificial Neural Networks

0packages depend
2.2Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Emmanuel ParadisFirst published 2025-07-253 releasesCRAN page ↗GitHub ↗

Builds and optimizes Hopfield artificial neural networks (Hopfield, 1982, doi:10.1073/pnas.79.8.2554). One-layer and three-layer models are implemented. The energy of the Hopfield network is minimized with formula from Krotov and Hopfield (2016, doi:10.48550/ARXIV.1606.01164). Optimization (supervised learning) is done through a gradient-based method. Classification is done with S3 methods predict(). Parallelization with 'OpenMP' is used if available during compilation.

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
2
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,263 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
86%
Return-value docs
100%
References docs
40%

Downloads

2.2K
CRAN downloads in the past year
Rank #22,496 · ~6/day · ~185/mo
Daily download trend is not available in this view yet.
11830 days
47390 days
2.2K1 year
Compare downloads with other packages →
Also on411 r2u18 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
25Commits
1Contributors
25 commits · Last activity 2026-01-06

Repository practices

Upstream repositoryBeta

Checks run against github.com/emmanuelparadis/hann on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
graphicsstats
LinkingTo (0)
none
Suggests (1)
lattice
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2Latest
    2026-01-26 · current release · diff ↗
  • 1.1
    2025-08-20 · diff ↗
  • 1.0
    2025-07-25
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-07-25
Total releases
3 / 1 yrs
License
GPL-3 OSI
Download size
105 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hann")
Paradis, E. (2026). hann: Hopfield Artificial Neural Networks (Version 1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.hann

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for hann version 1.2 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy