Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Example generating various distance metrics on RandomTreesEmbedding and #16418

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

ShumingXu
Copy link

Reference Issues/PRs

Ref PR: #1288

What does this implement/fix? Explain your changes.

  • adds an example of generating distance metrics from RandomTreesEmbedding and uses it on unsupervised task.

The distance metrics used are:

  1. the depth of the nearest common ancestor of the leaf nodes sample i and j land into (take the reciprocal to make it a distance)
  2. the length of the shortest path of the leaf nodes sample i and j land into
  3. the probability of sample i and j landing into the same lead node(take 1 minus the value to make it a distance)

Any other comments?

The plot now looks like this:
image

Base automatically changed from master to main January 22, 2021 10:52
@cmarmo cmarmo added Documentation Needs Decision - Include Feature Requires decision regarding including feature labels Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Needs Decision - Include Feature Requires decision regarding including feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants