Thanks, that worked. I'm still curious to know what the difference between finishLearning and disableLearning is if anyone knows.
M On Fri, Apr 24, 2015 at 11:08 AM, Matthew Taylor <[email protected]> wrote: > Hi Mateja. Try model.disableLearning() and I think you'll still get > the behavior you want. See: > > http://numenta.org/docs/nupic/classnupic_1_1frameworks_1_1opf_1_1model_1_1_model.html#ae3efe32f87f56e9fd3edfb499b87263f > > I've never used the finishLearning() function on a CLAModel, so I'm > not sure what the difference is. > > Anyone know? It seems like finishLearning() is like a permanent > disableLearning() that can't be re-enabled. I'm not sure what the > use-case would be for having both. > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Fri, Apr 24, 2015 at 9:33 AM, Mateja Putic <[email protected]> wrote: > > I am running an OPF model that I want to train on some finite set of > data, > > and then turn off learning and run inference only. > > > > After some training period, I have tried to run model.finishLearning() > where > > model is of type nupic.frameworks.opf.clamodel.CLAModel > > > > It doesn't seem that SPRegion has a method called finishLearning(), > because > > it throws Exception: Missing command method finishLearning > > > > Could someone please teach me how to finish learning or disable learning > in > > an OPF model (meaning, for both SP and TP)? > > > > 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
