
crystal-fann
crystal-fann provides Crystal language bindings for the FANN artificial neural network library.

About crystal-fann
crystal-fann provides Crystal bindings for the FANN C library for artificial neural networks. It supports creating Standard and Cascade networks, randomizing weights, training on single samples or batched TrainData, and running networks on new inputs. It is installed as a shard dependency.
Networks must be closed when done to free allocated C memory. For function usage, the source points to the repository spec files and the FANN C library documentation.
Key features
- Bind Crystal code to the FANN C library
- Create standard networks with defined layer sizes
- Create cascade networks without preset hidden layers
- Randomize network weights within a specified range
- Train on single samples or batched TrainData sets
- Run network on input to get output
- Includes examples for Standard, batched, and Cascade training
- Supports single-sample and batched training with configurable parameters
- Installs as a Crystal shard dependency under MIT license
- Networks must be manually closed to free allocated C memory
- Users must consult spec files and external C library docs for functions
crystal-fann at a glance
- Category
- Development › Developer Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
crystal-fann alternatives
Tools and sites you could use instead, ranked by how closely they match.
Netron displays neural network, deep learning, and machine learning models across formats such as ONNX, TensorFlow, and PyTorch.
Python developers can use Zipline’s event-driven library to backtest algorithmic trading strategies.
Segment Chinese text in PHP applications with jieba-php, a library for Chinese word tokenization.
Machine learning pipelines can use whylogs, an open-source library for logging data quality and model performance.
This Node.js library implements Latent Dirichlet Allocation topic modeling in JavaScript.
The fastai deep learning library includes documentation and setup guidance, including instructions for use with Google Colab.
Popular in Developer Tools
Well-known listings from the same topic.
crystal-fann FAQ
How do I install crystal-fann?
Do I need to free memory after using a network?
Where is documentation for available functions?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.













