partial numerical array - pattern matching
I have a linear numerical array source
and I want to find/match test
array as pattern :
source = [39,36,23,21,28,36,30,22,34,37]
test = [36,23,21,28]
we can use brute force
or similar method for finding the exact match, by checking test
array from index 0
to len(source)-len(test)
but in our problem, we can accept this pattern too ( order is important )
test = [36,24,21,28] // changed 23 to 24
since we have many different ways of solving this problem ( maybe fuzzy!), I want to know the title of some solutions.
Topic numerical fuzzy-classification time-series
Category Data Science