public static double loss(double pred,double y,double eps){
  final double x=Math.abs(pred - y);
  return Math.max(0,x - eps);
}

public static double loss ( double pred , double y , double eps ) { final double x = Math . abs ( pred - y ) ; return Math . max ( 0 , x - eps ) ; }
computes the & epsilon ; - insensitive loss
