This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _multivariate / vonmises_fisher_gen / fit

function

scipy.stats._multivariate:vonmises_fisher_gen.fit

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_multivariate.py:7580

Signature

def fit(self, x)

Summary

Fit the von Mises-Fisher distribution to data.

Parameters

x : array-like

Data the distribution is fitted to. Must be two dimensional. The second axis of x must be unit vectors of norm 1 and determine the dimensionality of the fitted von Mises-Fisher distribution.

Returns

mu : ndarray

Estimated mean direction.

kappa : float

Estimated concentration parameter.

Aliases

  • scipy.stats._multivariate.vonmises_fisher_gen.fit