Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing error in demo_1_xor.py really large #1

Open
indraneelpatil opened this issue Jun 12, 2021 · 0 comments
Open

Testing error in demo_1_xor.py really large #1

indraneelpatil opened this issue Jun 12, 2021 · 0 comments

Comments

@indraneelpatil
Copy link

indraneelpatil commented Jun 12, 2021

Hello!

Thanks for your implementation of the Neural Network, it is really helpful in my project.

I tested the demo you have described in the ReadME file of the XOR dataset but after running the demo_1_xor.py file the network is not able to predict the targets of the test dataset at all as seen here:

Testing...
+------------------------------------------------------------+
[#0] (1, 0) -> [0.4983276267402251] (targets=[1])
[#1] (0, 0) -> [0.5061470781947205] (targets=[0])

Any idea what is wrong here? From the learning curves it seems like the network is learning properly but these predictions are pretty off. Do you think the architecture of the network needs to be more complex for XOR? or is there any other problem?

Thanks,
Indraneel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant