AWLCO: All-Window Length Co-Occurrence

11/29/2020
by   Joshua Sobel, et al.
0

Analyzing patterns in a sequence of events has applications in text analysis, computer programming, and genomics research. In this paper, we consider the all-window-length analysis model which analyzes a sequence of events with respect to windows of all lengths. We study the exact co-occurrence counting problem for the all-window-length analysis model. Our first algorithm is an offline algorithm that counts all-window-length co-occurrences by performing multiple passes over a sequence and computing single-window-length co-occurrences. This algorithm has the time complexity O(n) for each window length and thus a total complexity of O(n^2) and the space complexity O(|I|) for a sequence of size n and an itemset of size |I|. We propose AWLCO, an online algorithm that computes all-window-length co-occurrences in a single pass with the expected time complexity of O(n) and space complexity of O( √( n|I| )). Following this, we generalize our use case to patterns in which we propose an algorithm that computes all-window-length co-occurrence with expected time complexity O(n|I|) and space complexity O( √(n|I|) + e_max|I|), where e_max is the length of the largest pattern.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/12/2018

Sliding window order statistics in sublinear space

We extend the multi-pass streaming model to sliding window problems, and...
research
07/27/2022

Some New Methods to Generate Short Addition Chains

Modular exponentiation and scalar multiplication are important operation...
research
11/19/2021

Real-time Coherency Identification using a Window-Size-Based Recursive Typicality Data Analysis

This work presents a data-driven analysis of minimal length necessary fo...
research
06/22/2023

Counting occurrences of patterns in permutations

We develop a new, powerful method for counting elements in a multiset. A...
research
02/08/2021

Throwing a Sofa Through the Window

We study several variants of the problem of moving a convex polytope K, ...
research
08/06/2014

MCMC for Hierarchical Semi-Markov Conditional Random Fields

Deep architecture such as hierarchical semi-Markov models is an importan...
research
02/12/2019

A Theory of Selective Prediction

We consider a model of selective prediction, where the prediction algori...

Please sign up or login with your details

Forgot password? Click here to reset