Framework to train and validate an artficial neural network (ANN) for the prediction of progression-free-survival (PFS) or overall survival (OS).
Elia Lombardo and Sebastian Marschner
Department of Radiation Oncology, LMU University Hospital, LMU Munich, Germany
Elia.Lombardo@med.uni-muenchen.de Sebastian.Marschner@med.uni-muenchen.de
- Download and unzip the repository to a local folder of your preference.
- Build a Docker image based on the provided
Dockerfileandrequirements.txtand run a container while mounting thechemo_outcome_predictionfolder. - Move your dataset excel file into the
datasubfolder.
- Open
chemo_outcome_prediction/code/config.pyand changepath_projectto the path inside the container wherechemo_outcome_predictionwas mounted. - Modify also other variables such as the excel filename of your data etc. as needed in
chemo_outcome_prediction/code/config.py. - Start a hyper-parameter grid search directly from the terminal by running for instance
bash main_grid_search.sh ANN OSorbash main_grid_search.sh ANN PFSfor training the ANN for PFS and OS, respectively. - Perfom inference by setting the endpoint and model in the
main_infer_ANN.pyscript.- Trained model weights for OS and PFS can be found under
chemo_outcome_prediction/results/training/ANN - SHAP explainability analysis included
- Trained model weights for OS and PFS can be found under
If you use this code in a scientific publication, please cite our paper: https:xxx