public double[][] predictIntervals(Instance instance,double confidenceLevel) throws Exception {
  UnivariateIntervalEstimator e=(UnivariateIntervalEstimator)getDensityEstimator(instance,false);
  return e.predictIntervals(confidenceLevel);
}

public double [ ] [ ] predictIntervals ( Instance instance , double confidenceLevel ) throws Exception { UnivariateIntervalEstimator e = ( UnivariateIntervalEstimator ) getDensityEstimator ( instance , false ) ; return e . predictIntervals ( confidenceLevel ) ; }
returns an n * 2 array , where n is the number of prediction intervals . in each row , the first element contains the lower boundary of the corresponding prediction interval and the second element the upper boundary .
