ruby-fann  by tangledpath

Ruby wrapper for FANN (Fast Artificial Neural Network) library

created 12 years ago
506 stars

Top 61.4% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This library provides a Ruby interface to the FANN (Fast Artificial Neural Network) library, enabling developers to integrate and utilize neural networks within Ruby or Rails applications. It offers a convenient way to leverage FANN's capabilities for tasks like pattern recognition and prediction, with the heavy computation handled natively.

How It Works

RubyFann acts as a binding layer to the C-based FANN library. It exposes FANN's core functionalities, such as creating and configuring neural network architectures (fully-connected and sparsely-connected), training networks using provided data, and running predictions. The advantage lies in performing computationally intensive neural network operations in native C, while allowing developers to interact with them seamlessly through Ruby.

Quick Start & Requirements

Highlighted Details

  • Supports standard neural network training and execution.
  • Allows saving and loading of training data and trained network configurations.
  • Provides a training_callback mechanism for custom training procedures and visualization.
  • Can be used without a Rails environment.

Maintenance & Community

Contributors include Steven Miers, Ole Krüger, dignati, Michal Pokorny, Scott Li, and alex.slotty. A sample project using RubyFann for tic-tac-toe is available.

Licensing & Compatibility

The license is not explicitly stated in the README, but it is a Ruby Gem. Compatibility with commercial or closed-source applications would depend on the underlying FANN library's license and any explicit licensing for this Ruby wrapper.

Limitations & Caveats

The README does not specify the license for the RubyFann gem itself, which could impact commercial use. It also assumes the user will understand the underlying FANN library, directing them to external documentation for core concepts.

Health Check
Last commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Evan Hubinger Evan Hubinger(Head of Alignment Stress-Testing at Anthropic), Jiayi Pan Jiayi Pan(Author of SWE-Gym; MTS at xAI), and
1 more.

rl by pytorch

0.3%
3k
PyTorch library for reinforcement learning research
created 3 years ago
updated 2 days ago
Feedback? Help us improve.