Skip to main content
# 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')

```

Metadata

Release files for neural-network-implementation 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neural-network-implementation 1.0.1
File Size Uploaded
neural_network_implementation-1.0.1.tar.gz 2.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for neural-network-implementation 1.0.1
File Interpreter ABI Platform
neural_network_implementation-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / neural_network_implementation-1.0.1.tar.gz

Download URL neural_network_implementation-1.0.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
39d790e80b9642e90b77540c8f6417c20c2ab65b5d6f41989fb9c18b7701c6c4
BLAKE2b-256 checksum
How to use checksums
4af9716085b43e77d1950fcd034f6b4a9a2ac739414c8711f573a9a7861b1c63
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / neural_network_implementation-1.0.1-py3-none-any.whl

Download URL neural_network_implementation-1.0.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e55dbfd216a5f063cd0f62e913c2bc42c9806548be39b11cc9f3e77ccd1f7ef9
BLAKE2b-256 checksum
How to use checksums
bad46a2730b6b250ab801388e9ab4d50f0a390869be5b0f8287c9e0ab8148201
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page