Skip to main content

SimpleNet

master: master branch build status

A simple neural network in Python

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

  1. pip3 install simplenet
  2. See examples/

Development Setup

  1. Clone the repo: git clone https://github.com/n8henrie/simplenet && cd simplenet
  2. Make a virtualenv: python3 -m venv venv
  3. source venv/bin/activate
  4. 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

Changelog

0.1.4 :: 20220-06-19

  • Fix README error, version bump for pypi

0.1.3 :: 20220-06-19

  • Update dependencies and tests to run on modern python and tensorflow
  • Deprecate python3.5-3.7 due to numpy dependency
  • Use GitHub Actions instead of Travis
  • Add an experimental Dockerfile for reproducibility with tests

0.1.2 :: 2017-12-12

  • Update initialization (now uses something like Xavier)

0.1.0 :: 2017-11-02

  • First release on PyPI / GitHub.

Metadata

Release files for simplenet 0.1.4

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

Source distribution (sdist)

Source distribution for simplenet 0.1.4
File Size Uploaded
simplenet-0.1.4.tar.gz 14.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simplenet 0.1.4
File Interpreter ABI Platform
simplenet-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 22.1 kB

Release files / simplenet-0.1.4.tar.gz

Download URL simplenet-0.1.4.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
956e4b5e30cee82c6fa06cef0ebf23990860ec31b95cb6d3622d2689fba87f09
BLAKE2b-256 checksum
How to use checksums
a23cbca47c474249bb716143d19e8ff6ab91bbad0bc44d49112a6ea7f41df30f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / simplenet-0.1.4-py3-none-any.whl

Download URL simplenet-0.1.4-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a63df795ee89fa671edd7c41a00878702877cc278bfeb092c5717c2d81446e8
BLAKE2b-256 checksum
How to use checksums
8c1bd7b4ee5c49fc3213cebe53e55bd76bb2069b81e80696ba6cfa4959c16e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.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