Repository navigation
Optimise PC regression - #408
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #408 +/- ##
==========================================
+ Coverage 58.01% 58.93% +0.91%
==========================================
Files 22 22
Lines 1646 1690 +44
==========================================
+ Hits 955 996 +41
- Misses 691 694 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
VladimirShitov
left a comment
There was a problem hiding this comment.
Overall, looks super nice. Sometimes, the code is unclear. I left some comments on potential improvements :)
VladimirShitov
left a comment
There was a problem hiding this comment.
Looks great to me :)
VladimirShitov
left a comment
There was a problem hiding this comment.
Looks good in general :) I left a few questions
mumichae
left a comment
There was a problem hiding this comment.
Thanks, I addressed your comments, but only changed the linear regression part to use multiple regression. According to my tests the output is sufficiently similar
* add numpy linreg function and use in pcr * allow configuring linreg method for pcr methods * simplify numpy linreg function * add tests for different linreg implementations * set PCA recomputation to False by default * use multithreading for linear regression and add tdqm * add durations to test command * add durations flag to pytest command * add min duration flag * add comments for ThreadPoolExecutore run * allow to specify n_threads and linreg algorithm * add keywords to cell cycle scoring * add multiple threading in pcr test * use nanmean * test cell cycle score with numpy linreg * use more memory-efficient implementation of ThreadPool * fix cases where there are no residuals * allow to configure svd_solver * use multiple linear regression and remove multithreading approach * use pcr score from numpy exact OLS implementation * remove testing code * include old pcr implementation * Update scib/metrics/cell_cycle.py * change default to numpy
No description provided.