Huh, I thought KernelDensity was a classifier, but apparently it is not. You should be able to grid-search over "score" once the function call is fixed to "score(X, y=None)". Can you try adding that?
I am surprised there is no common test for that, but I guess this estimator is too special in its interface. ------------------------------------------------------------------------------ _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general