Skip to main content

Neural network library on Theano

Project description

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

Project details


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.2.0.zip (11.2 kB view details)

Uploaded Source

conx-0.2.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

conx-0.2.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file conx-0.2.0.zip.

File metadata

  • Download URL: conx-0.2.0.zip
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for conx-0.2.0.zip
Algorithm Hash digest
SHA256 82a815cad905b8fe8e3237ea17f09aaf4109451793726d59d9633c6ce16a26e9
MD5 7cf2c469c5e42cb37044f90bd332b453
BLAKE2b-256 6291812cd75e7f4e0fe7f0b0a211a5a7f56295b9a818663fae708cac3b92cdd1

See more details on using hashes here.

File details

Details for the file conx-0.2.0.tar.gz.

File metadata

  • Download URL: conx-0.2.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for conx-0.2.0.tar.gz
Algorithm Hash digest
SHA256 06c909006d4239427a9ceb57fce1ad642481d25024dac308273933785cca3dd3
MD5 b88ae2bbfb733061549cda7645022fdb
BLAKE2b-256 f257ffccf0110d77559b27801e06640287ab71e39ddcd29e1485fc5389e59dd6

See more details on using hashes here.

File details

Details for the file conx-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for conx-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cbfc81be42c08542860a75dc5379f3cab02b0e9a8a264effdbed3e2eeecda36
MD5 4523849dfc8ccbbaf41c397e6207f641
BLAKE2b-256 745596e5808dd644d7223c9605e69762a00f01d96823e86667c959b10ae075b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page