bucky.util.loess#

Provide batched, cupy-enabled LOESS smoothing.

Module Contents#

Functions#

_gaussian_kernel(x, tau)

Batched gaussian kernel function.

_tricubic_kernel(x, f=1.0 / 8.0)

Batched tricubic pseudo-kernel function.

loess(y, x=None, tau=0.05, iters=1, degree=2, q=None, data_w=None)

Perform batched LOESS.

bucky.util.loess._gaussian_kernel(x, tau)[source]#

Batched gaussian kernel function.

bucky.util.loess._tricubic_kernel(x, f=1.0 / 8.0)[source]#

Batched tricubic pseudo-kernel function.

bucky.util.loess.loess(y, x=None, tau=0.05, iters=1, degree=2, q=None, data_w=None)[source]#

Perform batched LOESS.