Skip to content

Commit 4c39bdb

Browse files
committed
Merge pull request scikit-learn#4761 from tiagofrepereira2012/fix_lle
[MRG+1] Added the regularization term in the method _fit_transform
2 parents 4eda9e6 + 543d749 commit 4c39bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/manifold/locally_linear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def _fit_transform(self, X):
616616
eigen_solver=self.eigen_solver, tol=self.tol,
617617
max_iter=self.max_iter, method=self.method,
618618
hessian_tol=self.hessian_tol, modified_tol=self.modified_tol,
619-
random_state=random_state)
619+
random_state=random_state, reg=self.reg)
620620

621621
def fit(self, X, y=None):
622622
"""Compute the embedding vectors for data X

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy