Open mj-harvey opened 9 years ago
@breznak What do you think about this?
Hi, would it be more appropriate to post this as a question on the mailing list, rather than as a github issue?
@mj-harvey If you think the current behavior is incorrect, an issue is appropriate. If you're not sure, or just wondering what is going on, the mailing list is better.
Hi,
I've constructed a spatial classifer following the instructions at https://github.com/numenta/nupic/wiki/Spatial-Classification It's a trivial binary classifier intended to discriminate between even and odd numbers. I train it with:
"letter" and "number" are the inputs. "categoryx" is the classification. After training, I then perform repeated classification of a specific input with
From the output, it's clear from the output that the model is learning the "None" association:
There's a minimal reproducer in: https://github.com/mj-harvey/nupic-noodle/tree/master/test2 where you'll be able to see the model_params: https://github.com/mj-harvey/nupic-noodle/blob/master/test2/model_params.py
Turning up the debug encoder debug, I see the following during training:
"_category" looks suspicious, and suggestive of the "categoryx" field not being correctly assigned as the classifier output.
Any suggestions? Quite prepared to believe I done something wrong in the code, but, if so, the documentation is out-of-date.