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.2.zip
(6.2 kB
view details)
conx-0.0.2.tar.gz
(4.0 kB
view details)
Built Distribution
conx-0.0.2-py3-none-any.whl
(5.3 kB
view details)
File details
Details for the file conx-0.0.2.zip
.
File metadata
- Download URL: conx-0.0.2.zip
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b4a4547ed2cceb5f7b4d6f61d6bdf8d167606f9058c6d20b6b71bf22823f56 |
|
MD5 | c813cb9f79b4219af69aff98cab5642d |
|
BLAKE2b-256 | a3f4b06acfc15436a48aea1887e4dc794cfd736b05ef7e4fd68940043ed8a313 |
File details
Details for the file conx-0.0.2.tar.gz
.
File metadata
- Download URL: conx-0.0.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a23aa5f4f8e8e27cefc8f40eb5382b71cebbc0f959483fce4aff1cce00cafcab |
|
MD5 | b569da6f912f30c4de227ccf7ef6fd0f |
|
BLAKE2b-256 | d7d12926503b322d07876d8e3cb9b2db2e5ca30822bea24a6b3a1942cd78716c |
File details
Details for the file conx-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: conx-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c55ebb571e398b63ecaa688a2597b62b98cfe6f6d6437cda9234d1a94ae46a7 |
|
MD5 | cabbfc77467cfdeef49030ce0eb30de1 |
|
BLAKE2b-256 | 8fa305822f91ba05075d0f4716653fdb100e8611b858709a70fb61d4552736b6 |