Skip to main content

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.

Project details


Download files

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

Source Distributions

ffnet-0.8.3.zip (63.5 kB view details)

Uploaded Source

ffnet-0.8.3.tar.gz (69.1 kB view details)

Uploaded Source

Built Distributions

ffnet-0.8.3.win-amd64-py3.4.exe (650.7 kB view details)

Uploaded Source

ffnet-0.8.3.win-amd64-py2.7.exe (645.1 kB view details)

Uploaded Source

ffnet-0.8.3.win32-py3.4.exe (535.4 kB view details)

Uploaded Source

ffnet-0.8.3.win32-py2.7.exe (540.2 kB view details)

Uploaded Source

File details

Details for the file ffnet-0.8.3.zip.

File metadata

  • Download URL: ffnet-0.8.3.zip
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ffnet-0.8.3.zip
Algorithm Hash digest
SHA256 1aaf35158239cd1e6f63504e884683abac87c77919af36cbefbf1169fed5d1a2
MD5 e508e9a200d8484209aaf5fe093c2240
BLAKE2b-256 69178baf440d6e88a4d7564aa58bbb7865f125c45ac77260d596efc58c2eaad0

See more details on using hashes here.

File details

Details for the file ffnet-0.8.3.tar.gz.

File metadata

  • Download URL: ffnet-0.8.3.tar.gz
  • Upload date:
  • Size: 69.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ffnet-0.8.3.tar.gz
Algorithm Hash digest
SHA256 4d7befca0247108fc05fb7ebe7cdcff78eb642c4ab8c93215f592dcfed0f29f6
MD5 0bfa31d75124467e552895f85a1fe2bb
BLAKE2b-256 4eb9148b4bf5406d2a4589ba03a5a15afc3a8805df5d34420096b77272050f00

See more details on using hashes here.

File details

Details for the file ffnet-0.8.3.win-amd64-py3.4.exe.

File metadata

File hashes

Hashes for ffnet-0.8.3.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 9c7b52656c4bbb1dfc5d52b7ea8717fbc3b3b9418df34c6ce79b1e22cdaf2709
MD5 db8b48ad5b1924a54e2f5a6a99633a12
BLAKE2b-256 063c3f810dcfd846988294e5889ee79d15dcac1811476f03033daf95bdc3fad6

See more details on using hashes here.

File details

Details for the file ffnet-0.8.3.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for ffnet-0.8.3.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 503e8f54f8043c1d2da10d1a4dc362a00d4ea5c9df8cc1fb91fc44652acd90a2
MD5 b7748fed32d5cd2a34d3b23dc42b89c0
BLAKE2b-256 169d095722afb9bbb15758b1bf84042449fa327f8c44f018f3811a653b919086

See more details on using hashes here.

File details

Details for the file ffnet-0.8.3.win32-py3.4.exe.

File metadata

  • Download URL: ffnet-0.8.3.win32-py3.4.exe
  • Upload date:
  • Size: 535.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ffnet-0.8.3.win32-py3.4.exe
Algorithm Hash digest
SHA256 9ca3b335b608fc74d26d76b5f46200c2026e6e4232d514c175927aa1c00e0949
MD5 16958073a4631a7ab7b793d07c20bebe
BLAKE2b-256 b6be57d1e8f15050dc67ea71fa5e76a25f55ef938d7447101b305dff66eec53b

See more details on using hashes here.

File details

Details for the file ffnet-0.8.3.win32-py2.7.exe.

File metadata

  • Download URL: ffnet-0.8.3.win32-py2.7.exe
  • Upload date:
  • Size: 540.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ffnet-0.8.3.win32-py2.7.exe
Algorithm Hash digest
SHA256 87b21895f6fcf105cba76c3fad17ae40c048f945575de73d127945bbf2dde6a1
MD5 1cb2e2be01febb6d110e27969a5e6c18
BLAKE2b-256 21d23af82867d98dcba72525ef269aa18b701c2c1b58fd5fb9371f237bd2b282

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page