Use the --plot option: > ./run.py --plot
See https://github.com/numenta/nupic/tree/master/examples/opf/clients/hotgym/prediction/one_gym#running Regards, --------- Matt Taylor OS Community Flag-Bearer Numenta On Sun, Jul 20, 2014 at 9:29 PM, Mika Schiller <[email protected]> wrote: > Hi, > > I'm trying to get "run.py" to ouput predictions in matlab, but nothing > happens. Instead, the predictions get outputed to a file. I checked the > runIoThroughNupic() function in run.py to make sure that there are no > errors. I'be attached a screenshot of both that and the "if __name__...." > part of the file so that you can see. > > I figured maybe matplotlib wasn't installed, so I fired up python and did > "import matplotlib" and got an error saying it wasn't installed. So I went > ahead and did a pip install matplotlib, but it said it was already installed > at > /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python > and I checked the file and sure enough it's there. So I'm not sure why I'm > unable to import it. I'm assuming that "nupic_output.py" is also unable to > import matplotlib and that's probably why it's not working. Any idea what > might be going on here? > > Thnx! > > Mika > > _______________________________________________ > 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
