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

DO NOT MERGE NUP-2386 Experiment with renaming of RecordSensor region module #3632

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/nupic/data/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from pkg_resources import resource_filename

from nupic.regions.RecordSensor import RecordSensor
from nupic.regions.record_sensor import RecordSensor
from nupic.data.file_record_stream import FileRecordStream


Expand Down
3 changes: 2 additions & 1 deletion src/nupic/engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
("nupic.regions.KNNClassifierRegion", "KNNClassifierRegion"),
("nupic.regions.PluggableEncoderSensor", "PluggableEncoderSensor"),
("nupic.regions.PyRegion", "PyRegion"),
("nupic.regions.RecordSensor", "RecordSensor"),
("nupic.regions.record_sensor", "RecordSensor"),
("nupic.regions.SDRClassifierRegion", "SDRClassifierRegion"),
("nupic.regions.SPRegion", "SPRegion"),
("nupic.regions.SVMClassifierNode", "SVMClassifierNode"),
Expand All @@ -67,6 +67,7 @@ def registerBuiltInRegions():
# Initialize nupic regions
if not registeredRegions:
for module, className in pyRegions:
print "ZZZ Registering builtin python region:", module, className
engine_internal.Network.registerPyRegion(module, className)
registeredRegions = True

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/integration/nupic/engine/network_checkpoint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import numpy

from nupic.regions.SPRegion import SPRegion
from nupic.regions.RecordSensor import RecordSensor
from nupic.regions.record_sensor import RecordSensor

from network_creation_common import createAndRunNetwork

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/nupic/engine/network_creation_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
from nupic.data.file_record_stream import FileRecordStream
from nupic.engine import Network
from nupic.encoders import MultiEncoder, ScalarEncoder, DateEncoder
from nupic.regions.RecordSensor import RecordSensor
from nupic.regions.record_sensor import RecordSensor
from nupic.regions.SPRegion import SPRegion
from nupic.regions.TMRegion import TMRegion

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/nupic/data/filters_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import unittest2 as unittest
from pkg_resources import resource_filename

from nupic.regions.RecordSensor import RecordSensor
from nupic.regions.record_sensor import RecordSensor
from nupic.data.file_record_stream import FileRecordStream
from nupic.encoders import MultiEncoder
from nupic.data.filters import DeltaFilter
Expand Down