One of the hallmarks of inter-regional functional coupling (IRFC) using fMRI is the distinctive and reproducible community structure that emerges after partitioning voxels into regions and regions into large scale sub-networks such as that of Yeo et. al. 2011. To the extent that IRFC in functional brain networks from any modality reects capacity for neurophysiological communication, the strength of coupling between two large scale communities, such as the default mode sub-network (DMN) and fronto-parietal control sub-network (FPN) in Fig 1a., is a vital index of possible reconguration of community structure. Changes to community strength may vary between individuals on the healthy to ill spectrum and vary within individuals across mental states or in response to brain stimulation. In this work, we provide a novel measure of community strength, higher order clique conductance (HOCC), inspired by Benson 2016 that takes not only connections but maximal cliques of size k>2 (Fig 1c.) into account. Results from app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%THIS FILE GRAPHS PARAMETER SPACE FROM TWIN DATA SETS | |
%%%WHENEVER CV(DZ)/CV(MZ)>1/2 | |
% | |
% All parameter sets within this space are mathematically equally likely | |
% but are not necessarily biologically equally likely | |
% | |
% By Matt Keller | |
% Nov 26, 2004 | |
% | |
% For more explanation, see: |
- Classy theme
- Particularly clean and minimalist, in black & white
- Young metro
- Yeast theme
- Metropolis theme
- Metropolis owl
- ETH metropolis has nice high contrast colors.
- HSRM theme
- Material Design
- Modified
Canonical Correlation Analysis is a dimensionality reduction technique to find the subspace that maximizes the correlation between two sets of multivariate features X
and Y
that share the same number of rows or observations.
Since CCA is a supervised technique it is easy to obtain extremely high canonical correlations that might not generalize due to overfitting.
The script sample_canonical_correlations.m
is designed to investigate out-of-sample canonical correlations. If one partitions the number of rows/observations into training and test sets, then one can
-
- do ordinary CCA on the training set
-
- use the canonical variates from the training set to obtain out-of-sample canonical correlations on the test set
-
- Compare in-sample vs. out-of-sample canonical correlations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [ D ] = hoeffdingsD( x, y ) | |
%Compute's Hoeffding's D measure of dependence between x and y | |
% inputs x and y are both N x 1 arrays | |
% output D is a scalar | |
% The formula for Hoeffding's D is taken from | |
% http://support.sas.com/documentation/cdl/en/procstat/63104/HTML/default/viewer.htm#procstat_corr_sect016.htm | |
% Below is demonstration code for several types of dependencies. | |
% Implementation by Jascha https://stackoverflow.com/a/9322657 | |
% | |
% % this case should be 0 - there are no dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "ds000031 example", | |
"description": "An example of connectivity analysis using ds000031", | |
"input": | |
{ | |
"task": "rest" | |
}, | |
"blocks": [ | |
{ | |
"level": "run", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [cca_rho cca_v cca_cv] = sample_canonical_correlation(X,Y,varargin) | |
% SAMPLE_CANONICAL_CORRELATION | |
% | |
% Usage: [rho] = sample_canonical_correlation(X,Y, R_X, R_Y) | |
% | |
% Inputs: | |
% - X is the test set data matrix of n_samples x p features | |
% - Y is the test set data matrix of n_samples x r features | |
% - options.W_X is the linear projection matrix for X | |
% - options.W_Y is a linear projection matrix for Y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import numpy as np | |
from skopt.space import Real, Categorical, Integer | |
from skopt import BayesSearchCV | |
from sklearn.grid_search import GridSearchCV | |
from sklearn.datasets import make_sparse_spd_matrix | |
from sklearn.model_selection import train_test_split | |
from sklearn.metrics import make_scorer |
NewerOlder