From 6704dd304db34a640464ec2d0766e5c762b447cb Mon Sep 17 00:00:00 2001 From: Muayyad Alsadi Date: Sat, 28 Oct 2017 00:07:03 +0200 Subject: [PATCH] fixes #10031: fix attribute name and shape in documentation (#10033) --- sklearn/manifold/locally_linear.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sklearn/manifold/locally_linear.py b/sklearn/manifold/locally_linear.py index 594e77af43981..03c844c4b7078 100644 --- a/sklearn/manifold/locally_linear.py +++ b/sklearn/manifold/locally_linear.py @@ -589,11 +589,11 @@ class LocallyLinearEmbedding(BaseEstimator, TransformerMixin): Attributes ---------- - embedding_vectors_ : array-like, shape [n_components, n_samples] + embedding_ : array-like, shape [n_samples, n_components] Stores the embedding vectors reconstruction_error_ : float - Reconstruction error associated with `embedding_vectors_` + Reconstruction error associated with `embedding_` nbrs_ : NearestNeighbors object Stores nearest neighbors instance, including BallTree or KDtree