Chetan, Thanks for pointing that out, I didn't realize you had already written that.
M On Tue, Mar 17, 2015 at 6:35 PM, Chetan Surpur <[email protected]> wrote: > Mateja, > > It might be helpful to take a look at how the Patcher patches a CLA model > instance: > > https://github.com/numenta/nupic.cerebro2.server/blob/master/py/cerebro2/patcher.py#L47 > > - Chetan > > > On Mar 17, 2015, at 6:12 PM, Mateja Putic <[email protected]> wrote: > > I'd like to use cerebro2.patcher.Patcher with an opf client > (examples/opf/clients/hotgym/simple) to dump internal CLA state. > > For a spatial pooler, for example, Patcher expects a > nupic.research.spatial_pooler.SpatialPooler object, but > clamodel._getRegion() returns a nupic.engine.Region object. > > Would it be possible to subclass the Region object into a SpatialPooler or > TemporalPooler object? > Or should I write a new Patcher to work with clamodel's getParameter > interface? > > What is the right approach here? > > Thanks, > > -- > Mr. Mateja Putic > Ph.D Candidate > Department of Electrical and Computer Engineering > University of Virginia > (703) 303-2099 > > > -- Mr. Mateja Putic Ph.D Candidate Department of Electrical and Computer Engineering University of Virginia (703) 303-2099
