Skip to main content

A simple neural network in Python

Project description


Build Status

A simple neural network in Python


  • Simple interface
  • Minimal dependencies (numpy)
  • Runs on Pythonista on iOS
  • Attempts to verify accuracy by comparing results with popular frameworks Keras and Tensorflow


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.


  • Python >= 3.5 (will likely require 3.6 eventually, if Pythonista updates)
  • numpy


  1. pip3 install simplenet
  2. See examples/

Development Setup

  1. Clone the repo: git clone && cd simplenet
  2. Make a virtualenv: python3 -m venv venv
  3. source venv/bin/activate
  4. pip install -e .[dev]


  • Andrew Ng’s Coursera courses


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://
    • Install from a specific commit:
      • pip install git+git://


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.

Files for simplenet, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size simplenet-0.1.2-py3-none-any.whl (9.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size simplenet-0.1.2.tar.gz (15.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page