-
Notifications
You must be signed in to change notification settings - Fork 74
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
Conversation
Added explanatory comments to method SpatialPooler.inhibitColumnsGlobal_ Also did minor re-factoring
There was a problem hiding this 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!
Something stalls the tests for 10+mins and the CI then kills the build |
Reopening to restart the CI, maybe it helps |
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. |
There was a problem hiding this 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
That ConnectionsPerformance test never seems to complete. Well, I guess it
did complete...
ConnectionsPerformanceTest (127469 ms total)
Also, the HelloSPTPTest test.
HelloSPTPTest.performance (26422 ms)
Considering that the test machine is probably a rather large processor,
that is a long time.
@breznak, can you look at that and see if there is a way to take less
resources?
…On Fri, Nov 9, 2018 at 3:23 PM breznak ***@***.***> wrote:
***@***.**** approved this pull request.
I was trying to figure why those tests get stuck, but couldn't find
it..this is also a solution
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#84 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFBa_0dmjUzAkodRJ_HGw5PGmiZ0QfR0ks5utg53gaJpZM4YUxZF>
.
|
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