(Sky)Signature Patterns

The signature segments a sequence of itemsets, so that the set of items that occurs in every segment is the largest. The sky-signature is a model that summarizes sequence recurrences at all time scales, whereas the signature gives the recurrences at a single time scale. The sky-signature is based on skyline patterns.

The format of the input is a list of list of integers. Each inner list a transaction. For example, the input [[1,2,3], [4,5], [1,6], [1,2,8]] represents a sequence of 4 transactions. The first transaction contains the itemset (1,2,3).

The available algorithms are patterngrowth, dynamicprogramming, dynamicprogrammingapproximate, hybrid.

In order to run a job you need to be identified or register a new account.

API Reference

The following curl command will create a job (note: job[webapp] is required, all other parameters are optional):

curl -H 'Authorization: Token token=<your private_token>' \
    -X POST https://allgo18.inria.fr/api/v1/jobs \
    -F 'job[webapp]=skysignature-patterns' \
    -F 'job[version]=0.1' \
    -F 'job[param]=' \
    -F 'job[queue]=standard' \
    -F 'files[0]=@test.txt' \
    -F 'files[1]=@test2.csv'

Monitor its progress:

curl -H 'Authorization: Token token=<your private_token>' \
    https://allgo18.inria.fr/api/v1/jobs/JOB_ID/events

Get the result:

curl -H 'Authorization: Token token=<your private_token>' \
    https://allgo18.inria.fr/api/v1/jobs/JOB_ID

Abort the job:

curl -H 'Authorization: Token token=<your private_token>' \
    -X POST https://allgo18.inria.fr/api/v1/jobs/JOB_ID/abort

Delete the job:

curl -H 'Authorization: Token token=<your private_token>' \
    -X DELETE https://allgo18.inria.fr/api/v1/jobs/JOB_ID