pod.predict_local_std

predict_local_std(X, residuals, X_eval, bandwidth)

Estimates the local standard deviation using Gaussian Kernel Smoothing.

This implements a Nadaraya-Watson estimator specifically for the squared residuals to model how noise varies across the input domain (heteroscedasticity).