Loading

PATTERNS


gts
Since v1.0.0
Available on all platforms
See also

The PATTERNS function extracts symbolic patterns (or motifs) from a Geo Time Series™. Those patterns are similar to iSAX symbols.

The following constraints are enforced:

  • pattern length must divide window size
  • quantization scale must be a power of two from 2 to 65536
  • PATTERNS can only be applied to numeric Geo Time Series™ which are bucketized and filled (i.e. no bucket with missing values).

Signature

Examples

// Create a new GTS and bucketize it NEWGTS 1 720 <% DUP 2 * PI * 360 / SIN NaN NaN NaN 4 ROLL ADDVALUE %> FOR [ SWAP bucketizer.last 720 1 0 ] BUCKETIZE 32 // Window size 8 // Pattern length 16 // Quantization scale PATTERNS