Question: Tversky' alpha and beta should not be int, should they?
gravatar for stephan.struckmann
2.4 years ago by
stephan.struckmann0 wrote:


thank you for your great ChemmineR toolkit. Alas, I have to report a potential bug. I am using version ChemmineR_2.24.2, but I compared with and the relevant parts seem to be the same still. If I call fpSim with method="Tversky", alpha=0.5, beta=0.5), which should according to be the same as the Dice-Method, I receive a matrix out of zeros. Reading the code, I found, that fpSim from sim.R calls .Call("similarity",x,y,method,addone,alpha,beta). I think this is implemented in, and there I find two lines:

int alpha= t2(0);

int beta = t3(0);

These should be double values, shouldn't they? Sorry again for bringing bad news, but maybe, you can check that in just in case I am right, maybe you may fix that?

Thank you very much





chemminer • 348 views
ADD COMMENTlink written 2.4 years ago by stephan.struckmann0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 211 users visited in the last hour