API Adds missing keyword only argument to PCA
@@ -320,7 +320,7 @@ class PCA(_BasePCA):
[6.30061...]
"""
@_deprecate_positional_args
- def __init__(self, n_components=None, copy=True, whiten=False,
+ def __init__(self, n_components=None, *, copy=True, whiten=False,
svd_solver='auto', tol=0.0, iterated_power='auto',
random_state=None):
self.n_components = n_components
