Hi guys, I'd like know if it's possible a sensor read a 0's and 1's array from file and feed this array into a region discarding any encoder. My objective is make NuPIC Studio generate code (I mean NuPIC Network API code) of a network architecture in order to users simply Ctrl+C and Ctrl+V this code into their python projects (and even C++) and voilá!
Well, as far I know I should use a RecordSensor to read a CSV file which requires an encoder to convert each field raw data to an array which is accepted by a region. However the problem is that NuPIC Studio already allows that an user uses 0's and 1's arrays as input without any need for convertion. This is possible because it doesn't use the RecordSensor provided by NuPIC, but a file sensor coded by me. With the code generation, this won't be possible and I'll have to adapt to Network API rules. For this I thought on use a "ghost" encoder that simply takes a input and return the same as output without any treatment, but this is really ugly. Other solution would be RecordSensor doesn't convert inputs in case of encoder is None, it simply would pass the input as is. Have you any ideas for this? :-/ -- David Ragazzi MSc in Sofware Engineer (University of Liverpool) OS Community Commiter at Numenta.org -- "I think James Connolly, the Irish revolutionary, is right when he says that the only prophets are those who make their future. So we're not anticipating , we're working for it."
