With pattern recognition or classification