From 7225f4ec4744d54e21c359b68ba81e0f50ad6863 Mon Sep 17 00:00:00 2001 From: "Thomas J. Fan" Date: Mon, 1 Aug 2022 10:29:48 -0400 Subject: [PATCH] DOC Update MDS init docs in fit --- sklearn/manifold/_mds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/manifold/_mds.py b/sklearn/manifold/_mds.py index a8c5e6d15d16c..e9cc8e9bf1df8 100644 --- a/sklearn/manifold/_mds.py +++ b/sklearn/manifold/_mds.py @@ -539,7 +539,7 @@ def fit(self, X, y=None, init=None): y : Ignored Not used, present for API consistency by convention. - init : ndarray of shape (n_samples,), default=None + init : ndarray of shape (n_samples, n_components), default=None Starting configuration of the embedding to initialize the SMACOF algorithm. By default, the algorithm is initialized with a randomly chosen array.