Skip to main content

A neural network implementation.

Project description

# How To Use

```python
from neural_network_implementation.neural_network import NeuralNetwork
from neural_network_implementation.layers import Layer
import numpy as np

x = np.array([[0, 0], [0, 1], [1, 0], [1, 1]])
y = np.array([[0], [1], [1], [0]])

nn = NeuralNetwork()
nn.add_layer(Layer(2, 10, 'sigmoid'))
nn.add_layer(Layer(10, 1, 'sigmoid'))
errors = nn.train(x, y, 0.75, 500, 'MSE')

```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neural_network_implementation-1.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file neural_network_implementation-1.0.1.tar.gz.

File metadata

  • Download URL: neural_network_implementation-1.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for neural_network_implementation-1.0.1.tar.gz
Algorithm Hash digest
SHA256 39d790e80b9642e90b77540c8f6417c20c2ab65b5d6f41989fb9c18b7701c6c4
MD5 d3b23b95b2f228685762cd01430f1dea
BLAKE2b-256 4af9716085b43e77d1950fcd034f6b4a9a2ac739414c8711f573a9a7861b1c63

See more details on using hashes here.

File details

Details for the file neural_network_implementation-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: neural_network_implementation-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for neural_network_implementation-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e55dbfd216a5f063cd0f62e913c2bc42c9806548be39b11cc9f3e77ccd1f7ef9
MD5 4ea8f0246ba2be63d7a1f057cb23f68f
BLAKE2b-256 bad46a2730b6b250ab801388e9ab4d50f0a390869be5b0f8287c9e0ab8148201

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