Feed-forward neural network solution for python
Project description
“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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ffnet-0.7.1.zip.
File metadata
- Download URL: ffnet-0.7.1.zip
- Upload date:
- Size: 62.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfd48ecf893122561d22d113cfbcfd604bf44ae9a83ad3757e746e0350fb7c8d
|
|
| MD5 |
46334e3f1d007164d5790a37c272d27f
|
|
| BLAKE2b-256 |
2e3d8ddd131c999b903713d61a1ec890e5538caca8dd531ace8f71540a5b6cdf
|
File details
Details for the file ffnet-0.7.1.tar.gz.
File metadata
- Download URL: ffnet-0.7.1.tar.gz
- Upload date:
- Size: 58.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42757113e8c04e32fe07f7e950f6be2d3a88d2ddd71351970bc417d136a1344f
|
|
| MD5 |
db4ed0d769ef5defb13fb4eeebbf2f73
|
|
| BLAKE2b-256 |
6685f045bf88de329f8ac29561f279f1da6477d7940b0f8369ec94a36bdbbf69
|
File details
Details for the file ffnet-0.7.1.win-amd64-py2.7.exe.
File metadata
- Download URL: ffnet-0.7.1.win-amd64-py2.7.exe
- Upload date:
- Size: 457.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c2e0222fa2f5052b012dfd468b7419a3aff6a2e5a0c33aa9292004077df97d6
|
|
| MD5 |
2859dfece51ac148d319c163afc2df51
|
|
| BLAKE2b-256 |
2be4789c999b6edf0f66959bc20f59d22755fbc4294649fd5722b28382965928
|
File details
Details for the file ffnet-0.7.1.win32-py2.7.exe.
File metadata
- Download URL: ffnet-0.7.1.win32-py2.7.exe
- Upload date:
- Size: 385.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca85918351b7862ba328ec535371f6c705eea952fdf40748ed0a66f1771c35f
|
|
| MD5 |
b00b20e226993f78cd09f8e2d5e9d333
|
|
| BLAKE2b-256 |
ca898025d66f71c597b60262f61ffe6a1ed70a2825d48939b9e7dc1c2dc2cd5c
|