Giter Club home page Giter Club logo

survtrace's Introduction

SurvTRACE: Transformers for Survival Analysis with Competing Events

Citation of the paper:

@article{wang2021survtrace,
      title={Surv{TRACE}: Transformers for Survival Analysis with Competing Events}, 
      author={Zifeng Wang and Jimeng Sun},
      year={2021},
      eprint={2110.00855},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}

Link to the original's repo:

https://github.com/RyanWangZf/SurvTRACE

Dependency

easydict==1.9
scikit_survival==0.14.0
pandas==1.1.5
torchtuples==0.2.2
numpy==1.19.5
torch==1.9.1
matplotlib==3.3.4
pycox==0.2.2
scikit_learn

SUPPORT and METABRIC Download

Import metabric and support from pycox.datasets could directly generates the dataframe of dataset. Detail can be seen in both the notebooks and the run.py file.

Preprocessing/Training/Evaluation code

For baseline models, please refer to the jupyter notebooks. For SurvTRACE, simply run the run.py file. To change the dataset,you need to change the dataset in run.py. To change the lambda value and enable multi-task learning, please change the corresponding parameter in the survtrace/config file.

Table of Results

  1. The results on SUPPORT, with claimed results in bracket

  1. The results on METABRIC, with claimed results in bracket

survtrace's People

Contributors

ryanwangzf avatar junting98 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.