I believe you will want a "MultiStep" inferenceType. For inferenceArgs, a
predictionStep of 1 and the proper field name for predictedField.

But this is just for the swarm, I think you will probably need to create
your own model class to get the details you need from the running CLA. You
do this by subclassing the nupic.frameworks.opf.model.Model class in the
OPF [1]. This class and it's current subclasses need docs badly [2].

I know Scott Purdy has experience with this, and I think Chetan Surpur has
done it for his cerebro2 project (or at least he will have to do it soon
enough!). Rahul Agarwal created a custom model subclass for the original
Cerebro[3], so there is probably an example in that codebase somewhere.

[1]
https://github.com/numenta/nupic/blob/master/py/nupic/frameworks/opf/model.py
[2] https://github.com/numenta/nupic/issues/765
[3] https://github.com/numenta/nupic.cerebro/

---------
Matt Taylor
OS Community Flag-Bearer
Numenta


On Thu, Apr 3, 2014 at 5:34 AM, Scheele, Manuel <
[email protected]> wrote:

> Hi Matt,
>
> Yes, that is what I want to do. I want to show the CLA a sequences with
> labels (call sequence 1,2,3 'seq1' and sequence 4,5,8 'seq2') and then show
> noisy sequences and see if it can assign the correct label to it ( assign
> label 'seq1' to sequence 1.1,1.9,2.8). Can you help me to find the correct
> "inferenceType" and "inferenceArgs" for the search_def.json for swarming?
>
> Regards,
> Manuel
> ________________________________________
> From: nupic [[email protected]] on behalf of Matthew Taylor
> [[email protected]]
> Sent: 02 April 2014 18:21
> To: NuPIC general mailing list.
> Subject: Re: [nupic-discuss] NuPIC Recognition Tasks
>
> Can you elaborate a bit? You want to do sequence recognition but not
> prediction. Does that mean you want to recognize the current sequences the
> CLA recognizes are occurring at any point in the data?
>
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>
>
> On Tue, Apr 1, 2014 at 11:34 PM, Scheele, Manuel <
> [email protected]<mailto:[email protected]>>
> wrote:
> Hi All,
>
> When I want to do sequence recognition (i.e. no prediction, just
> recognition of the input) what should I set the "inferenceType" and
> "inferenceArgs" to in the search_def.json for swarming?
>
> Thanks for the help,
> Manuel
> _______________________________________________
> nupic mailing list
> [email protected]<mailto:[email protected]>
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
> _______________________________________________
> nupic mailing list
> [email protected]
> http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
>
_______________________________________________
nupic mailing list
[email protected]
http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org

Reply via email to