Skip to content

Commit 776f691

Browse files
authored
removing incrementalPCA example in basePCA (scikit-learn#19298)
1 parent 96dfe1e commit 776f691

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

sklearn/decomposition/_base.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,6 @@ def transform(self, X):
109109
Returns
110110
-------
111111
X_new : array-like, shape (n_samples, n_components)
112-
113-
Examples
114-
--------
115-
116-
>>> import numpy as np
117-
>>> from sklearn.decomposition import IncrementalPCA
118-
>>> X = np.array([[-1, -1], [-2, -1], [-3, -2], [1, 1], [2, 1], [3, 2]])
119-
>>> ipca = IncrementalPCA(n_components=2, batch_size=3)
120-
>>> ipca.fit(X)
121-
IncrementalPCA(batch_size=3, n_components=2)
122-
>>> ipca.transform(X) # doctest: +SKIP
123112
"""
124113
check_is_fitted(self)
125114

0 commit comments

Comments
 (0)