Machine learning algorithms to recognise handwritten digits