learning kernel parameters of the Nadaraya-Watson estimator, and a swarm-based iterative