Skip to content

project_to_curve resets lambda #37

@kstreet13

Description

@kstreet13

Hi Robrecht!

An astute user recently pointed out some strange behavior in slingshot::predict (kstreet13/slingshot#185) that I'm pretty sure is related to this line:

lambda[new_ord[0]] = 0;

I can see why this is useful in the construction of principal curves. But for projecting points onto existing curves, I think it would be nice to have the option of not starting the new lambda values at 0, but rather at the appropriate index on the old curve.

If this is too niche of an application, I can build a workaround into slingshot::predict, but just wanted to bring it up and see what your thoughts were.

Best,
Kelly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions