-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new distances * add tests * add kl-divergence * re-implement kl-divergence implement T-test statistic rename the distances * implement rbf and quadratic polynomial mmd distances * RTD config Signed-off-by: zethson <lukas.heumos@posteo.net> * RTD config Signed-off-by: zethson <lukas.heumos@posteo.net> * RTD config (#333) * RTD config Signed-off-by: zethson <lukas.heumos@posteo.net> * RTD config Signed-off-by: zethson <lukas.heumos@posteo.net> * RTD config Signed-off-by: zethson <lukas.heumos@posteo.net> * RTD config Signed-off-by: zethson <lukas.heumos@posteo.net> --------- Signed-off-by: zethson <lukas.heumos@posteo.net> * Add Negative Binomial NLL distance * speedup Signed-off-by: zethson <lukas.heumos@posteo.net> * Less aggressive subsampling Signed-off-by: zethson <lukas.heumos@posteo.net> * Conditional subsampling Signed-off-by: zethson <lukas.heumos@posteo.net> * Fix NBNLL * Enable counts_layer for Distances Signed-off-by: zethson <lukas.heumos@posteo.net> * Formatting Signed-off-by: zethson <lukas.heumos@posteo.net> * Fix test Signed-off-by: zethson <lukas.heumos@posteo.net> * Further distance fixes Signed-off-by: zethson <lukas.heumos@posteo.net> * Enable layers for DistanceTests Signed-off-by: zethson <lukas.heumos@posteo.net> * use future annotation imports Signed-off-by: zethson <lukas.heumos@posteo.net> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * bug fix, convert to distance, check sparse csr * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add test for sparse matrices * use the internal __call__ method in pairwise * rename nb-nll to nb-ll * rename distances + add epsilon to kl-divergance and t-test * fix * add mse distance * add Kendall Tau distance * [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 * Change handling of cell_wise_metric in distances Moved from argument to Distance class attribute. Affects how precomputed distances are stored and named. Changed metric used in Edistance to sqeuclidean as in original paper. Also fixed / added some tests. * Add fix again that was lost during merge resolve * Fix CINEMA OT test --------- Signed-off-by: zethson <lukas.heumos@posteo.net> Co-authored-by: zethson <lukas.heumos@posteo.net> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yuge Ji <di93zoj@cm2login1.cos.lrz.de> Co-authored-by: stefanpeidli <stefanpeidli@gmail.com>
- Loading branch information
1 parent
2308f58
commit 3a8e597
Showing
12 changed files
with
515 additions
and
111 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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.