code: def normalize_residuals(self, points):
          
          residuals = self.evaluate_residual(points)
          solutions = self.evaluate_solution(points)
          return [resid / soln for resid, soln in zip(residuals, solutions)]
docs: Normalize residuals by the level of the variable.