lmjohns3/theano-nets — pull request #10 by talbaumel (2013-11-25 16:57:52+00:00)
Title: Update xor-classfier.py

Change some parameters and the last line (the last line didnt work on both my windows and mac computers in the original version)

result for my parameters:
Input:
[[ 0. 0.]
[ 0. 1.]
[ 1. 0.]
[ 1. 1.]]
XOR output
[0 1 1 0]
NN XOR predictions
[[-0.01405924]
[ 1.04721887]
[ 1.040702 ]
[ 0.00471972]]

result for previous parameters:
Input:
[[ 0. 0.]
[ 0. 1.]
[ 1. 0.]
[ 1. 1.]]
XOR output
[0 1 1 0]
NN XOR predictions
[[-0.90128537]
[-0.86696363]
[-0.89465342]
[-0.85937567]]