Skip to content

Commit 1cf4ad0

Browse files
authored
Merge pull request #3 from wilsonmar/master
Update to Python3 style of print
2 parents d94a7e6 + 3494c82 commit 1cf4ad0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ Python 2 and 3 both work for this. Use [pip](https://pip.pypa.io/en/stable/) to
2525

2626
##Usage
2727

28-
Just run ``demo.py`` to see the results.
28+
Just run ``python3 demo.py`` to see the results:
29+
30+
```
31+
Starting gradient descent at b = 0, m = 0, error = 5565.107834483211
32+
Running...
33+
After 1000 iterations b = 0.08893651993741346, m = 1.4777440851894448, error = 112.61481011613473
34+
```
2935

3036
##Credits
3137

0 commit comments

Comments
 (0)