Skip to content

Commit

Permalink
added resource usage md
Browse files Browse the repository at this point in the history
  • Loading branch information
macelik committed Feb 27, 2024
1 parent ade7f91 commit d91e94a
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 178 deletions.
4 changes: 4 additions & 0 deletions src/method_comparison/resource_usage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Resource Usage

**algorithm_resource_usage:** scripts for supsampling the datasets and running each algorithm.
**db_building_resource_usage:** scripts to measure database building
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Resource Usage: Algorithms

Within each directory named after the tool, you'll find measurements obtained from [psrecord](https://github.com/astrofrog/psrecord) for subsampled data. The subsampling directory contains scripts for data splitting and running each tool.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ if [ "$1" == "--lasry" ]; then

# jupyter run /src/method_comparison/compare_algorithms/run_CellPhoneDB/run_algorithm/run_CPDB_Lasry.ipynb
# ./src/method_comparison/compare_algorithms/run_CellPhoneDB/run_algorithm/runCPDB_Lasry.sh
elif [ "$1" == "--hourigan" ]; then
download_raw_data "Hourigan"
else
echo "Usage: $0 [--lasry | --hourigan]"
exit 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Resource Usage: Algorithms

To begin, we use the `split.py` script to subsample the data. This script takes the directory of the count matrix and splits it into smaller subsets under the given output directory.

Below is the detailed information on splitting:



| Tool | Subsampling Configurations |
|-----------------|--------------------------------------------------------------|
| Lasry | 3 case, 3 control <br> 7 case, 6 control |
| Simillie | 3 case, 3 control <br> 7 case, 6 control <br> 10 case, 12 control <br> 17 case, 11 control |
| vanGalen_Oetjen | 3 case, 3 control <br> 7 case, 6 control <br> 9 case, 10 control <br> 24 case, 9 control |

This file was deleted.

This file was deleted.

0 comments on commit d91e94a

Please sign in to comment.