Memory-Centric Reconfigurable Accelerator for Classification and Machine Learning Applications