A neural network Swift playground, with no third party dependencies.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Neural Network.playground


Neural Network Playground

This project uses iOS Playgrounds to display a working neural network. No external libraries are used. The matrix and neural network code is written in pure Swift. This playground has only been tested on an 12.9‑inch iPad Pro.

Device Installation

This is how I do it, but I'm sure there is a better way:

  1. Install the Swift Playgrounds app on your device.
  2. Download or clone this repository.
  3. AirDrop the Neural Network.playground folder from your Mac to your device.
  4. Open the received playground in the Playground application.


Here is the page that predicts a drawn digit: Custom Digit

And a neural network being trained to fit some points: Fitting