Run model without Predicted field input



Hi ,
Firstly just like to say really like the HTM School tutorials !
Just having first look at Nupic, I followed the One Hot Gym tutorial to test a different data set. The data is not time dependent and no time field, and swarm identified two fields that influence data which were two expected. Running the model and plotting the actual vs prediction looks to fit pretty well predicting one time step in advance. However I was interested to see how the predicted field would behave if seeding itself with its previous prediction (string value for binary classifier True False), the result was that it locked into the first value seeded and never changed. My question is is it possible to create a model that can freely predict a field only based on other influencing input values being fed for the hole sequence. For example share price predictor based on number of trades but never seeing any actual price (maybe not best example) Or is this against basic principles ?


Yes you can do that, but you still need to encode the predicted field along with the other contributing fields. Read through this topic, and also search the forums for more posts.


Thanks for feedback will take a look the multiple fields examples. Just to confirm , to encode the predicted field, should I update the , created by the the swam, for the predicted field in the sensorParams / Encoders section or should I be looking at creating dedicated encoder ?


If your predicted field is a scalar, you can just use a scalar encoder. No need to create an encoder unless you know how to extract domain-specific semantic information from your streams.

Yes, to include the predicted field it needs an encoder, but usually the swarm will encode the predicted field because its values contribute most to predictions.