Skip to content

idnavid/selectOrder_public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Select Order

Select the optimal order of latent variables for PCA/ICA/PPCA/PICA/CCA. This is a public version of the original repository selectOrder, which is private. I've added simple demos that use the functions. Please feel free to contact me for help on getting started. I'm happy to help.

This tool-box contains order selection algorithms for linear admixture models (see this link). Most existing methods are based on information-theoretic criteria, see this document and typically use the log-likelihood fucntion. The proposed algorithm used here is not based on the relatively complex likelihood function, and therefore has been shown to produce more consistent results.

Citations:

Please make sure to cite the our paper:

Seghouane, Shokouhi, "Consistent Esitmaiton of Dimensionality for Data Driven Methods in fMRI Analysis", IEEE Transactions on Medical Imaging, 2018.

Description

This repository contains code for two types of algorithms:

  • single-vector factor analysis models (e.g., PCA) Python and Matlab
  • double-vector analysis (e.g., CCA) Matlab

Python Requirements:

  • numpy, scipy

Additionally, for experiments on real FMRI data:

  • nipype (This automatically installs some pre-req modules, e.g., nibabel)
  • nilearn

Note: Installing nipype on Windows Anaconda is a bit tricky. This is because pip isn't able to directly install traits. The solution for me was to download the traits wheel from from here and then run

pip install <location of trait wheel file>.whl

Matlab Requirements:

  • Matlab version at the time of publishing this code was 2017b

For direction-of-arrival simulations in the CCA directory, I use doa-tools. You can find a forked version here in case @morriswmz changes the original.


Thanks for showing interest. For more code/projects, please visit my page.

NS, 2018

About

public version of selectOrder repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published