Lenet-5 matlab implementation of lenet 5 from scratch. No thrid party library. rum accuracy.m to test the pretrained model. accuracy=95% samples: