Thanks! Helpful reference indeed. I have run swarms with and without reset data column. Resulting empty “brains” were then trained using the same data, but the anomaly likelihood difference was so small that caused doubt how well or if at all is reset taken into account. Probably the parameters of “brains” don’t differ much. Only after that I experimented with modified swarming description which yielded unsupported type error. I have expected reset being valuable during learning phase. E.g. observing someone exercising it helps when cyclic exercise start (and end) can be clearly distinguished. Well, let’s see does it help when I replace binary reset with string type signal.
Regards, Kalle T. From: nupic [mailto:[email protected]] On Behalf Of Matthew Taylor Sent: Wednesday, February 10, 2016 6:05 PM To: Kalle Tammemäe Subject: Re: Reset field in input data Hi Kalle, Resets are taken into account during swarms, and you should NOT add them to the "includedFields" section of the swarming description. The error you see is unrelated, however: https://github.com/numenta/nupic/issues/1775 Regards, --------- Matt Taylor OS Community Flag-Bearer Numenta On Wed, Feb 10, 2016 at 1:01 AM, Kalle Tammemäe <[email protected]<mailto:[email protected]>> wrote: Hi, I would also appreciate a little help. I’m experimenting with repetitive signals (rehabilitation) where it is possible to define start/reset of the typical exercising cycle. Sounds reasonable to this information to facilitate HTM training. As an example, the first rows of .csv file are following: sens1,sens2,sens3,sens4,sens5,sens6,sens7,sens8,sens9,reset int,int,int,int,int,int,int,int,int,bool ,,,,,,,,,R -593,-3910,-1066,55,13,33,-892,-1554,686,0 <snip> It is not clear does swarming “see” and use reset field automatically. Should it be described in swarm_description.py file? Still, trying to do that i.e. adding section to includedFiels after input signal sections: { "fieldName": "reset", "fieldType": "bool" } …does give an error on swarming: claDescriptionTemplateFile = options.claDescriptionTemplateFile) File "/home/kalle/.local/lib/python2.7/site-packages/nupic/swarming/exp_generator/ExpGenerator.py", line 192, in _handleDescriptionOption claDescriptionTemplateFile = claDescriptionTemplateFile) File "/home/kalle/.local/lib/python2.7/site-packages/nupic/swarming/exp_generator/ExpGenerator.py", line 1200, in _generateExperiment _generateEncoderStringsV2(includedFields, options) File "/home/kalle/.local/lib/python2.7/site-packages/nupic/swarming/exp_generator/ExpGenerator.py", line 915, in _generateEncoderStringsV2 raise RuntimeError("Unsupported field type '%s'" % (fieldType)) RuntimeError: Unsupported field type 'bool' I’m not using the latest nupic ( 0.3.6.dev0). Thanks, Kalle Tammemae
