SciPy

This is documentation for an old release of SciPy (version 0.17.1). Read this page in the documentation of the latest stable release (version 1.15.1).

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)).