From fda0db3e933ad1d6f1d1b46c7919311c86d2b364 Mon Sep 17 00:00:00 2001 From: Olivier Grisel <olivier.grisel@ensta.org> Date: Sat, 7 May 2011 19:08:33 +0200 Subject: [PATCH] add missing return info in swiss roll docstring --- scikits/learn/datasets/samples_generator.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scikits/learn/datasets/samples_generator.py b/scikits/learn/datasets/samples_generator.py index 2137d52c53..3e8b2a0755 100644 --- a/scikits/learn/datasets/samples_generator.py +++ b/scikits/learn/datasets/samples_generator.py @@ -362,6 +362,10 @@ def swiss_roll(n_samples, noise=0.0): X : array of shape [n_samples, 3] The points. + t : array of shape [n_samples] + The univariate possition of the sample according to the main dimension + of the points in the manifold. + Notes ----- Original code from: -- GitLab