mean#

skfda.exploratory.stats.mean(X, weights=None)[source]#

Compute the mean of all the samples in a FData object.

Parameters:
  • X (F) – Object containing all the samples whose mean is wanted.

  • weights (NDArrayFloat | None) – Sample weight. By default, uniform weight are used.

Returns:

Mean of all the samples in the original object, as a functional data object with just one sample.

Return type:

F

Examples using skfda.exploratory.stats.mean#

Exploring data

Exploring data