Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions sklearn/datasets/_samples_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def make_multilabel_classification(
If ``True``, some instances might not belong to any class.

sparse : bool, default=False
If ``True``, return a sparse feature matrix
If ``True``, return a sparse feature matrix.

.. versionadded:: 0.17
parameter to allow *sparse* output.
Expand Down Expand Up @@ -375,7 +375,6 @@ def make_multilabel_classification(
p_w_c : ndarray of shape (n_features, n_classes)
The probability of each feature being drawn given each class.
Only returned if ``return_distributions=True``.

"""
if n_classes < 1:
raise ValueError(
Expand Down Expand Up @@ -549,12 +548,12 @@ def make_regression(
The bias term in the underlying linear model.

effective_rank : int, default=None
if not None:
If not None:
The approximate number of singular vectors required to explain most
of the input data by linear combinations. Using this kind of
singular spectrum in the input allows the generator to reproduce
the correlations often observed in practice.
if None:
If None:
The input set is well conditioned, centered and gaussian with
unit variance.

Expand Down
2 changes: 0 additions & 2 deletions sklearn/tests/test_docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
"sklearn.datasets._samples_generator.make_biclusters",
"sklearn.datasets._samples_generator.make_classification",
"sklearn.datasets._samples_generator.make_gaussian_quantiles",
"sklearn.datasets._samples_generator.make_multilabel_classification",
"sklearn.datasets._samples_generator.make_regression",
"sklearn.datasets._samples_generator.make_sparse_coded_signal",
"sklearn.datasets._samples_generator.make_spd_matrix",
"sklearn.datasets._species_distributions.fetch_species_distributions",
Expand Down