I’m trying to write a model that works off of up to 10 different input values on a single timestamp. To do this, I’m passing in a vector of input values with a
CoordinateEncoder implementation. I am then sending it data in the form of a
Tuple that includes an
int as the first entry.
This is choking when it tries to find a bucket in the Layer. The logic appears to be looking for a DateTime or a number; and if it finds neither, it attempts to case things to a string. Whereupon I get
java.lang.ClassCastException: org.numenta.nupic.util.Tuple cannot be cast to java.lang.String at org.numenta.nupic.network.Layer.doEncoderBucketMapping(Layer.java:1710)
Any help? What format should I be sending? It seems to me that getting a bucket for a Tuple should be something the CoordinateEncoder itself covers?