Re: Closed sequential patterns with user-defined gap
Date: June 05, 2018 04:37PM
Hello,
Yes, there exists a few algorithms for mining closed sequential patterns with gap constraints. In SPMF, you would need to use the Fournier08-closed+time algorithm to get that. That algorithms actually is designed to work with timestamps but if you set all the timestamps to 0, it should do what you want.
This is the example from the documentation:
http://www.philippe-fournier-viger.com/spmf/ClosedSequentialPatterns_TimeConstraints.php
However, this algorithm is based on BIDE. It is possible that in some cases it misses some patterns if you have multiple items per itemesets, as there was bug in the BIDE implementation.
Best,
Edited 2 time(s). Last edit at 06/05/2018 04:41PM by webmasterphilfv.