machine learning techniques and pattern recognition methods on handwritten digits