hopfield-networks alternatives and similar packages
Based on the "Math" category.
Alternatively, view hopfield-networks alternatives based on common mentions on social networks and blogs.
-
vector
An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework . -
hgeometry
HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms. -
dimensional
Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+). -
numhask
A haskell numeric prelude, providing a clean structure for numbers and operations that combine them. -
poly
Fast polynomial arithmetic in Haskell (dense and sparse, univariate and multivariate, usual and Laurent) -
eigen
Haskel binding for Eigen library. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of hopfield-networks or a related project?
README
Hopfield Networks in Haskell
Hopfield Networks are a simple form of neutral network, that can be understood as a simplified model of memory.
This implementation is based on the description in Information Theory, Inference, and Learning Algorithms by David MacKay, and [John Myles White's][] Julia implementation on Hopfield networks on GitHub.
Installation
cabal install hopfield-networks
Demonstration
If your cabal
binary directory is in your $PATH
, you can directly
run a demonstration.
$ hopfield_demonstration
Training patterns
--------
|X X|
| X X |
| XX |
| XX |
| XX |
| X X |
|X X|
--------
--------
|XXXXXX|
|X X|
|X X|
|X X|
|X X|
|X X|
|XXXXXX|
--------
Validation
("Corruption error",4.8989797)
("Reproduction error",0.0)
"Original"
--------
|X X|
| X X |
| XX |
| XX |
| XX |
| X X |
|X X|
--------
"Corrupted"
--------
|X XX|
| XX X |
| XXX |
| XX X|
| XX |
| X X |
|XXX X|
--------
"Reproduction"
--------
|X X|
| X X |
| XX |
| XX |
| XX |
| X X |
|X X|
--------
("Corruption error",4.8989797)
("Reproduction error",0.0)
"Original"
--------
|XXXXXX|
|X X|
|X X|
|X X|
|X X|
|X X|
|XXXXXX|
--------
"Corrupted"
--------
|XX XXX|
|XX X|
|X XX|
|XX X|
|X X|
|X X X|
|XXX XX|
--------
"Reproduction"
--------
|XXXXXX|
|X X|
|X X|
|X X|
|X X|
|X X|
|XXXXXX|
--------