-
Notifications
You must be signed in to change notification settings - Fork 595
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
Move scrublet out of external
#2703
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2703 +/- ##
==========================================
+ Coverage 72.85% 74.08% +1.22%
==========================================
Files 111 115 +4
Lines 12383 12616 +233
==========================================
+ Hits 9022 9346 +324
+ Misses 3361 3270 -91
|
92999cf
to
e3534d5
Compare
3e63c8c
to
96bdbd1
Compare
8665dfc
to
7de972f
Compare
some preliminary stats about the three versions: https://gist.github.com/flying-sheep/ecd20674bdcd1839d0bb7c16f67794cf#file-scrublet-bench-ipynb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general I have lots of comments, but a lot of the code is copy-paste and I think that this approach is not a bad idea. I think a follow-up refactor is needed. I also am not a fan of the original design of editing things in place. So I would be happy to review a follow up PR but I think that can be done separately.
Co-authored-by: Ilan Gold <[email protected]>
Docs:
How to review this PR
I made tests quantitative before this PR, so note that the only change that modified tests is 42143d8.
In that PR, I make it so there are no longer any duplicate simulated doublets being created. This is necessary to be able to support any neighborhood detection algorithm. I also feel like it makes more sense. This is the only algorithmic change to upstream. Please use your own judgement to check if this makes sense to you.
TODO:
scanpy/scanpy/preprocessing/_scrublet/__init__.py
Lines 415 to 417 in bf5f1f9