I'm not an expert on object oriented Python. Could someone please explain
to me how to access a method on a region instance class from the abstract
class?

I have added a new method to nupic.research.spatial_pooler.SpatialPooler.
I'm also using an OPF client that instantiates a CLAModel class, and it's
configured to use a spatial pooler of type 'py'. The CLAModel class has a
method called _getSPRegion that returns an object of type
nupic.engine.Region, but I'm not sure how to access my new method from this
level. I see that Region has a method called 'executeCommand' and I tried
passing in the name of my method, but it throws an Exception: Missing
command method.

What changes do I need to make so my new method is accessible from the
Region class?

-- 
Mr. Mateja Putic
Ph.D Candidate
Department of Electrical and Computer Engineering
University of Virginia
(703) 303-2099

Reply via email to