Multisurv
Multimodal deep learning model for long-term cancer survival prediction
Install / Use
/learn @luisvalesilva/MultisurvREADME
This repository contains all code developed for the MultiSurv paper:
Long-term cancer survival prediction using multimodal deep learning | scientific reports
<br /><br />

<br /><br />
Usability note: This is experimental work, not a directly usable software library. The code was developed in the context of an academic research project, highly exploratory and iterative in nature. It is published here in the spirit of open science and reproducibility values.
<br /><br />
Using the code
This project was built using the Anaconda distribution of Python 3.6.8. To run a fresh copy of the code, clone this repository and use the Anaconda environment manager to create an environment (from the environment.yml file provided here) to install the MultiSurv code dependencies.
For instructions on how to create and use conda environments, please refer to the docs at conda.io.
Repo structure
The source code is found in the src directory. Higher-level or exploratory analyses,
as well as paper figures and tables, are typically run using Jupyter notebooks.
Non-exhaustive lists of links to some key parts of the project are found below.
Basic components
| Content | Code source | Description |
|---|---|---|
| Data preprocessing code | data directory | Separate Jupyter notebook files for different data modalities |
| MultiSurv model | multisurv.py | Pytorch model |
| MultiSurv training | model.py <br> Jupyter notebook | Python Class handling model training <br> Code to run training |
| MultiSurv evaluation | Jupyter notebook | Evaluation of trained models after loading weights |
| Baseline model evaluation | Jupyter notebook | Fit and evaluate baseline models |
Paper figures and tables
| Content | Files | Description |
|---|---|---|
| Table 1 - Unimodal data results | Jupyter notebook <br> Jupyter notebook <br> results.csv | Baseline model evaluation <br> MultiSurv evaluation <br> Result table |
| Table 2 - Multimodal data results | Jupyter notebook <br> results.csv | MultiSurv evaluation <br> Result table |
| Table 3 - Data summary | Jupyter notebook | Overview of the different data modalities |
| Fig. 1 - Model architecture | MultiSurv.png | Schematic overview of MultiSurv |
| Fig. 2 - Survival curves | Jupyter notebook | Predicted survival curves |
| Fig. 3 - Feature representations | Jupyter notebook | Feature representations and patient survival curves |
Code used to generate all additional material for the paper can be found in the figures_and_tables directory.
License
This project is licensed under the terms of the MIT license. See LICENSE file for details.
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
399Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
workshop-rules
Materials used to teach the summer camp <Data Science for Kids>
