资 源 简 介
FannJ
A Java binding to the Fast Artificial Neural Network (FANN) C library.
This project has been moved to GitHub
Overview
Use FannJ if you have an existing ANN from the FANN project that you would like to access from Java. There are several GUI tools that will help you create and train an ANN.
Installation
Before using FannJ, you must build and install the FANN C library. FannJ has been tested on FANN 2.1.0 beta. See the FANN site for instructions and help: http://leenissen.dk/fann
Code Example
Fann fann = new Fann( "/path/to/file" ); float[] inputs = new float[]{ -1, 1 }; float[] outputs = fann.run( inputs ); fann.close();
Dependencies
FANN - http://leenissen.dk/fann - Does all the work.
JNA - https://github.com/twall/jna - Provides the native access to FANN.
Ma