Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Machine Learning
  3. hnn

hnn

NOASSERTIONHaskell

A Haskell library for building and training feed-forward neural networks with automatic differentiation.

Visit WebsiteGitHubGitHub
114 stars14 forks0 contributors

What is hnn?

HNN is a Haskell library for building and training feed-forward neural networks. It provides tools for creating neural network models with automatic differentiation for gradient computation, enabling machine learning development within the Haskell ecosystem. The library focuses on simplicity and integration with Haskell's functional programming paradigm.

Target Audience

Haskell developers interested in implementing neural networks and machine learning models using functional programming techniques.

Value Proposition

Developers choose HNN for its native Haskell implementation, which offers type safety and functional programming benefits while providing essential neural network capabilities without requiring external dependencies.

Overview

haskell neural network library

Use Cases

Best For

  • Implementing neural networks in Haskell projects
  • Learning neural network concepts with functional programming
  • Building feed-forward neural network models in Haskell
  • Experimenting with automatic differentiation in Haskell
  • Integrating machine learning components into Haskell applications
  • Developing educational tools for neural networks in functional languages

Not Ideal For

  • Projects requiring convolutional or recurrent neural networks beyond feed-forward architectures
  • Teams integrated into Python-based ML ecosystems like TensorFlow or PyTorch
  • Applications demanding GPU acceleration for training large models efficiently
  • Developers unfamiliar with Haskell or functional programming paradigms

Pros & Cons

Pros

Automatic Differentiation

Uses automatic differentiation for gradient computation, simplifying backpropagation as highlighted in the key features.

Haskell Native Integration

Built as a native Haskell library, enabling seamless use with other Haskell projects and leveraging the language's type system.

Educational Resources

Includes example code and a tutorial in the `AI.HNN.FF.Network` module, providing practical guidance for getting started.

Type-Safe Implementation

Emphasizes Haskell's strong type system to ensure safer neural network constructions, reducing runtime errors.

Cons

Limited Network Types

Only supports feed-forward neural networks, lacking advanced architectures like CNNs or RNNs, which restricts its use for complex tasks.

Ecosystem Maturity

The Haskell machine learning ecosystem is less developed compared to Python, with fewer community resources and pre-trained models.

Performance Scaling

No mention of GPU support in the documentation, implying CPU-only execution that may not scale well for large datasets or deep networks.

Frequently Asked Questions

Quick Stats

Stars114
Forks14
Contributors0
Open Issues0
Last commit9 years ago
CreatedSince 2012

Tags

#haskell#functional-programming#gradient-descent#deep-learning#neural-networks#automatic-differentiation#machine-learning

Built With

H
Haskell

Links & Resources

Website

Included in

Machine Learning72.2k
Auto-fetched 8 hours ago

Related Projects

PyTorch - Tensors and Dynamic neural networks in Python with strong GPU accelerationPyTorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Stars102,845
Forks29,156
Last commit8 hours ago
keraskeras

Deep Learning for humans

Stars64,321
Forks19,788
Last commit3 days ago
streamlitstreamlit

Streamlit — A faster way to build and share data apps.

Stars45,708
Forks4,374
Last commit13 hours ago
gradiogradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!

Stars43,488
Forks3,590
Last commit9 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub