bundles / scipy 1.17.1 / scipy / stats / _kde / gaussian_kde / marginal
function
scipy.stats._kde:gaussian_kde.marginal
source: /scipy/stats/_kde.py :647
Signature
def marginal ( self , dimensions ) Summary
Return a marginal KDE distribution
Parameters
dimensions: int or 1-d array_likeThe dimensions of the multivariate distribution corresponding with the marginal variables, that is, the indices of the dimensions that are being retained. The other dimensions are marginalized out.
Returns
marginal_kde: gaussian_kdeAn object representing the marginal distribution.
Notes
Aliases
-
scipy.stats.gaussian_kde.marginal