SciPy

scipy.stats.gaussian_kde.logpdf

gaussian_kde.logpdf(x)[source]

Evaluate the log of the estimated pdf on a provided set of points.

Notes

See gaussian_kde.evaluate for more details; this method simply returns np.log(gaussian_kde.evaluate(x)).