Process a data chunk through a streaming LOESS model
Usage
process_chunk(model, ...)
# S3 method for class 'StreamingLoess'
process_chunk(model, x, y, custom_weights = NULL, ...)Examples
x <- seq(0, 10, length.out = 100)
y <- sin(x) + rnorm(100, 0, 0.1)
model <- StreamingLoess(fraction = 0.2, chunk_size = 50L)
process_chunk(model, x[1:50], y[1:50])
#> <LoessResult>
#> Points: 45
#> Fraction Used: 0.2
#> Iterations Used: 3