Skip to content

Commit 3477615

Browse files
committed
fix power_analysis
1 parent c114c69 commit 3477615

2 files changed

Lines changed: 96 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# TFNBS Power Analysis Quick Test Configuration
2+
#
3+
# This is a minimal, fast config for sanity checks.
4+
# Run with: python examples/power_analysis.py --config examples/sweep_config_power_quick.yaml
5+
6+
effect_sizes:
7+
- 0.20
8+
- 0.30
9+
10+
n_samples: 20
11+
12+
sample_sizes:
13+
- 20
14+
- 30
15+
16+
effect_size: 0.25
17+
18+
scenarios:
19+
- fragmented_within_module
20+
- chain
21+
22+
23+
methods:
24+
- tstat
25+
- tfnbs
26+
- nbs_extent
27+
28+
# Method-specific options (not yet consumed by power_analysis.py)
29+
tfnbs_options:
30+
e: 0.5
31+
h: 2.0
32+
n_thresholds: 20
33+
start_thres: 1.65
34+
fbc_min_cluster_size: 3
35+
36+
nbs_options:
37+
threshold: 2.0
38+
39+
40+
n_repeats: 2
41+
n_permutations: 50
42+
alpha: 0.05
43+
44+
n_nodes: 30
45+
n_modules: 3
46+
47+
seed: 42
48+
use_mp: false
49+
50+
output_dir: results/power_analysis_quick
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# TFNBS Power Analysis Quick Config (TFNBS-only, parameter sweep)
2+
#
3+
# This config runs only TFNBS with a small sweep over (e, h).
4+
# Run with: python examples/power_analysis.py --config examples/sweep_config_power_quick_tfnbs.yaml
5+
6+
effect_sizes:
7+
- 0.20
8+
- 0.30
9+
10+
n_samples: 20
11+
12+
sample_sizes:
13+
- 20
14+
- 30
15+
16+
effect_size: 0.25
17+
18+
scenarios:
19+
- within_module_dense
20+
- chain
21+
22+
methods:
23+
- tfnbs
24+
25+
n_repeats: 2
26+
n_permutations: 50
27+
alpha: 0.05
28+
29+
n_nodes: 30
30+
n_modules: 3
31+
time_points: 30
32+
33+
seed: 42
34+
use_mp: false
35+
36+
tfnbs_options:
37+
e:
38+
- 0.4
39+
- 0.6
40+
h:
41+
- 1.0
42+
- 2.0
43+
n_thresholds: 10
44+
start_thres: 1.65
45+
46+
output_dir: results/power_analysis_quick_tfnbs

0 commit comments

Comments
 (0)