pattern recognition in business