10000 DOC Corrects init ndarray shape in MDS (#24067) · scikit-learn/scikit-learn@faabab1 · GitHub
[go: up one dir, main page]

Skip to content

Commit faabab1

Browse files
rprkhglemaitre
authored andcommitted
DOC Corrects init ndarray shape in MDS (#24067)
1 parent 9e15ecd commit faabab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/manifold/_mds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def fit_transform(self, X, y=None, init=None):
497497
y : Ignored
498498
Not used, present for API consistency by convention.
499499
500-
init : ndarray of shape (n_samples,), default=None
500+
init : ndarray of shape (n_samples, n_components), default=None
501501
Starting configuration of the embedding to initialize the SMACOF
502502
algorithm. By default, the algorithm is initialized with a randomly
503503
chosen array.

0 commit comments

Comments
 (0)
0