Pattern Recognition Algorithms for Data Mining