updated memory classifier class used for image recognition.