Text this: Optimal Bandwidth Selection for Kernel Density Functionals Estimation