Neural network library on Theano
Project description
# conx
Neural network library in Python built on Theano
```
from conx import Network
inputs = [[0, 0],
[0, 1],
[1, 0],
[1, 1]]
def xor(inputs):
a = inputs[0]
b = inputs[1]
return [int((a or b) and not(a and b))]
net = Network(2, 2, 1)
net.set_inputs(inputs)
net.set_target_function(xor)
net.train()
net.test()
```
Neural network library in Python built on Theano
```
from conx import Network
inputs = [[0, 0],
[0, 1],
[1, 0],
[1, 1]]
def xor(inputs):
a = inputs[0]
b = inputs[1]
return [int((a or b) and not(a and b))]
net = Network(2, 2, 1)
net.set_inputs(inputs)
net.set_target_function(xor)
net.train()
net.test()
```
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
conx-0.0.3.zip
(6.2 kB
view details)
conx-0.0.3.tar.gz
(4.0 kB
view details)
Built Distribution
conx-0.0.3-py3-none-any.whl
(5.3 kB
view details)
File details
Details for the file conx-0.0.3.zip
.
File metadata
- Download URL: conx-0.0.3.zip
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49313b6aeaf3d113aef2cfab28fb0e440fe719fa293eccae036feae3c14ad335 |
|
MD5 | 9202723eae8fa6f8edb767d0a065b32d |
|
BLAKE2b-256 | 960363593cbb90e0d193c6c88ae19bf4cdb58e3de5cce8e6c2bdb941b8561a6e |
File details
Details for the file conx-0.0.3.tar.gz
.
File metadata
- Download URL: conx-0.0.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e14b5f1eaa03eccde3962b71dc71a002deae81a9e552a1b246c6ee4ec4e1538b |
|
MD5 | 92f6c1501e909e02f3d349fd58d20bcf |
|
BLAKE2b-256 | 3f5ecb6d1037c09d625662fdbf10b195edf1c8bef2c101dbf368e66151c34531 |
File details
Details for the file conx-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: conx-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036a135b70e7d52a53df0d27cad2c250809a44673abda17b5a1724715f53b9dc |
|
MD5 | 2d0470e42ac6aebb24c017a28aaa6b02 |
|
BLAKE2b-256 | ac2b3159a6691b0cb3d00af0973d97598ae6da70bdba0dbf50ae4185423d82e7 |