hfann-0.3: Haskell binding to the FANN library

Portabilityportable
Stabilityexperimental
Maintainerolivier.boudry@gmail.com

HFANN.IO

Description

The Fast Artificial Neural Network Library (FANN) is a free open source neural network library written in C with support for both fully connected and sparsely connected networks (http://leenissen.dk/fann/).

HFANN is a Haskell interface to this library.

Synopsis

Documentation

saveFannSource

Arguments

:: FannPtr

The ANN to be saved

-> String

The path of the file to be created

-> IO () 

Save an Artificial Neural Network (ANN) to a file

withSavedFannSource

Arguments

:: String

The path to the file containing the ANN

-> (FannPtr -> IO a)

A function to be run on the ANN

-> IO a

The return value from the given function

Load an ANN and call the given function with the ANN as argument. Once finished, destroy the ANN.