connectome-based predictive modeling
This is a repository for connectome-based predictive modeling based on ridge regression. Original implementation based in python, MATLAB, and C++ is provided in YaleMRRC.
python cpm.py
In this file all you need is to provide appropriate directories for your connectomes, behavioral values, and model.
[default]
model=cpm
database=abcd
task=rest1
iterations=10
[behavior]
abcd=/home/javid/datasets/data/abcd/all_behav.csv
[path]
abcd=/data_dustin/store4/Templates/ABCD/all_mats.mat
Output file is a simple csv file including cross-validation results for each iteration of your model.
0,-0.02839778149855917
1,-0.02839778149855917
2,-0.02839778149855917