Skip to content

Commit 1144e3b

Browse files
dalmiajnothman
authored andcommitted
DOC adding note regarding bessel correction in PCA (scikit-learn#7843)
1 parent 8056d63 commit 1144e3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sklearn/decomposition/pca.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,12 @@ class PCA(_BasePCA):
283283
>>> print(pca.singular_values_) # doctest: +ELLIPSIS
284284
[ 6.30061...]
285285
286+
Notes
287+
-----
288+
PCA uses the maximum likelihood estimate of the eigenvalues, which does not
289+
include the Bessel correction, though in practice this should rarely make a
290+
difference in a machine learning context.
291+
286292
See also
287293
--------
288294
KernelPCA

0 commit comments

Comments
 (0)