Skip to content
The code accompanying a series of blog posts written for CK Collab.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
app.py
data.json
generate_data.py
perceptron.py

README.md

Neuron Blog Post Code

The code accompanying a series of blog posts written for CK Collab. Post one can be found here.

Contents

  • generate_data.py will create a data.json for the neuron to work with.
  • data.json should be formatted as {'X': [[int, int, ...],[int, int, ...], ...], 'y': [int, ...]}
  • perceptron.py contains the neuron app as created in the blog posts
  • app.py contains the code to actually run the neuron against the generated data.

Caveats

This code can certainly be greatly improved on, especially in regards to the data visualization bits. My plan is to preserve the state of this code as it was at time of writing the blog posts. Please feel free to fork the repo and make the improvements yourself!

You can’t perform that action at this time.