You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The prediction using Loess.predict fails at endpoints for (some) cases where the covariate is equally spaced:
using Distributions
import Loess
x = collect(1:50);
y = x .+ rand(Normal(0, 10), 50);
x = convert(Array{Float64}, x);
model = Loess.loess(x, y);
prds = Loess.predict(model, x)
# prds[1] is NaN
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The prediction using
Loess.predict
fails at endpoints for (some) cases where the covariate is equally spaced:The text was updated successfully, but these errors were encountered: