Skip to content

Commit d305273

Browse files
committed
FIX put doctest lines in correct order
1 parent 7fa737d commit d305273

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ class Pipeline(BaseEstimator):
7676
>>> sub_pipeline # doctest: +ELLIPSIS
7777
Pipeline(steps=[('anova', ...)])
7878
>>> coef = anova_svm[-1].coef_
79-
(1, 5)
80-
>>> anova_svm['clf'] is anova_svm[-1]
79+
>>> anova_svm['svc'] is anova_svm[-1]
8180
True
8281
>>> coef.shape
82+
(1, 10)
8383
>>> sub_pipeline.inverse_transform(coef).shape
8484
(1, 20)
8585
"""

0 commit comments

Comments
 (0)