You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scikit-learn/sklearn/manifold/locally_linear.py could have a parameter for metric type #9868
Local Linear Embedding uses distance metrics in the calculation of nearest neigbhors. it uses the NearestNeighbors class to do that. There doesnt seem to be a way to pass in the type of distance metric used. It uses a default of euclidean (or minkowski 2). It would be nice to pass in as a parameter different metrics to try, such as jaccard for categorical or whatever one would like.
@kamathhrishi there is already a PR on this one as you can see just above your post. Feel free to find another issue to work on, we have plenty of them ;-).
Activity
jnothman commentedon Oct 3, 2017
achaldave commentedon Oct 4, 2017
Hi, I'd like to take this up as my first contribution here.
CoderPat commentedon Oct 7, 2017
I wouldn't mind to work on this one as well, if @achaldave isn't already
YashTD commentedon Oct 8, 2017
@jnothman isn't it as straightforward as passing two additional arguments to NearestNeightbours? If so, I'd be happy to make this quick fix.
jnothman commentedon Oct 8, 2017
kamathhrishi commentedon Oct 13, 2017
I would like to make my first contribution on this.
lesteve commentedon Oct 13, 2017
@kamathhrishi there is already a PR on this one as you can see just above your post. Feel free to find another issue to work on, we have plenty of them ;-).
kamathhrishi commentedon Oct 13, 2017