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

gaussian_kde.evaluate(points)[source]

Evaluate the estimated pdf on a set of points.

Parameters:

points : (# of dimensions, # of points)-array

Alternatively, a (# of dimensions,) vector can be passed in and treated as a single point.

Returns:

values : (# of points,)-array

The values at each point.

Raises:

ValueError : if the dimensionality of the input points is different than

the dimensionality of the KDE.