lacomaofficial / Predicting-Age-from-fMRI

In this project, we work on resting-state fMRI data to predict age and investigate brain connectivity patterns.
0 stars 0 forks source link

Predicting Age from Resting-State fMRI

Overview

This project explores the use of resting-state functional Magnetic Resonance Imaging (fMRI) data to predict a subject's age and uncover brain connectivity patterns associated with aging.

  1. Data Acquisition: We utilized the Nilearn library to acquire resting-state fMRI data. The dataset was fetched and loaded into the project environment.

  2. Data Exploration: Extensive exploration of the dataset revealed valuable insights. We inspected the dataset's structure, checked for duplicate entries, explored data types, and identified any missing values. The target variable, 'Age,' was examined for its distribution and statistical characteristics.

  3. Feature Extraction: Brain connectivity features were extracted from the fMRI data using a predefined brain atlas. These features encapsulated the functional relationships between various brain regions, serving as the input for our predictive model.

  4. Data Preprocessing: To prepare the data for machine learning, we partitioned it into training and testing sets. Stratified splitting ensured that the age distribution remained consistent between the training and testing datasets.

  5. Model Building: We employed a Support Vector Regressor (SVR) model for age prediction. Through an exhaustive grid search, optimal hyperparameters for the SVR model were identified. Subsequently, the model was trained on the training dataset and evaluated on the testing dataset.

  6. Interpreting Model Results: The project culminated in the interpretation of the SVR model's outcomes. We delved into feature importance and visually explored the relationships between brain connectivity patterns and age.

Conclusion