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

Bug truth value #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

AdrienLemaire
Copy link

Hi,

There seems to be a bug in the (activation >= 0) condition.
Here is the traceback: http://sprunge.us/cEfE?pytb

Pull request is about some minor improvements, see log messages for descriptions.
I'll add later a howto in the readme to install a virtualenv and the packages needed with pinned versions.

Better to add the data in the repo. Makes it easier for the user to execute the
code
…e README

This allow a user to easily git pull for updates, while working on the same
directory
@davidandrzej
Copy link
Owner

Hey sorry I'm just getting to this - can you print out your activation value as well? This bug suggests a dimensionality problem. For example, see this code snippet

In [7]: NP.dot(NP.array([[1],[2]]),NP.array([[3,4]]))
Out[7]: 
array([[3, 4],
       [6, 8]])

activation >= 0 will then complain that this is not a single number.

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

Successfully merging this pull request may close these issues.

2 participants