skip to navigation
skip to content

Not Logged In

ffnet 0.8.0

Feed-forward neural network solution for python

Package Documentation

“ffnet” is a fast and easy-to-use feed-forward neural network training solution for python. Many nice features are implemented: arbitrary network connectivity, automatic data normalization, very efficient training tools, support for multicore systems, network export to fortran code…

Basic usage of the package is outlined below:

>>> from ffnet import ffnet, mlgraph, savenet, loadnet, exportnet
>>> conec = mlgraph( (2,2,1) )
>>> net = ffnet(conec)
>>> input = [ [0.,0.], [0.,1.], [1.,0.], [1.,1.] ]
>>> target  = [ [1.], [0.], [0.], [1.] ]
>>> net.train_tnc(input, target, maxfun = 1000)
>>> net.test(input, target, iprint = 2)
>>> savenet(net, "xor.net")
>>> exportnet(net, "xor.f")
>>> net = loadnet("xor.net")
>>> answer = net( [ 0., 0. ] )
>>> partial_derivatives = net.derivative( [ 0., 0. ] )

Release Notes

This version supports python 3. Only minor changes in code (and no API changes) are made in comparison to previous release, all scripts should run without problems.

 
File Type Py Version Uploaded on Size
ffnet-0.8.0.tar.gz (md5) Source 2015-02-15 59KB
ffnet-0.8.0.win-amd64-py26.exe (md5) MS Windows installer 2.6 2015-02-16 627KB
ffnet-0.8.0.win-amd64-py27.exe (md5) MS Windows installer 2.7 2015-02-15 627KB
ffnet-0.8.0.win-amd64-py33.exe (md5) MS Windows installer 3.3 2015-02-16 626KB
ffnet-0.8.0.win-amd64-py34.exe (md5) MS Windows installer 3.4 2015-02-15 633KB
ffnet-0.8.0.win32-py26.exe (md5) MS Windows installer 2.6 2015-02-16 525KB
ffnet-0.8.0.win32-py27.exe (md5) MS Windows installer 2.7 2015-02-16 525KB
ffnet-0.8.0.win32-py33.exe (md5) MS Windows installer 3.3 2015-02-16 520KB
ffnet-0.8.0.win32-py34.exe (md5) MS Windows installer 3.4 2015-02-15 520KB
ffnet-0.8.0.zip (md5) Source 2015-02-15 63KB
  • Downloads (All Versions):
  • 20 downloads in the last day
  • 392 downloads in the last week
  • 1886 downloads in the last month