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
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 Distribution
Built Distribution
Close
Hashes for neural_network_implementation-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d790e80b9642e90b77540c8f6417c20c2ab65b5d6f41989fb9c18b7701c6c4 |
|
MD5 | d3b23b95b2f228685762cd01430f1dea |
|
BLAKE2b-256 | 4af9716085b43e77d1950fcd034f6b4a9a2ac739414c8711f573a9a7861b1c63 |
Close
Hashes for neural_network_implementation-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55dbfd216a5f063cd0f62e913c2bc42c9806548be39b11cc9f3e77ccd1f7ef9 |
|
MD5 | 4ea8f0246ba2be63d7a1f057cb23f68f |
|
BLAKE2b-256 | bad46a2730b6b250ab801388e9ab4d50f0a390869be5b0f8287c9e0ab8148201 |