computeCoefficients() private static method

private static computeCoefficients ( double x, double xval, double yval, double robustnessWeights, int bandwidthInterval ) : double[]
x double
xval double
yval double
robustnessWeights double
bandwidthInterval int
return double[]
Ejemplo n.º 1
0
            private double predict(double x, LoessInterval interval)
            {
                var coeffs = LoessInterpolator.computeCoefficients(x, SortedXs, SortedYs, SortedRobustnessWeights, interval.BandwidthInterval);

                return(LoessInterpolator.predict(x, coeffs));
            }