Comparison of algorithms for frequent pattern mining