Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Feed-forward neural network solution for python

Project Description

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. ] )

For instalation instructions and documentation go to http://ffnet.sourceforge.net.

Note: ffnet has now a graphical user interface ffnetui.

Release notes

0.8.3

License switched to LGPL. Only minor updates in code are performed, no API changes are made. Along with this version, new graphical user interface ffnetui-0.8.3 has been released.

0.8.0

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.

Release History

Release History

This version
History Node

0.8.3

History Node

0.8.0

History Node

0.7.1

History Node

0.7

History Node

0.6.2

History Node

0.6.1

History Node

0.6

History Node

0.5

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ffnet-0.8.3.tar.gz (69.1 kB) Copy SHA256 Checksum SHA256 Source Feb 11, 2016
ffnet-0.8.3.win32-py2.7.exe (540.2 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer Feb 11, 2016
ffnet-0.8.3.win32-py3.4.exe (535.4 kB) Copy SHA256 Checksum SHA256 3.4 Windows Installer Feb 11, 2016
ffnet-0.8.3.win-amd64-py2.7.exe (645.1 kB) Copy SHA256 Checksum SHA256 2.7 Windows Installer Feb 11, 2016
ffnet-0.8.3.win-amd64-py3.4.exe (650.7 kB) Copy SHA256 Checksum SHA256 3.4 Windows Installer Feb 11, 2016
ffnet-0.8.3.zip (63.5 kB) Copy SHA256 Checksum SHA256 Source Feb 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting