-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Remove dependency on scikit-learn #321
Conversation
Thanks; this looks good to me. It looks to me like the existing code in I would assume that the new version is in fact what @cx1111 originally intended, and hopefully should improve the overall specificity of the algorithm. But, Chen, do you think this is okay or should be tested more? |
For the old version of XQRS, over mitdb:
For the new version:
(Total false positives decreased from 237 to 216, false negatives increased from 592 to 888.) Not great but not terrible, and might be useful sometimes. The old behavior is equivalent to setting the config parameter
So if we wanted to keep the old behavior by default we could just set the default |
Thanks for the benchmark @bemoody! |
Looks good, thanks!
|
Thanks! |
As far as I can tell,
scikit-learn
is only used in the module processing.qrs. The two uses of the imported functionnormalize
could be handled by a simple implementation inwfdb
. This would allowwfdb
to removescikit-learn
as a requirement and speed up the import time ofwfdb.processing
.