I've noticed KernelDensity.pdf cannot be used in the same way as Distributions.pdf. I think this is very confusing for users and is a potential source of errors. In particular, pdf.(kde::UnivariateKDE, x::Vector) and pdf(kde::BivariateKDE, M::Matrix) do not work.
I could try adding them if there is agreement it should be done.
I've noticed
KernelDensity.pdfcannot be used in the same way asDistributions.pdf. I think this is very confusing for users and is a potential source of errors. In particular,pdf.(kde::UnivariateKDE, x::Vector)andpdf(kde::BivariateKDE, M::Matrix)do not work.I could try adding them if there is agreement it should be done.