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.4.zip
(6.3 kB
view details)
conx-0.0.4.tar.gz
(4.1 kB
view details)
Built Distribution
conx-0.0.4-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file conx-0.0.4.zip
.
File metadata
- Download URL: conx-0.0.4.zip
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4d48e88e7c77fa973fd679cc003a51c6be1e6a90d0f8a732e6acfdbe2983d19 |
|
MD5 | 525c9085f3988765c69d3f3b85e9dfe0 |
|
BLAKE2b-256 | 070fbe56980cdb6466e5fbc9643fb56dad7b5a4515b0a8c8b5fa8032bd78fa59 |
File details
Details for the file conx-0.0.4.tar.gz
.
File metadata
- Download URL: conx-0.0.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbc9872343f01b24d5a849637bd92851a42946c6b50e4c7861a4950b588b82b9 |
|
MD5 | 50a638c8da7061bf39c50ca14b7a00f0 |
|
BLAKE2b-256 | 5ae6928f38705b654d1ed44f2ebc13142e754ff42f77e6766cbc7da3dd90c6ee |
File details
Details for the file conx-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: conx-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c6ba154b619e261d152cf89e3c194f0e2f98cdbdc6cd858bed3dbd6a4e0668 |
|
MD5 | f7f60788b5e54044710552e7b05a1853 |
|
BLAKE2b-256 | c9ebbb02aee450049f69e835711f2a39fd2d823de13b0b14410bf23713c085fa |