Tables and Figures (Notebook)
from pathlib import Path
from encoders.tables import gt_regression_params, gt_software_practices
from encoders.plot import plot_figure1
from encoders.utils import load_config
from matplotlib import pyplot as plt
Tables¶
The cells below render the imported tables.
gt_regression_params
Loading...
gt_software_practices
Loading...
Figures¶
Below we use encoders.plots.plot_figure1
to reproduce plots that were shown in Figure 1
Figure 1¶
%matplotlib agg
RUNS_DIR = load_config()["RUNS_DIR"]
figs = plot_figure1(
reproduction_dir=Path(RUNS_DIR, "reproduction"),
replication_ridgeCV_dir=Path(RUNS_DIR, "replication_ridgeCV"),
save_figures=False,
save_path=None,
)
Loading...
Reproduction (Panel B)¶
figs[0] # render first figure

figs[2] # render the brain plot

Replication (Panel C)¶
figs[1]

figs[3]
