Machine learning methods to recognize hand written digits