Make pattern mining function like a module
Show most frequent patterns from all stat data