Can nupic work for this set of temporal spatial data for detecting anomaly?

I am very new to this package, and I read the hot gym and ny traffic examples. It seems the examples can train with the data and then detect anomalies. I have a very simple set of data as below (the whole set data is at dataset). How can I use npniu to detect the data anomalies? (In fact, if we draw 3D graph, one can see the “outliers”). Thank in advance!

x y t
30.01340302 23.65666271 10/17/2017 0:14
28.016308 64.48088391 10/18/2017 11:29
88.87304884 85.45409214 10/17/2017 8:46
25.70002732 74.7992704 10/15/2017 7:57
54.86568351 50.68382722 10/18/2017 17:54
50.33649622 78.56081233 10/14/2017 7:12
53.66997059 52.11885851 10/18/2017 7:33
74.24063406 85.85943885 10/17/2017 3:00
15.33987714 36.92925825 10/14/2017 11:50
51.96142883 46.73563424 10/18/2017 16:22
24.07826457 75.11317488 10/16/2017 8:40
30.58041079 71.37603886 10/14/2017 9:23
51.7103643 53.08557887 10/18/2017 10:09

1 Like

Do these coordinates represent an object moving through space? Or do they represent unrelated events occurring in different places over time? There is a big difference.

You could use NuPIC and the CoordinateEncoder to encode XYZ coords over time to find anomalies in an objects path, but we so far cannot make predictions for future coordinates. If they are unrelated events, you will have less luck.

Some related things:

They are related events–meaning from the graph one can tell the points roughly can be grouped in 5 clusters, the first 4 of them have some uniform distributions and the last one happened in nearest time range has dispersed distribution. However, they are not moving objects ( many, many objects – a few of them might have moved).

Let me ask you this… if you had a subject matter expert on this data at hand, and they were asked to watch these events occur over time and space, would that person be able to predict future events or analyze whether an event was anomalous? This doesn’t means just spatially anomalous. To find the outliers within this data set you don’t need HTM.

What exactly are you trying to get from this data analysis?