Skip to main content

Simulations to identify the relationship structure among multiple datasets using Independent Vector Analysis

This package contains the code for reproducing the simulations of our paper:

Isabell Lehmann, Tanuj Hasija, Ben Gabrielson, M. A. B. S. Akhonda, Vince D. Calhoun, Tülay Adali, Identifying the Relationship Structure among Multiple Datasets Using Independent Vector Analysis: Application to Multi-task fMRI Data, submitted in 2023

Installing this Package

The only pre-requisite is to have Python 3 (version >=3.11) installed. This package can be installed (optionally in a virtual environment) with:

git clone https://github.com/SSTGroup/relationship_structure_identification
cd relationship_structure_identification
pip install -e .

Required third-party packages will automatically be installed.

Generating Simulations and Results

The simulated data is generated with:

cd relationship_structure_identification
python simulations.py @../simulations/simulation_parameters.txt

After running the code, the folder relationship_structure_identification/simulations will contain the generated .npy files, consisting of the true data and the estimated results for IVA-L-SOS, the bootstrap and the clustering, for each Monte-Carlo run.

Then, the performance metrics are calcuted with (from the relationship_structure_identification folder):

python performance_metrics.py @../simulations/performance_parameters.txt

The .npy files containing the performace metrics will also be saved in the simulations folder.

Visualizing Results

After having calculated the performance metrics, the boxplots can be generated by running the notebook. The metrics_rhoxx.npy files must be in the simulations folder.

Changing Parameters

By changing the scenario in parameters.txt, the simulations for different values of 'rho' are generated. The other parameters are set to the values according to the simulations in our paper. The default values can be changed by adding the parameters to the simulation_parameters.txt or performance_parameters.txt files.

Contact

In case of questions, suggestions, problems etc. please send an email to isabell.lehmann@sst.upb.de, or open an issue here on Github.

Citing

If you use this code in an academic paper, please cite [1]

@article{Lehmann2023,
  title   = {Identifying the Relationship Structure among Multiple Datasets Using Independent Vector Analysis: Application to Multi-task fMRI Data},
  author  = {Lehmann, Isabell and Hasija, Tanuj and Gabrielson, Ben and Akhonda, M. A. B. S. and Calhoun, Vince D. and Adali, T{\"u}lay},
  booktitle={tba},
  pages={tba},
  year={2023}
  } 

[1] Isabell Lehmann, Tanuj Hasija, et al., Identifying the Relationship Structure among Multiple Datasets Using Independent Vector Analysis: Application to Multi-task fMRI Data, submitted in 2023.

Metadata

Release files for relationship-structure-identification 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for relationship-structure-identification 0.0.1
File Size Uploaded
relationship_structure_identification-0.0.1.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for relationship-structure-identification 0.0.1
File Interpreter ABI Platform
relationship_structure_identification-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 25.5 kB

Release files / relationship_structure_identification-0.0.1.tar.gz

Download URL relationship_structure_identification-0.0.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f34678aff4969b617d6ab9711ad60404f227a57885f821f1301c97797ee8114c
BLAKE2b-256 checksum
How to use checksums
5d614128bdc00ff6ab03cc9b425ac5ae0bf65ad8bd6f3796e30e87f05d47c368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.10

Release files / relationship_structure_identification-0.0.1-py3-none-any.whl

Download URL relationship_structure_identification-0.0.1-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27fd68941da23361f9b10b214a800e368cdba1210c694d690bde72a689d16383
BLAKE2b-256 checksum
How to use checksums
d0a382b427875374d6d91f25e6084575154b9a7f2272146b879be9c700693d62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page