Generalized Interval-extended Sequential Pattern mining
Project description
Generalized Interval-extended Sequential Pattern mining
Installation
cd interval-sequential-pattern-x.x.x
python3 -m pip install .
Quick Start
import gisp
a, b, c, d, e, f = 'a', 'b', 'c', 'd', 'e', 'f'
sequences = [
[(0, {a}), (86400, {a, b, c}), (259200, {a, c})],
[(0, {a, d}), (259200, {c})],
[(0, {a, e, f}), (172800, {a, b})],
]
patterns = gisp.mine(
sequences=sequences,
itemize=lambda i: i // 86400,
min_support=2,
max_interval=172800,
)
References
- Hirate, Y., & Yamana, H. (2006). Generalized sequential pattern mining with item intervals. Journal of Computers, 1(3), 51-60. https://doi.org/10.4304/jcp.1.3.51-60
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gisp-1.0.1.tar.gz
(16.9 kB
view hashes)
Built Distribution
gisp-1.0.1-py3-none-any.whl
(17.4 kB
view hashes)