-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addition of Metric Calculation Methods (#131)
* Added LiSi evaulation metric and helper methods in datastore * datastore.py: added metrics methods for lisi, silhouette, and integration (adjusted rand score, normalized mutual information score). Uses the latest knn location when calculating default. Provide all parameter otherwise. metrics.py: function for computing all scores. graph_datastore.py: rename functions * All: - Added DocString and typing datastore.py: - lisi: filtered metadata as per 'I' - doc strings and typing metrics.py: - formatted & typing tests: - Added test for metrics * comment cleanup * Added progress bar on Lisi * datastore.py: updated metric_lisi, metric_silhouette, and metric_integration to use latest KNN location and option to provide KNN location as input; assay.py and metrics.py: ruff formatting
- Loading branch information
1 parent
f686d09
commit 89a5149
Showing
5 changed files
with
773 additions
and
36 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
Oops, something went wrong.