If you really want to see all the data coming out of the CLA, you can
add this line before line 80:

    print(result)

This "result" object is a ModelResult, defined here:

https://github.com/numenta/nupic/wiki/Online-Prediction-Framework#model-output-the-modelresult-object

There's a ton of info in there about the state of the system as well
as multistep predictions.


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


On Mon, Dec 16, 2013 at 9:16 AM, Matthew Taylor <[email protected]> wrote:
> Hi Marcos,
>
> In the hotgym example, output is created on this line[1]:
>
>     result = model.run(modelInput)
>
> The result object contains the prediction data. In this example, the
> prediction data is simply logged through the python logging module,
> which goes to stdout. You can write your code to do whatever you wish
> with this output data. If you look at the `cpu` example[2], you can
> see that the same `module.run()` command return values is used to
> populate a GUI graph in realtime.
>
> ---------
> Matt Taylor
> OS Community Flag-Bearer
> Numenta
>
> [1] 
> https://github.com/numenta/nupic/blob/master/examples/opf/clients/hotgym/hotgym.py#L79
> [2] 
> https://github.com/numenta/nupic/blob/master/examples/opf/clients/cpu/cpu.py#L73
>
> On Mon, Dec 16, 2013 at 3:11 AM, Marcos Romero <[email protected]> wrote:
>>
>> Hi friend,
>>
>> first of all sorry for my english. I'm starting to work with the example
>> hotgym but after run it, i don't know how to see the result. I saw a video
>> of the oscon where speaks about the hotgym example and shown the result data
>> but not explain how to obtain it.
>>
>> Thanks for all.
>>
>> _______________________________________________
>> 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