A support threshold sets the minimum frequency required for a sequence pattern to remain frequent. In sequential pattern discovery, it filters candidate sequences before longer combinations are evaluated. section 4.7.1
Counting ordered purchases
Using Milk and Eggs, a support threshold of 2 retains patterns occurring at least twice. Milk -> Eggs qualifies for sequence IDs 1001, 1002, 1003, and 1004; Eggs -> Milk qualifies for 1001 and 1002. Ordering is checked by comparing element IDs within the same sequence ID. section 4.7.1
A Python workflow can pass the threshold directly to SPADE through pycspade; support=0.6 runs the mining process and prints its results.
