-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
8 changed files
with
247 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.