Fellows, i'm with this error trying to execute hotgym or scalar_1 examples

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line
239, in process
    return self.handle()
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line
230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line
420, in _delegate
    return handle_class(cls)
  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line
396, in handle_class
    return tocall(*args)
  File
"/home/christian/christian/christian/nupic/nupic.cerebro/cerebro.py", line
108, in POST
    results = cerebro.runCurrentExperiment(expType)
  File
"/home/christian/christian/christian/nupic/nupic.cerebro/cerebro_model.py",
line 365, in runCurrentExperiment
    dataset=self.datasets[self.currentDataset])
  File "/home/christian/christian/christian/nupic/nupic.cerebro/runner.py",
line 85, in __init__
    self.predictionFieldIndex = self.fieldNames.index(self.predictedField)
ValueError: u'classification' is not in list


 Someone can help?


 Regards,

 Christian




2013/12/17 Marcos Romero <[email protected]>

> Thank you very much Matthew.
>
> Marcos.
>
>
> 2013/12/17 Matthew Taylor <[email protected]>
>
>> 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
>>
>
>
> _______________________________________________
> 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