haskell-ml: Machine learning in Haskell

[ bsd3, library, machine-learning, program ] [ Propose Tags ]

Provides a very simple implementation of deep (i.e. - multi-layer), fully connected (i.e. - _not_ convolutional) neural networks. Hides the type of the internal network structure from the client code, while still providing type safety, via existential type quantification and dependently typed programming techniques, ala Justin Le. (See Justin's blog post.)

The API offers a single network creation function: randNet, which allows the user to create a randomly initialized network of arbitrary internal structure by supplying a list of integers, each specifying the output width of one hidden layer in the network. (The input/output widths are determined automatically by the compiler, via type inference.) The type of the internal structure (i.e. - hidden layers) is existentially hidden, outside the API, which offers the following benefits:

  • Client generated networks of different internal structure may be stored in a common list (or, other Functorial data structure).

  • The exact structure of the network may be specified at run time, via: user input, file I/O, etc., while still providing GHC enforced type safety, at compile time.

  • Complex networks with long training times may be stored, after being trained, so that they may be recalled and used again, at a later date/time, without having to re-train them.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.4.0, 0.4.1, 0.4.2
Dependencies attoparsec, base (>=4.7 && <5), binary, haskell-ml, hmatrix, MonadRandom, random-shuffle, singletons, text, vector [details]
License BSD-3-Clause
Copyright 2018 David Banas
Author David Banas
Maintainer capn.freako@gmail.com
Category Machine Learning
Source repo head: git clone https://github.com/capn-freako/Haskell_ML.git
Uploaded by DavidBanas at 2018-01-28T16:04:36Z
Executables iris
Downloads 1748 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-01-28 [all 1 reports]

Readme for haskell-ml-0.4.2

[back to package description]


Various examples of machine learning, in Haskell.

To get started, or learn more, visit the wiki page.