bundles / scipy latest / scipy / stats / _kde / gaussian_kde / integrate_gaussian
function
scipy.stats._kde:gaussian_kde.integrate_gaussian
source: /scipy/stats/_kde.py :289
Signature
def integrate_gaussian ( self , mean , cov ) Summary
Multiply estimated density by a multivariate Gaussian and integrate over the whole space.
Parameters
mean: aray_likeA 1-D array, specifying the mean of the Gaussian.
cov: array_likeA 2-D array, specifying the covariance matrix of the Gaussian.
Returns
result: scalarThe value of the integral.
Raises
: ValueErrorIf the mean or covariance of the input Gaussian differs from the KDE's dimensionality.
Aliases
-
scipy.stats.gaussian_kde.integrate_gaussian