Bad results when adding date encoder

If your intuition says you should use it, I think you should use it.

Yeah, that looks strange. Change it to simply 21. This means you’ll have a 42 bit output. (I assume the 2nd element is ignored. )

That makes sense to me, the default is 4 hours. So 1PM and 3PM would have some overlap, but 1PM and 5PM would have none. This seems about to be right fuzziness for a “time of day” to me.

See also [8] in the NuPIC Walkthrough Jupyter Notebook. If you run this locally, you can create a DateEncoder with different params and easily see the type of encodings it creates.

The repeating patterns problem is one of the reasons NuPIC doesn’t make good predictions. It is more useful as an anomaly detection system.