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 details)
Built Distribution
gisp-1.0.1-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file gisp-1.0.1.tar.gz
.
File metadata
- Download URL: gisp-1.0.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 884f636fb75950bf9f54ab42b1dc269b360a3dbe21ca28b15ef18e6e3e6a11e5 |
|
MD5 | 233ec7251de72d2aa3cfb38d5f2d5f68 |
|
BLAKE2b-256 | 57693a433161a3c7eb288c8e31062a86397548afcdce9bebc5525855d2a8f5d4 |
File details
Details for the file gisp-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: gisp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652a4bb69432fe1d4fcba361ff99c7b6b9db530395155aa50bf716f4ddca5d77 |
|
MD5 | 2df76036cbc54eff0ce8f99b06f74db0 |
|
BLAKE2b-256 | 5f09e287418c1635c415dec50c4900dccb843db7bdad08b3a8dda32fea273bc6 |