Closed pcuestas closed 1 year ago
Patch coverage: 89.47
% and no project coverage change.
Comparison is base (
415796b
) 85.85% compared to head (26c6d22
) 85.86%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Add parameter
ddof
to FData.cov, FData.var, stats.cov and stats.var.As explained in #555, this
ddof
parameter has value 1 by default and means "Delta Degrees of Freedom". The divisor used in the calculation of the covariance isN-ddof
.This changes the previous default behavior of
var
, which usedddof=0
by default. Therefore, changes have been applied to scikit-fda/skfda/misc/scoring.py (Line 77) and scikit-fda/skfda/ml/clustering/_kmeans.py (Line 150), in order to preserve the previous behaviour of those modules.This pull request closes #555 .