Hey guys, thanks for looking into this bug. Is this the same issue reported in https://github.com/chetan51/linguist/issues/5? If so, can we have conversations about that bug on the issue tracker? If now, someone should create a new bug report at https://github.com/chetan51/linguist/issues/new.
Thanks, --------- Matt Taylor OS Community Flag-Bearer Numenta On Sat, Feb 22, 2014 at 2:39 AM, Marek Otahal <[email protected]> wrote: > Hi Obdiah, Chetan, > > I'm sorry for the long delay, I'm on a holiday now. I'll try to have a look > at Linguist again. > Did you make any progress so far with the problem? > > Cheers, Mark > > > On Fri, Feb 14, 2014 at 11:11 PM, Chetan Surpur <[email protected]> wrote: >> >> Hi Obadiah, >> >> Actually, that code was contributed by NuPIC community member Mark (I've >> cc'd him). Maybe he can answer your question. >> >> Thanks, >> Chetan >> >> >> On Thu, Feb 13, 2014 at 10:11 PM, Obadiah Lam <[email protected]> wrote: >>> >>> Hi Chetan, >>> >>> I'm from QUT in Australia and I've been trying to get your linguist >>> example to work. I've installed NuPIC (on Ubuntu) and all the tests work. >>> >>> I copied your code to the NUPIC folder (where i downloaded the source >>> code for nupic - should I have placed it in the NTA folder where the >>> binaries were instead?) and followed the README instructions, running >>> >>> python client/linguist.py data/tiny.txt >>> >>> >>> There was a KeyError (line 122 of linguist.py), and doing >>> >>> print repr(result.inferences) >>> print repr('dictionary') >>> >>> showed that I should be using 'multiStepBestPredictions' and [1] instead >>> of [0] ('prediction' and [0] did not exist in the dictionaries). >>> >>> Is this correct? What should I be expecting as the output? Currently the >>> stories don't make any sense (I trained it on sNuPIC Linguist KeyError: >>> 'prediction'ome Seuss text files and it's giving me "you win" over and over >>> again). >>> >>> Any help is muchly appreciated. >>> >>> Cheers, >>> Obadiah >>> >>> >>> Obadiah Lam | Research Assistant | Electrical Engineering and Computer >>> Science >>> Science and Engineering Faculty | Queensland University of Technology >>> Gardens Point, S Block 1107 | 2 George Street, Brisbane, QLD 4000 >>> email: [email protected] >>> https://wiki.qut.edu.au/display/cyphy/Obadiah+Lam >> >> > > > > -- > Marek Otahal :o) > > _______________________________________________ > 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
