Implementation of Nadaraya-Watson kernel regression with automatic bandwidth selection compatible with sklearn.