Re: Issue in My Dataset for HUSPM
Date: March 29, 2020 09:39AM
Good evening!
Thanks for using SPMF! The problem is the following:
It may not be explained clearly in the documentation, but there is an assumption that the items whithin an itemset are ordered by ascending order (e.g. 1, 2, 3 4...). If that order is not respected then, the algorithm may produce some incorrect results.
So this sequence:
11[8] 3[8] -1 12[6] 4[8] 5[8] -1 -2 SUtility:38
should be replaced by:
3[8] 11[8] -1 4[8] 5[8] 12[6] -1 -2 SUtility:38
so that items are in ascending order.
I will explain this more clearly in the documentation. Why this order? Because it allows to do some optimization.
Then it works.