Feed-forward neural network solution for python
Project description
Basic usage of the package:
>>> 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.
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 Distribution
ffnet-0.8.4.tar.gz
(55.8 kB
view hashes)
Built Distributions
ffnet-0.8.4-py3.7-linux-x86_64.egg
(355.0 kB
view hashes)
ffnet-0.8.4-py3.6-linux-x86_64.egg
(360.7 kB
view hashes)
ffnet-0.8.4-py3.5-linux-x86_64.egg
(359.9 kB
view hashes)
ffnet-0.8.4-py2.7-win-amd64.egg
(311.1 kB
view hashes)
ffnet-0.8.4-py2.7-linux-x86_64.egg
(348.6 kB
view hashes)
Close
Hashes for ffnet-0.8.4-py3.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2fc8f0326fd486bd868d9f1a32efcb025d0dfbcc3aee84360ec93a22f4cdd4a |
|
MD5 | 8233e1b9b8e19ab1920496ef0d53ede2 |
|
BLAKE2b-256 | 0ab7b743616a6db44874a69b73495ebc327ecf588682f876aa037f816b9a1c79 |
Close
Hashes for ffnet-0.8.4-py3.6-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95f0b97e01c200aa906c98a7427825777634b515097ac66c0f3b775cbc46735 |
|
MD5 | 1e8c9008485669caa2a6987276e8d529 |
|
BLAKE2b-256 | 0809f60036507a277671e891f5fbdb3efbccbc62edd64769dba76e96e01490b2 |
Close
Hashes for ffnet-0.8.4-py3.5-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb5828236bae43e27de961a588a8e17a460495d00e8da3dbe2a03e2ced5f1c5 |
|
MD5 | f576f8955810df87ec031a5cb631402f |
|
BLAKE2b-256 | fa21e11310133b12577fd62a06d92ffc00d12d51116d8cb997a962b90f05bf61 |
Close
Hashes for ffnet-0.8.4-py2.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649d0f02eb13792908a2be270815751b94373e02b4ec90c063579bb2a0abd82d |
|
MD5 | e58c33f89767ce7c739bb6fb25ce2f48 |
|
BLAKE2b-256 | 2a8cc9b4d1f6e5f30ac68b5b8aaab818063f1e49cbcb2074107a08aeba58c665 |