Skip to content

Commit e2a75a5

Browse files
committed
DOC fix import
1 parent f0612f2 commit e2a75a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/miscellaneous.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ a single function. Additional parameters can be added using the attribute
1717
``kw_args`` which accepts a dictionary. The following example illustrates how
1818
to retain the 10 first elements of the array ``X`` and ``y``::
1919

20+
>>> from sklearn.misc import FunctionSampler
2021
>>> from sklearn.datasets import make_classification
2122
>>> X, y = make_classification(n_samples=5000, n_features=2, n_informative=2,
2223
... n_redundant=0, n_repeated=0, n_classes=3,

0 commit comments

Comments
 (0)