Skip to content
All work

Algorithms

LUPM — Low Utility Sequential Pattern Mining

Low-utility sequential pattern mining generates huge candidate sets; LUPM uses prefix-based growth and multi-level pruning to cut unnecessary work.

  • Python
  • NumPy
  • pandas
  • Data mining
Prefix tree growing during mining, with pruned branches marked

Problem

Low-utility sequential pattern mining (LUSP) generates huge numbers of candidate patterns, which makes traditional methods slow on large sequential datasets.

What I built

An optimised implementation of low-utility sequential pattern mining using a prefix-based approach, supervised and reviewed by Dr. Sanjiban S Roy.

  • Prefix-based sequence growth.
  • Multi-level pruning and optimised candidate filtering to reduce candidate generation.
  • Custom benchmarking scripts for experiments.

Architecture

  1. Load the sequence database and compute item utilities.
  2. Grow patterns from prefixes — each candidate extends an existing prefix one item at a time.
  3. Prune at several levels so branches that can’t produce valid low-utility patterns are cut early, instead of being generated and discarded later.
  4. Filter candidates and output the low-utility sequential patterns.
  5. Benchmark runs with custom scripts to compare performance.

Tech stack

  • Language: Python
  • Data: NumPy, pandas
  • Methods: prefix-based sequence mining, multi-level pruning, custom benchmarking

Next project

CodeMixCheck

Most fact-checking data is monolingual. CodeMixCheck is a Tanglish (Tamil–English) fact-checking dataset and an evidence-grounded verification project, published on Hugging Face.

CodeMixCheck walkthrough — a Tanglish claim is normalised, checked against evidence and given a verdict