Neural network models of visual learning