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

Community compatibility #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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: 0 additions & 2 deletions src/nupic/algorithms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@
algorithms that are used inside Numenta-supplied regions.
"""

from nupic.bindings.math import NearestNeighbor
from nupic.bindings.algorithms import svm_01, svm_dense
2 changes: 1 addition & 1 deletion src/nupic/algorithms/knn_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import numpy

from nupic.bindings.math import (NearestNeighbor, min_score_per_category)
from nupic.bindings.math import (min_score_per_category)

from nupic.serializable import Serializable

Expand Down
12 changes: 3 additions & 9 deletions src/nupic/engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,7 @@
'Handle',
'Bool']

arrayTypes = ['ByteArray',
'Int16Array', 'UInt16Array',
'Int32Array', 'UInt32Array',
'Int64Array', 'UInt64Array',
'Real32Array', 'Real64Array',
# No 'HandleArray'
'BoolArray']
arrayTypes = [ ]

pyRegions = (
("nupic.bindings.regions.TestNode", "TestNode"),
Expand Down Expand Up @@ -609,8 +603,8 @@ def __init__(self, *args):
assert isinstance(prop, property)
setattr(Network, obj, property(prop.fget, prop.fset, prop.fdel,
docString))
else:
obj.im_func.__doc__ = docString
#else:
#FIXME obj.im_func.__doc__ = docString ## err __doc__ not writable

def _getRegions(self):
"""Get the collection of regions in a network
Expand Down