From e20d7401e0f2aa10da57618590ea4df4e99a92c1 Mon Sep 17 00:00:00 2001 From: Olivier Grisel Date: Tue, 24 Jun 2025 16:11:25 +0200 Subject: [PATCH] Fix make_swiss_roll docstring to resolve a copyright ambiguity --- sklearn/datasets/_samples_generator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sklearn/datasets/_samples_generator.py b/sklearn/datasets/_samples_generator.py index e2d80422e7df7..c3b4622d6a91b 100644 --- a/sklearn/datasets/_samples_generator.py +++ b/sklearn/datasets/_samples_generator.py @@ -1864,6 +1864,8 @@ def make_swiss_roll(n_samples=100, *, noise=0.0, random_state=None, hole=False): Read more in the :ref:`User Guide `. + Adapted with permission from Stephen Marsland's code [1]. + Parameters ---------- n_samples : int, default=100