In this additional evaluation, we try to analyze the stepwise model performance influence of the Preprocessing and Data Augmentation step in our pipeline.
We utilize the same cross-validation sampling of the run_preprocessing.py script in order to ensure comparability.
The only differences are in the run_miscnn.py scripts which, now, do NOT feature the Preprocessing & Data Aug. steps and, therefore, their code lines are excluded.
Run the following commands:
python3 scripts/stepwise_performance/run_miscnn.noDA_noPreProc.py --fold 0
python3 scripts/stepwise_performance/run_miscnn.noDA_noPreProc.py --fold 1
python3 scripts/stepwise_performance/run_miscnn.noDA_noPreProc.py --fold 2
python3 scripts/stepwise_performance/run_miscnn.noDA_noPreProc.py --fold 3
python3 scripts/stepwise_performance/run_miscnn.noDA_noPreProc.py --fold 4
python3 scripts/run_evaluation.py
Rename the resulting evaluation directory.
mv evaluation/ evaluation.stepwise.noDA_noPP/
Run the following commands:
python3 scripts/stepwise_performance/run_miscnn.noDA.py --fold 0
python3 scripts/stepwise_performance/run_miscnn.noDA.py --fold 1
python3 scripts/stepwise_performance/run_miscnn.noDA.py --fold 2
python3 scripts/stepwise_performance/run_miscnn.noDA.py --fold 3
python3 scripts/stepwise_performance/run_miscnn.noDA.py --fold 4
python3 scripts/run_evaluation.py
Rename the resulting evaluation directory.
mv evaluation/ evaluation.stepwise.noDA/
Run the following commands:
python3 scripts/stepwise_performance/run_miscnn.noPreProc.py --fold 0
python3 scripts/stepwise_performance/run_miscnn.noPreProc.py --fold 1
python3 scripts/stepwise_performance/run_miscnn.noPreProc.py --fold 2
python3 scripts/stepwise_performance/run_miscnn.noPreProc.py --fold 3
python3 scripts/stepwise_performance/run_miscnn.noPreProc.py --fold 4
python3 scripts/run_evaluation.py
Rename the resulting evaluation directory.
mv evaluation/ evaluation.stepwise.noPP/
For running the stepwise performance evaluation, you have to modify the hardcoded pathes inside the following files:
- 'stepwise_fitting_evaluation.py'
- 'stepwise_performance_evaluation.py'
Afterwards, run the following commands:
Rscript scripts/stepwise_performance/stepwise_performance_evaluation.R
python3 scripts/stepwise_performance/stepwise_fitting_evaluation.py