SciPy

scipy.stats.gaussian_kde.covariance_factor

gaussian_kde.covariance_factor(self)[source]

Computes the coefficient (kde.factor) that multiplies the data covariance matrix to obtain the kernel covariance matrix. The default is scotts_factor. A subclass can overwrite this method to provide a different method, or set it through a call to kde.set_bandwidth.

Previous topic

scipy.stats.gaussian_kde.set_bandwidth

Next topic

Low-level callback functions