Julie,

You can subclass the Model class given by the OPF, but I'm not sure
you'll need to do that. Most of our examples use the
ModelFactory.create() to create an instance of that model.

If you run through the OpfRunExperiment.py script, you don't have much
control over the program, as far as I know (I'm just getting into this
stuff myself, and trying to update docs as I go along). I find it much
better to use the swarming to get my model_params.py file, when write
a program that uses those params to build a model through the
ModelFactory. Then I can programmatically pass input into the model
and process the results as they come back. This is how I did it in my
recent sine wave tutorial: http://www.youtube.com/watch?v=KuFfm3ncEwI.

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


On Wed, Mar 26, 2014 at 3:08 PM, Julie Pitt <[email protected]> wrote:
> One more clarification to my question: I'm trying to reverse engineer the
> plumbing of the NuPIC platform. I think I get the high level architecture
> and have been following the discussion on how nupic will be refactored. I
> can also follow the commands to set up and run models, but there seems to be
> some missing documentation/understanding as far as what are necessary pieces
> and how they fit together.
>
> For example, this page talks about the Model interface, but then when I go
> to run the hotgym example in Cerebro based on its description.py file, I
> don't see where the Model interface is being implemented. I gleaned that the
> description.py was actually generated by ExpGenerator.py, but can't figure
> out where the input to that script is.
>
>
>
>
> On Wed, Mar 26, 2014 at 2:57 PM, Julie Pitt <[email protected]> wrote:
>>
>> Yes. I read On Intelligence and the Whitepaper. Now I actually want to
>> take my understanding to the next level. What I've worked out so far is that
>> there are a few options, for running a model:
>>
>> 1. Use the OPF. You're essentially a (python) client to the OPF which in
>> turn is a client to the CLA.
>> 2. Use python (or other) language bindings directly to interface with the
>> CLA
>>
>> I'm currently looking at #1. There are several ways I've seen to get into
>> using the OPF:
>>
>> a. Given a dataset, swarm it to create a model. Somehow swarming
>> *magically* figures out what translation and encoding is needed, whether you
>> need to use the SP or TP or both, as well as what parameters to send them.
>> b. create a model by hand
>>
>> I can do the swarm but would really like to understand the various
>> parameters and config in description.py as well as other elements I might be
>> missing. Right now I'm blindly fumbling around until it starts to make
>> sense. I'd love to do better than that if others have advice.
>>
>>
>>
>> On Wed, Mar 26, 2014 at 2:46 PM, Freeman 77 <[email protected]> wrote:
>>>
>>> Did you checked the available documents in the wiki about the CLA and the
>>> book On Intelligence? I think this must be the first step you need to make,
>>> at least that's what I'm doing.
>>>
>>> Greetings.
>>>
>>> El 26-03-2014, a las 17:50, "Julie Pitt" <[email protected]> escribió:
>>>
>>> Sorry if this post appears twice. I used the wrong "from" address the
>>> first time.
>>>
>>>> I'm just getting into NuPIC. I have built it on my machine and I'm
>>>> running Cerebro. I've tried loading up a couple of models (so far only
>>>> hotgym works) and run using Cerebro. I would like to start tinkering by
>>>> tweaking or creating my own models. Aside from just reading examples/code
>>>> and making inferences, is there a good place to go to get a description of
>>>> the config and what the params are?
>>>>
>>>> I have stumbled across ExpGenerator.py which seems to generate
>>>> experiments from some input file, but so far I haven't been able to
>>>> determine what should be in that input file.
>>>>
>>>> Thanks!
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>
>
> _______________________________________________
> 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