-
Notifications
You must be signed in to change notification settings - Fork 47
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
I plot ROC curve successfully, but the range of the X axis isn't 0 to 1 #27
Comments
Thanks for the report. I am aware of this but since there isn't a separate issue about it, I will keep this one open. The reason is that linkpred only calculates ROC curves (or other evaluation curves) for those node pairs for which there actually is a prediction. For many predictors that is just a fraction of all possibilities, leading to plots like the one you obtained. It might be possible to extend the current code to treat all node pairs for which there is no prediction as effectively zeroes. However, going forward, the better way to handle this in the package would be to replace the implementation of ROC et al. here with the one in scikit-learn, which is more general and robust. |
No description provided.
The text was updated successfully, but these errors were encountered: