Skip to content

Commit ba954b7

Browse files
authored
Fix make_swiss_roll docstring to resolve a copyright ambiguity (scikit-learn#31646)
1 parent b51965a commit ba954b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sklearn/datasets/_samples_generator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,6 +1864,8 @@ def make_swiss_roll(n_samples=100, *, noise=0.0, random_state=None, hole=False):
18641864
18651865
Read more in the :ref:`User Guide <sample_generators>`.
18661866
1867+
Adapted with permission from Stephen Marsland's code [1].
1868+
18671869
Parameters
18681870
----------
18691871
n_samples : int, default=100

0 commit comments

Comments
 (0)