How to find a recurring pattern into a list of numbers?

422 Views Asked by At

I need a way to find pattern in list of values. In particular every second I get a value in a range (ex. 1-3), and I want to find recurring pattern from this value list.

If i plot this values into an x,y system i'd get something like a Nyquist–Shannon sampling. It could be very interesting to work on this.

I could also plot these values and work on visual pattern recognition (neural networks...).

input:

instant  value


1          1
2          2
3          3
4          1
5          2
6          3
7          1

output->1,2,3

What could be the best way to proceed ?

0

There are 0 best solutions below