Impression learning: Online representation learning with synaptic plasticity