forked from numenta/nupic.core-legacy
-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
Description
TypeError: Unable to convert function return value to a Python type! The signature was
(self: htm.bindings.encoders.RDSE, arg0: float) -> htm::SparseDistributedRepresentation.
I am running anaconda 3.7 ( I complied from sources ) by running setup.py , I am running ubuntu 20.04 LTS x64
here is the code
parameter1 = RDSE_Parameters()
parameter1.size = 160
parameter1.sparsity = 0.02
parameter1.resolution = 0.66
rsc1 = RDSE(parameter1)
for val in df['feature_class'].values.astype(np.int32):
rsc1.encode(val)
where val is integer 32 of ranhe 1 to 3