Giter Site home page Giter Site logo

juaml / etspredict Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 484 KB

Github repository relating to preprint Intermediately Synchronised Brain States optimise trade-off between Subject Identifiability and Predictive Capacity

Home Page: https://www.biorxiv.org/content/10.1101/2022.09.30.510304v1

License: GNU General Public License v3.0

Python 99.36% Shell 0.64%

etspredict's Introduction

etspredict

Using edge time series to estimate FC at different levels of co-fluctuation for individual-level predictions

Set up environment

This project uses julearn for machine-learning and cross-validation. It is a library built on top of scikit-learn, and built with specific neuroscientific challenges such as cross-validation consistent deconfounding in mind. Check out its GitHub and documentation here:

The specific commit hash used is this one:

  • 6c94a2d3682799e74e99db184c713797b7094d22

Thus to use the same version, you should probably install from GitHub using this commit hash.

Make a virtual environment:

python3 -m venv /path/to/newvenv
source /path/to/newvenv/bin/activate

pip install -U pip

Then go to the location at which you want to install julearn:

git clone https://github.com/juaml/julearn.git
cd julearn
git checkout 6c94a2d3682799e74e99db184c713797b7094d22
pip install .

Afterwards you can install etspredict. Again, go to the location at which you want to install it. Then:

git clone https://github.com/juaml/etspredict.git
cd etspredict
pip insall -r requirements.txt
pip install .

In order to actually run code, you will need to obtain access to data from the human connectome project neuroimaging data and behavioural data (https://github.com/datalad-datasets/human-connectome-project-openaccess; https://db.humanconnectome.org/)

Denoised time series should be placed at etspredict/etspredict/data/hcp_ya and etspredict/etspredict/data/hcp_aging for the hcp young adult and aging datasets respectively.

etspredict's People

Contributors

lesasse avatar

Watchers

Fede Raimondo avatar Kaustubh Patil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.