Hi,
The default score used by GridSearchCV is the one of the estimator; for
KernelDensity it’s the total log likelihood.
As far as I know it is not possible to have different bandwidths.
Albert
On Mon 8 Jul 2019 at 15:50, Naiping Dong wrote:
> How sklearn perform cross validation "GridSearchC
How sklearn perform cross validation "GridSearchCV" for bandwidth
selection? It seems that the CV for kernel density estimation is different
with the one used for classification. Is it used least square errors for
this aim?
Second, is it possible for me to use variable bandwidth for kernel density