implement handwriting recognition with support vector machine algorithm