Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Remove FlatSpatialPooler #2056

Merged

Conversation

david-ragazzi
Copy link
Contributor

Fixes: #627

@@ -1789,6 +1789,56 @@ def testWrite(self):
self.assertSetEqual(indices1, indices2)


def testRandomSPDoesNotLearn(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test was ported from FlatSP and works fine.

@david-ragazzi david-ragazzi force-pushed the remove_old_SPs_FlatSpatialPooler branch 3 times, most recently from 5ca46e2 to 70531a6 Compare April 16, 2015 01:32
@david-ragazzi david-ragazzi force-pushed the remove_old_SPs_FlatSpatialPooler branch from 70531a6 to d02ebb3 Compare April 16, 2015 01:42
@david-ragazzi
Copy link
Contributor Author

CC @chetan51

@david-ragazzi
Copy link
Contributor Author

@chetan51 Ping...

@chetan51
Copy link
Contributor

👍

rhyolight added a commit that referenced this pull request Apr 17, 2015
@rhyolight rhyolight merged commit 95e8d8f into numenta:master Apr 17, 2015
@david-ragazzi david-ragazzi deleted the remove_old_SPs_FlatSpatialPooler branch April 17, 2015 19:13

def compare(self, pySp, cppSp):
self.assertAlmostEqual(pySp.getNumColumns(),
cppSp.getNumColumns())
Copy link
Member

Choose a reason for hiding this comment

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

I think this c++/py compatibility test should stay! (ofc ported to the new SP implementation, not FlatSP)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this c++/py compatibility test should stay! (ofc ported to the new SP implementation, not FlatSP)

Relax, man.. 😌 Look these here:

https://github.com/numenta/nupic/blob/master/tests/unit/nupic/research/spatial_pooler_compatability_test.py#L58

Copy link
Member

Choose a reason for hiding this comment

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

cool then! 😎
Sorry, I just saw the files removed in the recent pull, and none tests added...

@breznak
Copy link
Member

breznak commented Apr 19, 2015

I'm raising a finger of caution on the removed tests, thoughts @david-ragazzi @chetan51 ?

 delete mode 100644 nupic/research/flat_spatial_pooler.py
 delete mode 100755 tests/unit/nupic/research/flat_spatial_pooler_compatability_test.py
 delete mode 100644 tests/unit/nupic/research/flat_spatial_pooler_cpp_api_test.py
 delete mode 100644 tests/unit/nupic/research/flat_spatial_pooler_py_api_test.py
 delete mode 100755 tests/unit/nupic/research/flat_spatial_pooler_unit_test.py

mihail911 pushed a commit to mihail911/nupic that referenced this pull request Aug 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove flat spatial poolers
4 participants