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

Tversky similarity #35

Closed
taryep opened this issue May 17, 2020 · 3 comments
Closed

Tversky similarity #35

taryep opened this issue May 17, 2020 · 3 comments

Comments

@taryep
Copy link

taryep commented May 17, 2020

Could you add the Tversky similarity and the choice of alpha and beta coefficients in arguments ?
I’m actually doing this using RDKit and jupyter notebooks, but with FPSim 2 it would be faster and take less RAM.

@eloyfelix
Copy link
Member

I can be added and we'll probably do. Thanks for the suggestion.

@eloyfelix
Copy link
Member

it's now implemented in this branch: https://github.com/chembl/FPSim2/tree/tversky

still needs some little work before merging and creating new conda builds

@eloyfelix
Copy link
Member

this functionality is now available in version 0.1.8

results = fpe.tversky(query, threshold=0.7, a=0.5, b=0.5)

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

No branches or pull requests

2 participants