Skip to content

Commit fda0db3

Browse files
committed
add missing return info in swiss roll docstring
1 parent cbab7cc commit fda0db3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scikits/learn/datasets/samples_generator.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@ def swiss_roll(n_samples, noise=0.0):
362362
X : array of shape [n_samples, 3]
363363
The points.
364364
365+
t : array of shape [n_samples]
366+
The univariate possition of the sample according to the main dimension
367+
of the points in the manifold.
368+
365369
Notes
366370
-----
367371
Original code from:

0 commit comments

Comments
 (0)