Commit 0a54b0f9 authored by Jens Behrmann's avatar Jens Behrmann

Delete copyMSFiles.m~

parent e9663006
% This file can be used to copy current implementations of the reduced
% MSClassifyLib into some desired folder
fullMSPath = '~/Arbeit/MSClassifyLib/MSClassifyLib/';
targetPath = '~/Arbeit/ReducedClassifyLib/'
%%%% Core
core = dir([fullMSPath 'Core/']);
clear coreFiles
for l=3:length(core)
coreFiles{l-2} = core(l).name;
end
for i=1:length(coreFiles)
coreFiles{i} = ['Core/' coreFiles{i}];
end
%%%% Classification
classification = {'Classification/MSLDAClassifier.m',...
'Classification/MSLDAModel.m'};
%%%% Classification study
study = dir([fullMSPath 'ClassificationValidation/']);
clear studyFiles
for l=3:length(study)
studyFiles{l-2} = study(l).name;
end
for i=1:length(studyFiles)
studyFiles{i} = ['ClassificationValidation/' studyFiles{i}];
end
%%%% Feature Extraction
featureExtraction = {'MSBasisMap.m','MSDummyFeatureExtraction.m',...
'MSDummyMapModifier.m','MSLinearBasisMap.m','MSMzValuesMap.m',...
'MSNeuralNetFeatureExtraction.m','MSNeuralNetFeatureMap.m',...
'MSROCPicking.m'};
for i=1:length(featureExtraction)
featureExtraction{i} = ['FeatureExtraction/' featureExtraction{i}];
end
%%%% Helpers
helpers = {'MSROCRanking.m','MSResolveDataPath.m'};
for i=1:length(helpers)
helpers{i} = ['Helpers/' helpers{i}];
end
%%%% Preprocessing
preprocessing = {'MSPreprocessingTrigger.m','MSReduceTrigger.m',...
'MSNormalizationTrigger.m'};
for i=1:length(preprocessing)
preprocessing{i} = ['Preprocessing/' preprocessing{i}];
end
fileList = [coreFiles, studyFiles, classification, featureExtraction,...
helpers,preprocessing]';
%%
mkdir([targetPath 'Classification'])
mkdir([targetPath 'ClassificationValidation'])
mkdir([targetPath 'Core'])
mkdir([targetPath 'Preprocessing'])
mkdir([targetPath 'Helpers'])
mkdir([targetPath 'FeatureExtraction'])
mkdir([targetPath 'DataLoaders'])
for i=1:length(fileList)
copyfile([fullMSPath fileList{i}],[targetPath fileList{i}],'f')
end
%%
copyfile([fullMSPath 'DataLoaders/Load_Lung_Pancreas_BBA16.m'],...
[targetPath 'DataLoaders/Load_Lung_Pancreas.m'])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment