In the spring, a young robot’s fancy turns to algorithms of love.