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.1.zip
(5.2 kB
view details)
conx-0.0.1.tar.gz
(3.4 kB
view details)
Built Distribution
conx-0.0.1-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file conx-0.0.1.zip
.
File metadata
- Download URL: conx-0.0.1.zip
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 692dc6c7b841d9c11008b70194f373950a8720f40d0c7e37ea7ca31ddebffa00 |
|
MD5 | ef80e19bdc1f3b51df38b6ad7e8ac765 |
|
BLAKE2b-256 | 78cad5a723607149f2505417623077722505fa00cff2210ce08b84799ecce391 |
File details
Details for the file conx-0.0.1.tar.gz
.
File metadata
- Download URL: conx-0.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87fa02f50937211be09e2d31bc010a20354cf34d68291eacd8d0f1087ea9903 |
|
MD5 | 933d2e8bd35f38db4274abcfa86ee244 |
|
BLAKE2b-256 | 33b8f1cd1b09f5eb1b48cf4ba26c19d88501469d73ab7d6e496022d17c44378a |
File details
Details for the file conx-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: conx-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39195e47826ff5427388d14f03519a916433a42e47391db00d44d31c859ec061 |
|
MD5 | 5afb52d162754f5d69c30c80f86fd0ff |
|
BLAKE2b-256 | cd9197a4af5eea69dfc15ce6569ec52a40af76f0356d67887e93cd35ac71e1aa |