Closed GavinHuttley closed 1 week ago
This PR adds Python scripts and Jupyter notebooks for generating figures and analyzing results for the paper. The changes include scripts for benchmarking performance, evaluating clustering algorithms, and generating visualizations of the results.
classDiagram
class min_dist {
-dists
-num
+__init__(dists)
+__call__(names: list[str]) -> float
}
class compare_sets {
-dist_size: int
-dvgt
+__init__(app, dist_size: int)
+main(aln: c3_types.AlignedSeqsType) -> dict
}
class make_sample {
-pool_sizes: dict
-seq_len: int
+main(num: int) -> c3_types.UnalignedSeqsType
}
class seqcoll_to_records {
-k: int
+main(seqs: c3_types.UnalignedSeqsType) -> list[KmerSeq]
}
class true_positive {
-expected: set[str]
-label2pool: callable
-size: int
-stat: str
+main(records: list[KmerSeq]) -> bool
}
classDiagram
class make_sample {
-pool_sizes: dict
-seq_len: int
+main(num: int) -> c3_types.UnalignedSeqsType
}
class seqcoll_to_records {
-k: int
+main(seqs: c3_types.UnalignedSeqsType) -> list[KmerSeq]
}
class true_positive {
-expected: set[str]
-label2pool: callable
-size: int
-stat: str
+main(records: list[KmerSeq]) -> bool
}
class eval_condition {
-num_reps
-k
-repeats
-pools
+main(settings: tuple[str, str, int]) -> c3_types.TabularType
}
Change | Details | Files |
---|---|---|
Added scripts for benchmarking and performance evaluation |
|
paper/nbks/benchmark.py paper/nbks/benchmark_ctree.py |
Added scripts and notebooks for analyzing and visualizing results |
|
paper/nbks/jsd_v_dist.ipynb paper/nbks/plugin_demo.ipynb paper/nbks/benchmark.ipynb paper/nbks/ctree.ipynb |
Added supporting infrastructure for experiments |
|
paper/nbks/get_data_sets.py paper/nbks/project_path.py paper/figs/max.tex paper/figs/nmost.tex |
Added scripts for clustering tree experiments |
|
paper/nbks/ctree/experiment.py paper/nbks/ctree/iq_experiment.py paper/nbks/ctree/likelihoods.py |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 11770223146: | 0.0% |
Covered Lines: | 1190 |
Relevant Lines: | 1295 |
Summary by Sourcery
Lint and refactor paper scripts and notebooks to enhance code quality and maintainability, and add comprehensive documentation for the 'diverse-seq' application.
Enhancements:
Documentation: