Closed-loop object recognition using reinforcement learning | Synapse