The hfann package

[Tags: bsd3, library]

hfann is a Haskell binding to the Fast Artificial Neural Network (FANN) library http://leenissen.dk/fann/. It provides functions to easily create, train, test and use Artificial Neural Networks.


[Skip to ReadMe]

Properties

Versions0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2
Change logCHANGELOG
Dependenciesbase (>=3 && <5) [details]
LicenseBSD3
Copyright(c) Olivier Boudry 2008, David Himmelstrup 2011
AuthorDavid Himmelstrup, Olivier Boudry
MaintainerLemmih <lemmih@gmail.com>
StabilityExperimental
CategoryAI
ExecutablesHFANNTest
UploadedTue Jul 30 19:14:23 UTC 2013 by DavidHimmelstrup
Downloads1076 total (61 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
testDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for hfann-0.4.2

--------------------------------------------------------------------------
HFANN: A Haskell interface to the FANN library (http://leenissen.dk/fann/)
--------------------------------------------------------------------------
Copyright: 2008, Olivier Boudry
Licence: BSD3

------------------------------
Installation
------------------------------
This package was developped and tested with GHC-6.8.2 on the Win32 platform
and the FANN library version 2.0.

FANN (C-library) installation:
------------------------------
First of all you need to install the FANN library.

Download version 2.0 of the library from:

    http://leenissen.dk/fann/download.php
    
and build it according to the instruction found on:

    http://leenissen.dk/fann/html/files2/installation-txt.html

On windows download the source version and build it using MinGW instead of
using the provided Visual C++ 6.0 Project File. Building with Visual C++ would
create DLLs and require the 'stdcall' calling convention which would not work.

Build and installation should be pretty straightforward:

    ./configure
    make
    make install

HFANN (Haskell library) installation:
-------------------------------------
Edit the hfann.cabal file and adapt the 'include-dirs' and 'extra-lib-dirs'
parameters to your installation. On non windows platform just blanking those
two params should work as long as the library and includes are installed in
the lib and include places.

Build and install using Cabal:

    runghc Setup.lhs configure
    runghc Setup.lhs build
    runghc Setup.lhs haddock
    runghc Setup.lhs install

Note: if you have haddock < 2.0 skip the haddock step. src/HFANN/Data.hsc is
not parsed properly using earlier versions of haddock.

------------------------------
Using the library
------------------------------
You will find an example for training and using and artificial neural network
for the 'xor' function in the 'examples/xor' directory.

------------------------------
Feedback
------------------------------
Complaints, feature requests and bug reports to:
    olivier.boudry@gmail.com