Skip to content

Commit fe4dbe3

Browse files
author
seales
committed
Fix Kernel PCA docstring to reflect how remove_zero_eig defaults to false
1 parent 4cac986 commit fe4dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/decomposition/kernel_pca.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class KernelPCA(BaseEstimator, TransformerMixin):
7070
maximum number of iterations for arpack
7171
Default: None (optimal value will be chosen by arpack)
7272
73-
remove_zero_eig : boolean, default=True
73+
remove_zero_eig : boolean, default=False
7474
If True, then all components with zero eigenvalues are removed, so
7575
that the number of components in the output may be < n_components
7676
(and sometimes even zero due to numerical instability).

0 commit comments

Comments
 (0)