Learning for Perturbation-Based Fiber Nonlinearity Compensation