radiomics icon indicating copy to clipboard operation
radiomics copied to clipboard

calcAllFeatureSets_batchLGG :Undefined function or variable 'batchExperiments'.

Open guangzhaohui opened this issue 6 years ago • 1 comments

I run LGG_study masterScript_LGG on OS matlab_R17a run ,as your INSTRUCTIONS,it goes on well ,untill

% A.2 PERFORM FEATURE SET REDUCTION FROM TRAINING SETS tic, fprintf('\n--> PERFORMING FEATURE SET REDUCTION FROM THE TRAINING SETS WITH %u CORES ... ',nBatch) calcAllFeatureSets_batchLGG(pathMINE,pathLR,setSize,alpha,delta,nBoot,nBatch,matlabPATH,seeds(1))

Matlab Window: --> PERFORMING FEATURE SET REDUCTION FROM THE TRAINING SETS WITH 8 CORES ... Undefined function or variable 'batchExperiments'.

Error in calcAllFeatureSets_batchLGG (line 82) [param] = batchExperiments(setNames,outcomes,nBatch); nBatch = length(param);

Could you please give me a help ? thanks!!!

guangzhaohui avatar Oct 30 '18 13:10 guangzhaohui

Hi,

Thanks for your interest in our study.

I believe your MATLAB path may not be set up properly. Make sure to set all paths according to step 3 of the instructions:

Set up the MATLAB path to contain all sub-folders of the folder 'Functions of this study (ref. [1]), and all sub-folders of the folders 'MultivariableModeling', 'NontextureFeatures', 'TextureToolbox' and 'Utilities' of the https://github.com/mvallieres/radiomics/ package.

The function batchExperiments is found here (https://github.com/mvallieres/radiomics/blob/master/MultivariableModeling/Utilities/batch/batchExperiments.m), and it is probably not in your MATLAB path at the moment.

Thanks, Martin

mvallieres avatar Oct 30 '18 17:10 mvallieres