TSF
TSF is a clinical & biomedical llms tool whose code is published by YonghaoZhao722 on GitHub, first public in 2024, described in Artificial Intelligence in Medicine (2026). Transfer Survival Forest transfers Random Survival Forest trees from a large source cohort and fine-tunes them on a small target sample for colorectal cancer prognosis (gains down to n=50; preprint arXiv:2501.12421).
| Category | Clinical & biomedical LLMs |
|---|---|
| Developer (GitHub) | YonghaoZhao722 |
| Input | Clinical survival features with time-to-event labels; demonstrated on colorectal cancer stage I |
| Task | Small-sample survival / prognosis |
| Interface | Python (conda env tsf); train_source_forest.py and target_forest_finetune.py, with 10-fold CV reporting Ctd, C-index, and integrated Brier score |
| GitHub | YonghaoZhao722/TSF |
| First public | 2024-06-15 (source) |
| Paper | https://doi.org/10.1016/j.artmed.2026.103426 · Artificial Intelligence in Medicine (2026) |
| Code license | MIT |
| Weights license | No separately released model weights are listed in the current repo or in GitHub Releases. |
| What this allows | Permissive (commercial OK) Use, modify and ship it inside closed-source commercial products; keep the license text and copyright notices. What do these mean? |
| License source | raw.githubusercontent.com/YonghaoZhao722/TSF/main/LICENSE · checked 2026-11-21 |
| Pricing | Open source |
| Tags | #survival-analysis#transfer-learning#random-survival-forest#cancer-prognosis |
| Last checked | · links verified |
Can I use TSF commercially?
Yes. The recorded license is permissive, so closed-source commercial use is allowed if you keep the notices.
- Code: MIT
- Weights: No separately released model weights are listed in the current repo or in GitHub Releases.
- Source: raw.githubusercontent.com/YonghaoZhao722/TSF/main/LICENSE · license checked 2026-11-21
What the license types mean · not legal advice.
Specs
| Modality | Clinical survival features with time-to-event labels; demonstrated on colorectal cancer stage I |
|---|---|
| Base model | Random Survival Forest with transferred tree structures fine-tuned on the target cohort (paper also evaluates transfer for DeepSurv, Cox-CC, and DeepHit) |
| Parameters | — |
| GitHub stars | 17 |
| Interface | Python (conda env tsf); train_source_forest.py and target_forest_finetune.py, with 10-fold CV reporting Ctd, C-index, and integrated Brier score |
Compare with…
Pick 1–3 other Clinical & biomedical LLMs tools to compare side by side with TSF.
Related
Generates reference-informed single-cell profiles from bulk RNA-seq for cancer survival prediction; on eight TCGA cohorts, average C-index improved versus a bulk-only baseline, while integrated Brier scores were mixed.
Pathology foundation model for cancer detection, tumor-origin and molecular-profile prediction and prognosis from whole slides.
Transformer pretrained on ~30M single-cell transcriptomes for network biology predictions.