function abcdFinal_github clear set_path; cfg.idf = 'no_anom_new_common_bmi'; % If you use this identifier, the data % should be added inside the data/no_anom_new_common_bmi folder. cfg.dir.project = '/path_to_your_main_project_folder/abcdAll_noA'; % THIS NEEDS CHANGING cfg.frwork.flag = '_fair_modeA_pub_noAnom_new_common_bmi'; % this is just a flag, feel free to change it. cfg.data.block = 1; cfg.frwork.split.EBcol = 2:3; cfg.machine.param.nL1x = 20; cfg.machine.param.nL1y = 20; cfg.frwork.split.nin = 5; cfg.frwork.split.nout = 1; cfg.frwork.split.propout = 0.2; cfg.stat.nperm = 500; cfg.frwork.name = 'fair'; % in the fair framework, we have mutually exclusive test sets (nout many and with propout % proportion) with corresponding training sets (nout many and with the % remaining subjects). the inner folds are regular CV's with nin many sets. % Machine settings cfg.machine.name = 'spls'; cfg.machine.metric = {'correl' 'simwx' 'simwy'}; cfg.machine.param.crit = 'correl+simwxy'; % Environment settings cfg.env.comp = 'cluster'; % Deflation settings cfg.defl.name = 'pls-modeA'; cfg.defl.crit = 'none'; cfg.defl.split = 'all'; % Statistical inference cfg.stat.split.crit = 'correl'; cfg.stat.overall.crit = 'none'; % Deconfounding & Preprocessing Order cfg.data.conf = 1; cfg.data.X.preproc = {'impute', 'deconf', 'zscore'}; cfg.data.Y.preproc = {'impute', 'deconf', 'zscore'}; % Update cfg with defaults cfg = cfg_defaults(cfg); %----- Run analysis main(cfg);