PrefixSpan is a Python 3 library for sequential pattern mining, implementing PrefixSpan, BIDE, and FEAT algorithms. Current version is 0.5.2, with infrequent releases.
pip install prefixspanNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic example: finding top-5 frequent sequential patterns.
Replace minlen=2 with min_len=2.
If you relied on a specific order, sort results explicitly.
Ensure all items in sequences are the same type and hashable.
Use: from prefixspan import PrefixSpan
Change to min_len parameter.
Convert inner lists to tuples or use hashable items.
No dependency data recorded yet.