private double predict(double x, LoessInterval interval) { var coeffs = LoessInterpolator.computeCoefficients(x, SortedXs, SortedYs, SortedRobustnessWeights, interval.BandwidthInterval); return LoessInterpolator.predict(x, coeffs); }