Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add first functions * add hvg part1 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * reset to main for hvg * add support for hvg * first pass pca * pca update * fix bug with csc matrix * add dask to docs * add tests * update names * get docs to work * remove client from sparse calc * need dask for docs * add scale * int64 updates * For main branch * test docs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix import * fix rebase * (fix): use `to_delayed` and `from_delayed` to submit gram matrix jobs (#210) * (fix): use `to_delayed` and `from_delayed` to submit gram matrix jobs * (refactor): use `map_blocks` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): correct first dimension size * (fix): add `x` as arg * (fix): `ncols` usages * (fix): try mapping block from x * (fix): matrix creation + cleaner `map_blocks` * (fix): `len(blocks)` -> `num_blocks` * (fix): don't need `dask.delayed` decorator * (fix): try some debugging * (fix): use `cp.sum` * (fix): revert to `to_delayed` * (refactor): use `n_cols` * (fix): remove `client` * (fix): `client` doc --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Severin Dicks <[email protected]> * (fix): use `map_blocks` for job submission in `_get_target_sum_dask` + `_second_pass_qc` (#211) * (fix): use `to_delayed` and `from_delayed` to submit gram matrix jobs * (refactor): use `map_blocks` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): correct first dimension size * (fix): change normalization sum * (fix): add `x` as arg * (fix): `ncols` usages * (fix): try mapping block from x * (fix): use `X` directly to `map_blocks` * (fix): matrix creation + cleaner `map_blocks` * (fix): `len(blocks)` -> `num_blocks` * (fix): don't need `dask.delayed` decorator * (fix): try some debugging * (fix): use `cp.sum` * (fix): revert to `to_delayed` * (refactor): use `n_cols` * (fix): remove `num_blocks` * (fix): need to specify `drop_axis` for reduction * (fix): `map_blocks` for `_second_pass_qc_dask` * (fix): remove `client` * (chore): remove `client` * (chore): remove in tests * (fix): `client` doc * (fix): return client to test context --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Severin Dicks <[email protected]> * (fix): remove `extract_partitions` from `mean`/`var` calculation (#221) * (fix): use `to_delayed` and `from_delayed` to submit gram matrix jobs * (refactor): use `map_blocks` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): correct first dimension size * (fix): change normalization sum * (fix): add `x` as arg * (fix): `ncols` usages * (fix): try mapping block from x * (fix): use `X` directly to `map_blocks` * (fix): matrix creation + cleaner `map_blocks` * (fix): `len(blocks)` -> `num_blocks` * (fix): don't need `dask.delayed` decorator * (fix): try some debugging * (fix): use `cp.sum` * (fix): revert to `to_delayed` * (refactor): use `n_cols` * (fix): remove `num_blocks` * (fix): need to specify `drop_axis` for reduction * (fix): try splitting mean/var directly * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): `x` to `X` * (fix) correct import * (fix): `delayed` decorator * (fix): get axis right * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): ravel mean/var * (fix): too many mistakes to count * (feat): same for other axis * (fix): resolve all small tolerance differences * (fix): try splitting first * (fix): `compute` once * (fix): stack `mean`/`var` * (fix): use `float64` for mean-var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): remove unnecessary cast * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): add `dask` dep for major axis * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (refactor): use cleaner `zeros` * (fix): revert other `rtol` * (fix): remove last `extract_partitions` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): `map_blocks` for `_second_pass_qc_dask` * (fix): remove `client` * (fix): remove other instances * (fix): remove `client` * (chore): remove `client` * (chore): remove in tests * (fix): `client` doc * (fix): remove more `client` * (fix): return client to test context * (chore): re-add client * (fix): oops * (fiX): oops x 2 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Severin Dicks <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove client from hvg * remove client * remove client from scale * update to fast transform * (fix): `normalize_total` -> `log1p` -> `pca` with sparse (#217) * (fix): use `to_delayed` and `from_delayed` to submit gram matrix jobs * (refactor): use `map_blocks` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): correct first dimension size * (fix): change normalization sum * (fix): add `x` as arg * (fix): `ncols` usages * (fix): try mapping block from x * (fix): use `X` directly to `map_blocks` * (fix): matrix creation + cleaner `map_blocks` * (fix): `len(blocks)` -> `num_blocks` * (fix): don't need `dask.delayed` decorator * (fix): try some debugging * (fix): use `cp.sum` * (fix): revert to `to_delayed` * (refactor): use `n_cols` * (fix): remove `num_blocks` * (fix): need to specify `drop_axis` for reduction * (chore): add full pipline * (chore): use `cusparse` * (fix): use `scipy_sparse` * (fix): initialization * (fix): try splitting mean/var directly * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): `x` to `X` * (fix) correct import * (fix): `delayed` decorator * (fix): get axis right * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): ravel mean/var * (fix): too many mistakes to count * (feat): same for other axis * (fix): resolve all small tolerance differences * (fix): try splitting first * (fix): `compute` once * (fix): stack `mean`/`var` * (fix): use `float64` for mean-var * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): remove unnecessary cast * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): add `dask` dep for major axis * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (refactor): use cleaner `zeros` * (fix): revert other `rtol` * (fix): remove last `extract_partitions` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * (fix): `map_blocks` for `_second_pass_qc_dask` * (fix): remove `client` * (fix): remove other instances * (fix): remove `client` * (chore): remove `client` * (chore): remove in tests * (fix): `client` doc * (fix): remove more `client` * (fix): return client to test context * (chore): re-add client * (fix): oops * (fiX): oops x 2 * (chore): add dense test, which also doesn't work? * (fix): corect filtering * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Severin Dicks <[email protected]> * fix taskgraph * (feat): use `map_blocks` in gram matrix calculation and and `mean_var` (#230) * (feat): use `map_blocks` instead of `to_delayed` for `gram_matrix` * (feat): same for `mean/var` * (fix): correct shape * (fix): add new axis to `_mean_var_dense_dask` + remove `dask.delayed` * (fix): chunks shape * update pca * use lambda * remove unused kernel * test removed kernel * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add outside compute (#245) * update utils for lazy compute * update utils * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move test helpers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update typing * update normalize * go back to lambda * slim down tests * run tests on rapids-24.08 * compress hvg tests * remove .todelayed * remove dask.delayed * update qc * Update src/rapids_singlecell/preprocessing/_pca.py Co-authored-by: Philipp A. <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update src/rapids_singlecell/preprocessing/_scale.py Co-authored-by: Philipp A. <[email protected]> * add error * update tree pca * Update src/rapids_singlecell/preprocessing/_scale.py Co-authored-by: Ilan Gold <[email protected]> * add note * dask import * update qc names * update * update _check_gpu_X * update docs * docs update * make sure dtype is correct PCA * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add update * Update src/rapids_singlecell/preprocessing/_hvg.py Co-authored-by: Philipp A. <[email protected]> * add log1p wraper * fix updating var with hvg multibatch * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: dicks1 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ilan Gold <[email protected]> Co-authored-by: Phil Schaf <[email protected]>
- Loading branch information