bella-companion 0.0.42__tar.gz → 0.0.44__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bella-companion might be problematic. Click here for more details.
- {bella_companion-0.0.42 → bella_companion-0.0.44}/PKG-INFO +1 -1
- bella_companion-0.0.44/bella_companion/BELLA.jar +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/cli.py +12 -0
- bella_companion-0.0.44/bella_companion/simulations/figures/__init__.py +13 -0
- bella_companion-0.0.42/bella_companion/simulations/figures/epi_skyline_results.py → bella_companion-0.0.44/bella_companion/simulations/figures/epi_skyline.py +6 -7
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/explain/shap.py +13 -7
- bella_companion-0.0.42/bella_companion/simulations/figures/fbd_no_traits_results.py → bella_companion-0.0.44/bella_companion/simulations/figures/fbd_no_traits.py +5 -5
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/metrics.py +3 -2
- bella_companion-0.0.44/bella_companion/version.xml +13 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion.egg-info/PKG-INFO +1 -1
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion.egg-info/SOURCES.txt +6 -4
- {bella_companion-0.0.42 → bella_companion-0.0.44}/pyproject.toml +4 -1
- bella_companion-0.0.42/bella_companion/simulations/figures/__init__.py +0 -21
- {bella_companion-0.0.42 → bella_companion-0.0.44}/README.md +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/__init__.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/__init__.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/beast_configs/GLM.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/beast_configs/MLP.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/beast_configs/Nonparametric.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/case_data.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/change_dates.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/msa.fasta +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/osi.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/closedborders_7e_nt.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/dist_7e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/flight_7e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/flight_pop_x_7e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/osi_x_7e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/osi_y_7e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/pop_x_7e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/pop_y_7e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/all/sharedborders_7e_nt.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/changetimes_all_7e.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/changetimes_flights_4e.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/predictors/flight_pop_x_4e_ls.tsv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/run_beast.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/__init__.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/beast_config.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/data/change_times.csv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/data/traits.csv +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/data/trees.nwk +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/results.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/run_beast.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/summarize_logs.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/__init__.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/epi-multitype/GLM.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/epi-multitype/MLP.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/epi-multitype/Nonparametric.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/epi-skyline/GLM.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/epi-skyline/MLP.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/epi-skyline/Nonparametric.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/fbd-2traits/GLM.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/fbd-2traits/MLP.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/fbd-2traits/Nonparametric.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/fbd-no-traits/GLM.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/fbd-no-traits/MLP.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/beast_configs/fbd-no-traits/Nonparametric.xml +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/features.py +0 -0
- bella_companion-0.0.42/bella_companion/simulations/figures/epi_multitype_results.py → bella_companion-0.0.44/bella_companion/simulations/figures/epi_multitype.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/explain/__init__.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/explain/pdp.py +0 -0
- bella_companion-0.0.42/bella_companion/simulations/figures/fbd_2traits_results.py → bella_companion-0.0.44/bella_companion/simulations/figures/fbd_2traits.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/scenarios.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/utils.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/generate_data.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/generate_figures.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/run_beast.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/__init__.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/common.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/epi_multitype.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/epi_skyline.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/fbd_2traits.py +1 -1
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/fbd_no_traits.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/scenario.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/summarize_logs.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/utils/__init__.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/utils/beast.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/utils/explain.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/utils/slurm.py +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion.egg-info/dependency_links.txt +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion.egg-info/entry_points.txt +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion.egg-info/requires.txt +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion.egg-info/top_level.txt +0 -0
- {bella_companion-0.0.42 → bella_companion-0.0.44}/setup.cfg +0 -0
|
Binary file
|
|
@@ -15,6 +15,18 @@ from bella_companion.simulations import summarize_logs as summarize_simulations
|
|
|
15
15
|
|
|
16
16
|
def main():
|
|
17
17
|
load_dotenv(Path(os.getcwd()) / ".env")
|
|
18
|
+
os.environ["BELLA_RUN_BEAST_CMD"] = " ".join(
|
|
19
|
+
[
|
|
20
|
+
"java",
|
|
21
|
+
os.getenv("JAVA_OPTIONS", ""),
|
|
22
|
+
f"-jar {Path(__file__).parent / 'BELLA.jar'}",
|
|
23
|
+
f"-version_file {Path(__file__).parent / 'version.xml'}",
|
|
24
|
+
"-seed 42",
|
|
25
|
+
"-overwrite",
|
|
26
|
+
"-statefile /tmp/state",
|
|
27
|
+
"-DFout /dev/null",
|
|
28
|
+
]
|
|
29
|
+
)
|
|
18
30
|
|
|
19
31
|
parser = argparse.ArgumentParser(
|
|
20
32
|
prog="bella",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from bella_companion.simulations.figures.epi_multitype import plot_epi_multitype_results
|
|
2
|
+
from bella_companion.simulations.figures.epi_skyline import plot_epi_skyline_results
|
|
3
|
+
from bella_companion.simulations.figures.fbd_2traits import plot_fbd_2traits_results
|
|
4
|
+
from bella_companion.simulations.figures.fbd_no_traits import plot_fbd_no_traits_results
|
|
5
|
+
from bella_companion.simulations.figures.scenarios import plot_scenarios
|
|
6
|
+
|
|
7
|
+
__all__ = [
|
|
8
|
+
"plot_epi_multitype_results",
|
|
9
|
+
"plot_epi_skyline_results",
|
|
10
|
+
"plot_fbd_2traits_results",
|
|
11
|
+
"plot_fbd_no_traits_results",
|
|
12
|
+
"plot_scenarios",
|
|
13
|
+
]
|
|
@@ -14,8 +14,7 @@ from bella_companion.simulations.scenarios.epi_skyline import REPRODUCTION_NUMBE
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def plot_epi_skyline_results():
|
|
17
|
-
|
|
18
|
-
os.makedirs(output_dir, exist_ok=True)
|
|
17
|
+
base_output_dir = Path(os.environ["BELLA_FIGURES_DIR"]) / "epi-skyline"
|
|
19
18
|
|
|
20
19
|
for i, reproduction_number in enumerate(REPRODUCTION_NUMBERS, start=1):
|
|
21
20
|
summaries_dir = Path(os.environ["BELLA_LOG_SUMMARIES_DIR"]) / f"epi-skyline_{i}"
|
|
@@ -26,6 +25,8 @@ def plot_epi_skyline_results():
|
|
|
26
25
|
}
|
|
27
26
|
true_values = {"reproductionNumberSP": reproduction_number}
|
|
28
27
|
|
|
28
|
+
output_dir = base_output_dir / str(i)
|
|
29
|
+
os.makedirs(output_dir, exist_ok=True)
|
|
29
30
|
for log_summary in logs_summaries.values():
|
|
30
31
|
step(
|
|
31
32
|
[
|
|
@@ -35,12 +36,10 @@ def plot_epi_skyline_results():
|
|
|
35
36
|
)
|
|
36
37
|
step(reproduction_number, color="k", linestyle="--")
|
|
37
38
|
plt.ylabel("Reproduction number") # pyright: ignore
|
|
38
|
-
plt.savefig(output_dir /
|
|
39
|
+
plt.savefig(output_dir / "predictions.svg") # pyright: ignore
|
|
39
40
|
plt.close()
|
|
40
41
|
|
|
41
42
|
plot_coverage_per_time_bin(
|
|
42
|
-
logs_summaries, true_values, output_dir /
|
|
43
|
-
)
|
|
44
|
-
plot_maes_per_time_bin(
|
|
45
|
-
logs_summaries, true_values, output_dir / f"maes-{i}.svg"
|
|
43
|
+
logs_summaries, true_values, output_dir / "coverage.svg"
|
|
46
44
|
)
|
|
45
|
+
plot_maes_per_time_bin(logs_summaries, true_values, output_dir / "maes.svg")
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from functools import partial
|
|
2
2
|
from itertools import product
|
|
3
3
|
from pathlib import Path
|
|
4
|
+
from typing import Callable
|
|
4
5
|
|
|
5
6
|
import matplotlib.pyplot as plt
|
|
6
7
|
import numpy as np
|
|
@@ -43,13 +44,18 @@ def plot_shap_features_importance(
|
|
|
43
44
|
) # shape: (n_runs, n_features)
|
|
44
45
|
features_importances /= features_importances.sum(axis=1, keepdims=True)
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
def _plot_violins(group_check: Callable[[Feature], bool]):
|
|
48
|
+
for i, (feature_name, feature) in enumerate(features.items()):
|
|
49
|
+
if group_check(feature):
|
|
50
|
+
sns.violinplot(
|
|
51
|
+
y=features_importances[:, i],
|
|
52
|
+
x=[feature_name] * len(features_importances),
|
|
53
|
+
cut=0,
|
|
54
|
+
color="#E74C3C" if feature.is_relevant else "gray",
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
_plot_violins(lambda f: not f.is_binary)
|
|
58
|
+
_plot_violins(lambda f: f.is_binary)
|
|
53
59
|
plt.xlabel("Feature") # pyright: ignore
|
|
54
60
|
plt.ylabel("Importance") # pyright: ignore
|
|
55
61
|
plt.savefig(output_file) # pyright: ignore
|
|
@@ -14,8 +14,7 @@ from bella_companion.simulations.scenarios.fbd_no_traits import RATES
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def plot_fbd_no_traits_results():
|
|
17
|
-
|
|
18
|
-
os.makedirs(output_dir, exist_ok=True)
|
|
17
|
+
base_output = Path(os.environ["BELLA_FIGURES_DIR"]) / "fbd-no-traits"
|
|
19
18
|
|
|
20
19
|
for i, rates in enumerate(RATES, start=1):
|
|
21
20
|
summaries_dir = (
|
|
@@ -28,6 +27,7 @@ def plot_fbd_no_traits_results():
|
|
|
28
27
|
}
|
|
29
28
|
true_values = {"birthRateSP": rates["birth"], "deathRateSP": rates["death"]}
|
|
30
29
|
|
|
30
|
+
output_dir = base_output / str(i)
|
|
31
31
|
for id, rate in true_values.items():
|
|
32
32
|
for log_summary in logs_summaries.values():
|
|
33
33
|
step(
|
|
@@ -41,18 +41,18 @@ def plot_fbd_no_traits_results():
|
|
|
41
41
|
plt.ylabel( # pyright: ignore
|
|
42
42
|
r"$\lambda$" if id == "birthRateSP" else r"$\mu$"
|
|
43
43
|
)
|
|
44
|
-
plt.savefig(output_dir / f"{id}-predictions
|
|
44
|
+
plt.savefig(output_dir / f"{id}-predictions.svg") # pyright: ignore
|
|
45
45
|
plt.close()
|
|
46
46
|
|
|
47
47
|
plot_coverage_per_time_bin(
|
|
48
48
|
logs_summaries,
|
|
49
49
|
true_values,
|
|
50
|
-
output_dir /
|
|
50
|
+
output_dir / "coverage.svg",
|
|
51
51
|
reverse_xticks=True,
|
|
52
52
|
)
|
|
53
53
|
plot_maes_per_time_bin(
|
|
54
54
|
logs_summaries,
|
|
55
55
|
true_values,
|
|
56
|
-
output_dir /
|
|
56
|
+
output_dir / "maes.svg",
|
|
57
57
|
reverse_xticks=True,
|
|
58
58
|
)
|
|
@@ -36,9 +36,10 @@ def _avg_ci_width(summary: pl.DataFrame, true_values: dict[str, float]) -> float
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
def print_metrics():
|
|
39
|
+
base_summaries_dir = Path(os.environ["BELLA_LOG_SUMMARIES_DIR"])
|
|
39
40
|
metrics = {}
|
|
40
41
|
for name, scenario in SCENARIOS.items():
|
|
41
|
-
summaries_dir =
|
|
42
|
+
summaries_dir = base_summaries_dir / name
|
|
42
43
|
summaries = {
|
|
43
44
|
Path(log_summary).stem: pl.read_csv(log_summary)
|
|
44
45
|
for log_summary in glob(str(summaries_dir / "*.csv"))
|
|
@@ -54,5 +55,5 @@ def print_metrics():
|
|
|
54
55
|
}
|
|
55
56
|
for target, true_values in scenario.targets.items()
|
|
56
57
|
}
|
|
57
|
-
with open("
|
|
58
|
+
with open(base_summaries_dir / "sim-metrics.json", "w") as f:
|
|
58
59
|
json.dump(metrics, f)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<addon name='BELLA' version='0.0.1'>
|
|
2
|
+
<depends on="BEAST.base" atleast="2.7.0" atmost="2.7.9"/>
|
|
3
|
+
<depends on="BEAST.app" atleast="2.7.0" atmost="2.7.9"/>
|
|
4
|
+
|
|
5
|
+
<service type="beast.base.core.BEASTInterface">
|
|
6
|
+
<provider classname="bella.BayesMLP"/>
|
|
7
|
+
<provider classname="bella.ReLu"/>
|
|
8
|
+
<provider classname="bella.SoftPlus"/>
|
|
9
|
+
<provider classname="bella.Sigmoid"/>
|
|
10
|
+
<provider classname="bella.Tanh"/>
|
|
11
|
+
<provider classname="bella.SkylineNodeTreeLogger"/>
|
|
12
|
+
</service>
|
|
13
|
+
</addon>
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
README.md
|
|
2
2
|
pyproject.toml
|
|
3
|
+
bella_companion/BELLA.jar
|
|
3
4
|
bella_companion/__init__.py
|
|
4
5
|
bella_companion/cli.py
|
|
6
|
+
bella_companion/version.xml
|
|
5
7
|
bella_companion.egg-info/PKG-INFO
|
|
6
8
|
bella_companion.egg-info/SOURCES.txt
|
|
7
9
|
bella_companion.egg-info/dependency_links.txt
|
|
@@ -57,10 +59,10 @@ bella_companion/simulations/beast_configs/fbd-no-traits/GLM.xml
|
|
|
57
59
|
bella_companion/simulations/beast_configs/fbd-no-traits/MLP.xml
|
|
58
60
|
bella_companion/simulations/beast_configs/fbd-no-traits/Nonparametric.xml
|
|
59
61
|
bella_companion/simulations/figures/__init__.py
|
|
60
|
-
bella_companion/simulations/figures/
|
|
61
|
-
bella_companion/simulations/figures/
|
|
62
|
-
bella_companion/simulations/figures/
|
|
63
|
-
bella_companion/simulations/figures/
|
|
62
|
+
bella_companion/simulations/figures/epi_multitype.py
|
|
63
|
+
bella_companion/simulations/figures/epi_skyline.py
|
|
64
|
+
bella_companion/simulations/figures/fbd_2traits.py
|
|
65
|
+
bella_companion/simulations/figures/fbd_no_traits.py
|
|
64
66
|
bella_companion/simulations/figures/scenarios.py
|
|
65
67
|
bella_companion/simulations/figures/utils.py
|
|
66
68
|
bella_companion/simulations/figures/explain/__init__.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "bella-companion"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.44"
|
|
4
4
|
description = "Add your description here"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -28,5 +28,8 @@ bella = "bella_companion.cli:main"
|
|
|
28
28
|
requires = ["setuptools>=42"]
|
|
29
29
|
build-backend = "setuptools.build_meta"
|
|
30
30
|
|
|
31
|
+
[tool.setuptools]
|
|
32
|
+
packages = ["bella_companion"]
|
|
33
|
+
|
|
31
34
|
[tool.setuptools.package-data]
|
|
32
35
|
bella_companion = ["**/*"]
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
from bella_companion.simulations.figures.epi_multitype_results import (
|
|
2
|
-
plot_epi_multitype_results,
|
|
3
|
-
)
|
|
4
|
-
from bella_companion.simulations.figures.epi_skyline_results import (
|
|
5
|
-
plot_epi_skyline_results,
|
|
6
|
-
)
|
|
7
|
-
from bella_companion.simulations.figures.fbd_2traits_results import (
|
|
8
|
-
plot_fbd_2traits_results,
|
|
9
|
-
)
|
|
10
|
-
from bella_companion.simulations.figures.fbd_no_traits_results import (
|
|
11
|
-
plot_fbd_no_traits_results,
|
|
12
|
-
)
|
|
13
|
-
from bella_companion.simulations.figures.scenarios import plot_scenarios
|
|
14
|
-
|
|
15
|
-
__all__ = [
|
|
16
|
-
"plot_epi_multitype_results",
|
|
17
|
-
"plot_epi_skyline_results",
|
|
18
|
-
"plot_fbd_2traits_results",
|
|
19
|
-
"plot_fbd_no_traits_results",
|
|
20
|
-
"plot_scenarios",
|
|
21
|
-
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/beast_configs/GLM.xml
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/beast_configs/MLP.xml
RENAMED
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/case_data.tsv
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/eucovid/data/change_dates.tsv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/beast_config.xml
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/data/change_times.csv
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/data/traits.csv
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/data/trees.nwk
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/platyrrhine/summarize_logs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/explain/pdp.py
RENAMED
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/scenarios.py
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/figures/utils.py
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/generate_data.py
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/generate_figures.py
RENAMED
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/__init__.py
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/common.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -89,9 +89,9 @@ SCENARIO = Scenario(
|
|
|
89
89
|
features={
|
|
90
90
|
f"{rate}Rate": {
|
|
91
91
|
"timePredictor": Feature(is_binary=False, is_relevant=True),
|
|
92
|
-
"randomPredictor": Feature(is_binary=False, is_relevant=False),
|
|
93
92
|
"trait1Predictor": Feature(is_binary=True, is_relevant=True),
|
|
94
93
|
"trait2Predictor": Feature(is_binary=True, is_relevant=False),
|
|
94
|
+
"randomPredictor": Feature(is_binary=False, is_relevant=False),
|
|
95
95
|
}
|
|
96
96
|
for rate in RATES
|
|
97
97
|
},
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/scenarios/scenario.py
RENAMED
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion/simulations/summarize_logs.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bella_companion-0.0.42 → bella_companion-0.0.44}/bella_companion.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|