Pattern recognition algorithms aim to provide reasonable answers for all inputs by performing statistical pattern matching, unlike exact pattern matching algorithms. Pattern recognition is studied across many fields including computer science, psychology, and more. Pattern recognition algorithms can be categorized based on the type of learning procedure used, such as supervised versus unsupervised learning, and whether the algorithm is statistical or not. Common pattern recognition algorithms include probabilistic approaches that use statistical inference to find the best label.