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

Setting \rho without tip labels in tree.kernel() generates strange outputs #136

Open
ArtPoon opened this issue Feb 22, 2018 · 1 comment
Labels
Milestone

Comments

@ArtPoon
Copy link
Contributor

ArtPoon commented Feb 22, 2018

\rho is supposed to control whether the kernel matches exclusively subtrees (all the way to the tips) or subset trees. Setting rho=0 should result in a subtree kernel. The resulting scores are failing normalization --- sqrt(k(t1,t1) * k(t2,t2)) is less than k(t1,t1).

@ArtPoon ArtPoon added the bug label Feb 22, 2018
@ArtPoon ArtPoon added this to the version 0.3 milestone Mar 19, 2018
@ArtPoon
Copy link
Contributor Author

ArtPoon commented Feb 15, 2019

Re-implemented tree kernel in R - see if this still happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant