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

SpatialPooler::inhibitColumnsGlobal_ comments, unit tests, cleanup #84

Merged
merged 1 commit into from
Nov 10, 2018
Merged

SpatialPooler::inhibitColumnsGlobal_ comments, unit tests, cleanup #84

merged 1 commit into from
Nov 10, 2018

Conversation

ctrl-z-9000-times
Copy link
Collaborator

@ctrl-z-9000-times ctrl-z-9000-times commented Nov 8, 2018

I hope these comments help make it clear how the new SpatialPooler::inhibitColumnsGlobal_ method works. Also added 3 unit test cases for this method.

Additional fixes to #80

Added explanatory comments to method SpatialPooler.inhibitColumnsGlobal_
Also did minor re-factoring
breznak
breznak previously approved these changes Nov 8, 2018
Copy link
Member

@breznak breznak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 perfect! This is much more understandable and useful for the future.
Thank you for doing the final touches!

@breznak
Copy link
Member

breznak commented Nov 8, 2018

@ctrl-z-9000-times

[ RUN ] SpatialPoolerTest.testInhibitColumnsGlobal
Too long with no output (exceeded 10m0s)

Something stalls the tests for 10+mins and the CI then kills the build

@breznak breznak mentioned this pull request Nov 8, 2018
6 tasks
@breznak
Copy link
Member

breznak commented Nov 8, 2018

Reopening to restart the CI, maybe it helps

@breznak breznak closed this Nov 8, 2018
@breznak breznak reopened this Nov 8, 2018
@ctrl-z-9000-times
Copy link
Collaborator Author

Maybe you you could take just the commit with the documentation. I wrote those unit tests without realizing that there are already some decent unit tests for that method. That method is also tested by testing the compute method with global inhibition, since that will call this method.

Copy link
Member

@breznak breznak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was trying to figure why those tests get stuck, but couldn't find it..this is also a solution

@dkeeney
Copy link

dkeeney commented Nov 9, 2018 via email

@dkeeney dkeeney merged commit 271f68e into htm-community:master Nov 10, 2018
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.

None yet

3 participants