Skip to content

Implement Multiple Top-Level Seeds for Benchmark Generalization - #16

Merged
orabe merged 4 commits into
mainfrom
data/simulation
Jul 15, 2025
Merged

orabe merged 4 commits into
mainfrom
data/simulation

Conversation

@orabe

@orabe orabe commented Jul 15, 2025

Copy link
Copy Markdown
Collaborator

Closes #8

This PR addresses the need for improved benchmark generalization by implementing Multiple Top-Level Seeds functionality. Previously, the benchmark used a single primary seed, which limited the diversity of experimental conditions. This enhancement allows the entire benchmark process to be executed with different initial master seeds, ensuring varied sequences of data parameter combinations and source signal generation across different full benchmark executions.

Multiple Top-Level Seeds
n_runs = 2
├── global_seed (per run)
│   ├── trial_data_seeds (4 trials)
│   │   └── active_indices_seeds (~700 sources)
│   │       └── source_seed (ERP duration, start, noise)
│   └── trial_noise_seeds (4 trials)
│       └── noise_seed

Additional Improvements

Code Quality Enhancements

  • Removed obsolete figures and cleanup unused visualization code
  • Enhanced MNE info object handling for plotting compatibility
  • Improved error handling and validation
  • Better documentation and code comments

orabe added 4 commits June 26, 2025 16:11
- Standardized seed derivation for experiment, trial, and noise.
- Ensured independent random streams for data and noise in DataSimulator.
- Made seed usage explicit and in Benchmark and run_experiments.
- Updated DataSimulator, Benchmark, and run_experiments.py
@orabe
orabe merged commit 53c279c into main Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance Experiment Randomization with Multiple Seeds

1 participant