Applications of Classification in Pattern Recognition