Hi Phil,

Multiple inputs are pretty easy with the OPF (i.e. the CLAModel). For
example, hotgym
<https://github.com/numenta/nupic/blob/master/examples/opf/clients/hotgym/simple/model_params.py#L66>
uses the timestamp and the current power consumption.

For multi-level models, you'll probably want to use the Network API.
Subutai gave a recent talk: https://www.youtube.com/watch?v=g9yS9zFt3dM .
Here's a demo that uses multiple levels:
https://github.com/numenta/nupic/blob/master/examples/network/hierarchy_network_demo.py

Strictly speaking, from the Network API's perspective, the CLAModel only
has one input, since it concatenates
<https://github.com/numenta/nupic/blob/master/src/nupic/frameworks/opf/clamodel.py#L1108>
the
encodings via a MultiEncoder, but that's just an implementation detail. I
recently created a demo that puts multiple inputs into a Network:
https://github.com/numenta/nupic/blob/master/examples/network/core_encoders_demo.py


Hope that helps!
Marcus

On Sun, Mar 27, 2016 at 10:06 PM, Phil Goddard <[email protected]> wrote:

>
> I'm looking for an example (or examples) of using NuPIC with either (or
> both of) multiple inputs and multiple levels.
>
>
> With multiple inputs, the nearest example I can find is the NY Taxi
> example.
>
> However the technical paper I have indicates that the 3 inputs are
> aggregated into one input (via competitive polling) before being fed into
> the model.
>
> Can anyone tell me if it possible to have multiple inputs?
>
> Or do multiple inputs have to be processed into one input as per that
> example?
>
>
> I can't find the code for the NY taxi example (in the NuPIC GitHub
> repository).
>
> Is it available, and if so where?
>
>
> Also, is it possible to develop multi-level models?
>
> If anyone can point me at any technical description of such models, or a
> code example, I'd appreciate it.
>
>
> thanks
>
> Phil.
>
>
>
>
>

Reply via email to