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