diff --git a/README.md b/README.md index b010051..57ee387 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,13 @@ A simple Python script showing how the backpropagation algorithm works. Checkout this blog post for background: [A Step by Step Backpropagation Example](http://mattmazur.com/2015/03/17/a-step-by-step-backpropagation-example/). +## Running on Linux + +Either `python neural_network.py` or + + chmod +x neural_network.py + ./neural_network.py + # Contact If you have any suggestions, find a bug, or just want to say hey drop me a note at [@mhmazur](https://twitter.com/mhmazur) on Twitter or by email at matthew.h.mazur@gmail.com. diff --git a/neural-network.py b/neural-network.py old mode 100644 new mode 100755 index 2475dee..5412c93 --- a/neural-network.py +++ b/neural-network.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + import random import math