A simple neural network in Python
Project description
SimpleNet
A simple neural network in Python
- Free software: MIT
- Documentation: https://simplenet-nn.readthedocs.io
Features
- Simple interface
- Minimal dependencies (numpy)
- Runs on Pythonista on iOS
- Attempts to verify accuracy by comparing results with popular frameworks Keras and Tensorflow
Introduction
This is a simple multilayer perceptron that I decided to build as I learned a little bit about machine learning and neural networks. It doesn't have many features.
Dependencies
- Python >= 3.8
- numpy
Quickstart
pip3 install simplenet
- See
examples/
Development Setup
- Clone the repo:
git clone https://github.com/n8henrie/simplenet && cd simplenet
- Make a virtualenv:
python3 -m venv venv
source venv/bin/activate
pip install -e .[dev]
Acknowledgements
- Andrew Ng's Coursera courses
TODO
I don't really know any Latex, so if anybody wants to help me fill out some of the other docstrings with pretty equations, feel free. I'm also not a mathematician, so if anything doesn't seem quite right, feel free to speak up.
Troubleshooting / FAQ
- How can I install an older / specific version of SimpleNet?
- Install from a tag:
- pip install git+git://github.com/n8henrie/simplenet.git@v0.1.0
- Install from a specific commit:
- pip install git+git://github.com/n8henrie/simplenet.git@aabc123def456ghi789
- Install from a tag:
Changelog
0.1.2 :: 2017-12-12
- Update initialization (now uses something like Xavier)
0.1.0 :: 2017-11-02
- First release on PyPI / GitHub.
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
simplenet-0.1.3.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for simplenet-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0d021cd13aa9f9c0a11457878f1d4d2a369027941afba699e6665297a400c46 |
|
MD5 | f55f51dafed11e5fe5c24d7f655ace09 |
|
BLAKE2b-256 | 76b5346dc2af78c001387e1c88b37188394088fdedd29c0900b3c4d1683df800 |