Closed bquast closed 8 years ago
I have no experience writing python, however the error message was pretty clear. After I changed these three lines the I could run
python test.py
I intend to translate this code into R so that I can learn what is going on, as I have previously done here http://qua.st/handcoding-neural-network/ with the original python code coming from here: http://iamtrask.github.io/2015/07/12/basic-python-network/
I hope that is alright, thank you for the code
@bquast you must be using python3, use python2.7 instead and the syntax is perfectly valid.
I have no experience writing python, however the error message was pretty clear. After I changed these three lines the I could run
I intend to translate this code into R so that I can learn what is going on, as I have previously done here http://qua.st/handcoding-neural-network/ with the original python code coming from here: http://iamtrask.github.io/2015/07/12/basic-python-network/
I hope that is alright, thank you for the code