Metadata-Version: 2.0
Name: conx
Version: 0.2.0
Summary: Neural network library on Theano
Home-page: https://github.com/Calysto/conx
Author: Douglas S. Blank
Author-email: dblank@cs.brynmawr.edu
License: UNKNOWN
Platform: UNKNOWN
Classifier: Framework :: IPython
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Requires-Dist: IPython (>=3.0)

# conx

Neural network library in Python built on Theano

Computing a target on the fly:

```
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()
```

Given a specified target:

```
from conx import Network
inputs = [[0,0], [0,1], [1,0], [1,1]]

net = Network(2, 2, 1)
net.set_inputs(inputs)
net.train()
net.test()
```


