skip to navigation
skip to content

Not Logged In

ffnet 0.7.1

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 release contains mainly documentation improvements and changes in examples. Look also at the new sphinx-based website: http://ffnet.sourceforge.net.

 
File Type Py Version Uploaded on Size
ffnet-0.7.1.tar.gz (md5) Source 2012-01-07 57KB
ffnet-0.7.1.win-amd64-py2.7.exe (md5) MS Windows installer 2.7 2012-09-03 447KB
ffnet-0.7.1.win32-py2.7.exe (md5) MS Windows installer 2.7 2012-01-07 376KB
ffnet-0.7.1.zip (md5) Source 2012-01-07 60KB
  • Downloads (All Versions):
  • 25 downloads in the last day
  • 592 downloads in the last week
  • 1866 downloads in the last month