Returns the top n most confident patterns.
n
List<Pattern> getTopPatterns(int n) => getAllPatterns().take(n).toList();