Skip to content

Commit

Permalink
DOC clarified documentation on flip_y for make_classification (scikit…
Browse files Browse the repository at this point in the history
  • Loading branch information
kesshijordan authored and rth committed Nov 2, 2019
1 parent b158d0c commit 084a351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sklearn/datasets/_samples_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def make_classification(n_samples=100, n_features=20, n_informative=2,
``weights`` exceeds 1.
flip_y : float, optional (default=0.01)
The fraction of samples whose class are randomly exchanged. Larger
The fraction of samples whose class is assigned randomly. Larger
values introduce noise in the labels and make the classification
task harder.
Expand Down

0 comments on commit 084a351

Please sign in to comment.